properties.logProperties(Log.TRACE, "UsrProps");  mainFrame = new MainFrame(); mainFrame.initComponents();
properties.logProperties(Log.LEVEL_TRACE, "UsrProps");  if (!Update.upgrade()) { mainFrame = new MainFrame(); mainFrame.initComponents(); } else { Log.shutdown(); System.exit(0); }
	private void run() {		try {			// For native Look and Feel, uncomment the following code.			/// *			try {				UIManager.setLookAndFeel( UIManager.getSystemLookAndFeelClassName() );			}			catch ( Exception e ) {			}			//* /						// log system properties			new GalleryProperties(System.getProperties()).logProperties(Log.INFO, "SysProps");						// log properties			properties.logProperties(Log.TRACE, "UsrProps");						mainFrame = new MainFrame();			mainFrame.initComponents();		}		catch ( Exception e ) {			Log.logException(Log.CRITICAL, "Startup", e);		}				Update update = new Update();		update.check( true );	}