Inheritance diagram for QuerySegmentations::
Static Public Methods | |
void | main (String[] args) |
main is called when this is used as an application. More... | |
Protected Methods | |
boolean | buildSample (JFrame parent, JApplet applet, String[] args) |
|
main is called when this is used as an application. This function has to be overloaded in the "leaf node" application itself. Reimplemented from SampleApp.
00023 { 00024 QuerySegmentations app = new QuerySegmentations(); 00025 app.doMain(args); 00026 00027 // doMain will call buildSample 00028 } |
|
Reimplemented from SampleApp.
00031 { 00032 ErrorStreamArea err = new ErrorStreamArea(parent, 10, 80); 00033 00034 OutputStreamArea.println("Initializing CorbaMediator..."); 00035 initCorbaMediator(args); 00036 setAdvancedLookupManager(parent); 00037 00038 HxCorba.DatabaseSession session = openSession(parent); 00039 00040 OutputStreamArea.println("Building "+getSampleName()+" GUI..."); 00041 00042 QueryTreePanel qPanel = new QueryTreePanel(session); 00043 qPanel.setUser(new MyQueryUser(session)); 00044 00045 parent.getContentPane().add(qPanel); 00046 parent.pack();//setSize(500,400); 00047 parent.setLocation(100,100); 00048 00049 OutputStreamArea.println("Done."); 00050 00051 return true; 00052 } |