Example #1
0
 private void showIDE(boolean show) {
   SikuliIDE.getInstance().setVisible(show);
   if (show) {
     addMinComponentsToPane(mainPane);
   } else {
     addMinComponentsToPane(minPane);
     Container con = minFrame.getContentPane();
     con.add(minPane);
     minFrame.doLayout();
   }
   minFrame.setVisible(!show);
 }
Example #2
0
 private void initMinFrame() {
   minFrame = new JFrame("Sikuli Test");
   minFrame.setAlwaysOnTop(true);
   minFrame.setSize(255, 85);
   minFrame.getRootPane().putClientProperty("Window.alpha", new Float(0.7f));
   /*
   Container con = minFrame.getContentPane();
   con.add(minPane);
   minFrame.doLayout();
   minFrame.setVisible(true);
   */
 }