Beispiel #1
0
  public static void main(String[] args) {
    try {
      UIManager.setLookAndFeel(TestManager.getLookAndFeelClassName());
    } catch (Exception e) {

    }

    JFrame f = new JFrame("Inbox (1 message)");
    f.getContentPane().add(new SplitPaneTest2());
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    f.setSize(600, 400);
    f.setVisible(true);
  }
Beispiel #2
0
  public static void main(String[] args) {
    try {
      UIManager.setLookAndFeel(TestManager.getQuaquaLookAndFeelClassName());
    } catch (Exception ex) {
      Logger.getLogger(NonEDTTest.class.getName()).log(Level.SEVERE, null, ex);
    }

    JFileChooser fc = new JFileChooser();

    JFrame f = new JFrame("NonEDTest");
    f.getContentPane().add(fc);
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    f.pack();
    f.setVisible(true);
  }