{
this.fMain = new Frame("HSQL Database Manager");
this.imgEmpty = createImage(new MemoryImageSource(2, 2, new int[16], 2, 2));
this.fMain.setIconImage(this.imgEmpty);
this.fMain.addWindowListener(this);
MenuBar localMenuBar = new MenuBar();
String[] arrayOfString1 = { "-Connect...", "--", "-Open Script...", "-Save Script...", "-Save Result...", "-Save Result csv...", "--", "-Exit" };
addMenu(localMenuBar, "File", arrayOfString1);
String[] arrayOfString2 = { "RRefresh Tree", "--", "GResults in Grid", "TResults in Text", "--", "1Shrink Tree", "2Enlarge Tree", "3Shrink Command", "4Enlarge Command" };
addMenu(localMenuBar, "View", arrayOfString2);
String[] arrayOfString3 = { "SSELECT", "IINSERT", "UUPDATE", "DDELETE", "--", "-CREATE TABLE", "-DROP TABLE", "-CREATE INDEX", "-DROP INDEX", "--", "-CHECKPOINT", "-SCRIPT", "-SET", "-SHUTDOWN", "--", "-Test Script" };
addMenu(localMenuBar, "Command", arrayOfString3);
Menu localMenu1 = new Menu("Recent");
this.mRecent = new Menu("Recent");
localMenuBar.add(this.mRecent);
String[] arrayOfString4 = { "-AutoCommit on", "-AutoCommit off", "OCommit", "LRollback", "--", "-Disable MaxRows", "-Set MaxRows to 100", "--", "-Logging on", "-Logging off", "--", "-Insert test data" };
addMenu(localMenuBar, "Options", arrayOfString4);
String[] arrayOfString5 = { "-Dump", "-Restore", "-Transfer" };
addMenu(localMenuBar, "Tools", arrayOfString5);
Menu localMenu2 = new Menu("Help");