List of usage examples for javax.swing JFrame subclass-usage
From source file MainClass.java
public class MainClass extends JFrame { public static void main(String[] a) { MainClass f = new MainClass(); f.setSize(300, 300); f.setVisible(true);
From source file Main.java
public class Main extends JFrame { public Main() { GraphicsEnvironment env = GraphicsEnvironment.getLocalGraphicsEnvironment(); this.setExtendedState(this.getExtendedState() | this.MAXIMIZED_BOTH); }
From source file Main.java
public class Main extends JFrame { public Main() { super(); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JComboBox jcb = new JComboBox(new String[] { "a", "b", "c", "d" });
From source file MainClass.java
public class MainClass extends JFrame { public MainClass() { JFileChooser fileChooser = new JFileChooser(); fileChooser.setDialogTitle("Choose a file"); this.getContentPane().add(fileChooser); fileChooser.setVisible(true);
From source file Main.java
public class Main extends JFrame { public Main() { setDefaultCloseOperation(EXIT_ON_CLOSE); enableEvents(java.awt.AWTEvent.WINDOW_EVENT_MASK); }
From source file Main.java
public class Main extends JFrame { public Main() { setDefaultCloseOperation(EXIT_ON_CLOSE); enableEvents(java.awt.AWTEvent.WINDOW_EVENT_MASK); }
From source file Main.java
public class Main extends JFrame { public Main() { setDefaultCloseOperation(EXIT_ON_CLOSE); enableEvents(java.awt.AWTEvent.WINDOW_EVENT_MASK); }
From source file Main.java
public class Main extends JFrame { public Main() { setDefaultCloseOperation(EXIT_ON_CLOSE); enableEvents(java.awt.AWTEvent.WINDOW_EVENT_MASK); }
From source file Main.java
public class Main extends JFrame { public Main() { setDefaultCloseOperation(EXIT_ON_CLOSE); enableEvents(java.awt.AWTEvent.WINDOW_EVENT_MASK); }
From source file Main.java
public class Main extends JFrame { public Main() { setDefaultCloseOperation(EXIT_ON_CLOSE); enableEvents(java.awt.AWTEvent.WINDOW_EVENT_MASK); }