List of usage examples for javax.swing JFrame subclass-usage
From source file Main.java
public class Main extends JFrame { public Main() { setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JMenuBar bar = new JMenuBar(); JMenu menu = new JMenu("File"); ComponentOrientation ori = ComponentOrientation.LEFT_TO_RIGHT;
From source file Main.java
public class Main extends JFrame { public Main() { setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JMenuBar bar = new JMenuBar(); JMenu menu = new JMenu("File"); ComponentOrientation ori = ComponentOrientation.LEFT_TO_RIGHT;
From source file TableRowSorterWithHeader.java
public class TableRowSorterWithHeader extends JFrame { public TableRowSorterWithHeader() { setDefaultCloseOperation(EXIT_ON_CLOSE); String[] columns = { "Item", "Price" };
From source file Main.java
public class Main extends JFrame { public Main() { setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JMenuBar bar = new JMenuBar(); JMenu menu = new JMenu("File"); ComponentOrientation ori = ComponentOrientation.LEFT_TO_RIGHT;
From source file Main.java
public class Main extends JFrame { public Main() { setLayout(new GridBagLayout()); GridBagConstraints gbc = new GridBagConstraints(); JPanel panel1 = new JPanel();
From source file Main.java
public class Main extends JFrame { public Main() { setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JMenuBar bar = new JMenuBar(); JMenu menu = new JMenu("File"); ComponentOrientation ori = ComponentOrientation.LEFT_TO_RIGHT;
From source file Main.java
public class Main extends JFrame implements WindowFocusListener { static Main frame = new Main("WindowEventDemo"); JTextArea display; public static void main(String[] args) { frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
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 Test.java
public class Test extends JFrame { public static void main(String[] argv) { Test window = new Test(); window.setVisible(true); }
From source file AddingDropDownMenus.java
public class AddingDropDownMenus extends JFrame { private JMenuBar menuBar = new JMenuBar(); // Window menu bar private JMenuItem newItem, openItem, closeItem, saveItem, saveAsItem, printItem; private JRadioButtonMenuItem lineItem, rectangleItem, circleItem; private JCheckBoxMenuItem redItem, yellowItem;