예제 #1
0
 protected final void doActionPerformed() {
   sqlShell = new SQLShell();
   ApplicationContext.getDefaultMainFrame()
       .getJDesktopPane()
       .add(sqlShell, DefaultMainFrame.PROPERTY_LAYER);
   sqlShell.setVisible(true);
   sqlShell.setSize(600, 400);
 }
예제 #2
0
 public void activeConnectionChanged(ConnectionMessage cm) {
   setEnabled(cm != null);
   if (cm != null && sqlShell != null) {
     sqlShell.setConnection(cm);
   }
 }