List of usage examples for javax.swing JFrame subclass-usage
From source file Main.java
public class Main extends JFrame { Main(String title) { super(title); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
From source file MainClass.java
public class MainClass extends JFrame { MainClass(String title) { super(title); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
From source file MainClass.java
public class MainClass extends JFrame { public MainClass(String title) { super(title); setDefaultCloseOperation(EXIT_ON_CLOSE);
From source file Main.java
public class Main extends JFrame { public Main() { getContentPane().setLayout(new FlowLayout()); JPasswordField textField1 = new JPasswordField("m", 1);
From source file Main.java
public class Main extends JFrame { public Main() { // Create a text area with some initial text JTextArea textarea = new JTextArea("Initial Text");
From source file Main.java
public class Main extends JFrame { public Main() { super("JTextField Test"); getContentPane().setLayout(new FlowLayout());
From source file CheckBoxState.java
public class CheckBoxState extends JFrame { public CheckBoxState() { setSize(300, 300); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setLayout(new FlowLayout(FlowLayout.LEFT));
From source file Main.java
public class Main extends JFrame { public Main() { setSize(300, 300); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setLayout(new FlowLayout(FlowLayout.LEFT));
From source file CloseFrameAction.java
public class CloseFrameAction extends JFrame { public CloseFrameAction() { setTitle("CloseableFrame"); setSize(300, 200); addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) {
From source file Main.java
public class Main extends JFrame { public static void main(String[] a) { Main f = new Main(); f.setSize(300, 300); f.setVisible(true);