List of usage examples for javax.swing JFrame subclass-usage
From source file FlowLayoutComponentOrientationRIGHT_TO_LEFT.java
public class FlowLayoutComponentOrientationRIGHT_TO_LEFT extends JFrame { public FlowLayoutComponentOrientationRIGHT_TO_LEFT() { getContentPane().setLayout(new FlowLayout()); getContentPane().add(new JButton("OK")); getContentPane().add(new JButton("Cancel"));
From source file Main.java
public class Main extends JFrame { private JTextArea t1 = new JTextArea("this is a test", 10, 15), t2; private JButton copy = new JButton("Copy >>>"); public Main() {
From source file Main.java
public class Main extends JFrame { public Main() { String[] items = { "Item1", "Item2", "Item3", "Item4", "Item5" }; JComboBox<String> comboBox = new JComboBox<>(items); add(comboBox);
From source file Main.java
public class Main extends JFrame { private JTextArea t1 = new JTextArea("this is a test", 10, 15), t2; private JButton copy = new JButton("Copy"); public Main() {
From source file Test.java
public class Test extends JFrame { public static void main(String[] argv) { Test window = new Test(); window.setVisible(true); }
From source file Main.java
public class Main extends JFrame {
JTextArea txtMain;
Main() {
setSize(500, 300);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
From source file Main.java
public class Main extends JFrame { public Main() { super("Month Spinner"); setSize(200, 100); setDefaultCloseOperation(EXIT_ON_CLOSE);
From source file Main.java
public class Main extends JFrame { public static void main(String[] args) { Console console = new Console(); console.init(); Main launcher = new Main(); launcher.setVisible(true);
From source file Main.java
public class Main extends JFrame { public Main() { this.setDefaultCloseOperation(EXIT_ON_CLOSE); this.setLayout(new GridBagLayout());
From source file MainClass.java
public class MainClass extends JFrame { public MainClass() { super("Month Spinner"); setSize(200, 100); setDefaultCloseOperation(EXIT_ON_CLOSE);