List of usage examples for javax.swing JFrame subclass-usage
From source file GetValueAtLogic.java
public class GetValueAtLogic extends JFrame { public GetValueAtLogic() { JTable table = new JTable(new CoordinateTableModel()); getContentPane().add(new JScrollPane(table), BorderLayout.CENTER); pack(); }
From source file Main.java
public class Main extends JFrame { Main() { add(new ContentPanel()); setSize(500, 300); }
From source file Main.java
public class Main extends JFrame implements ComponentListener { public Main() { addComponentListener(this); } public void componentHidden(ComponentEvent e) {
From source file Main.java
public class Main extends JFrame { ButtonGroup genderGroup = new ButtonGroup(); JRadioButton genderMale = new JRadioButton("Male"); JRadioButton genderFemale = new JRadioButton("Female"); JRadioButton genderUnknown = new JRadioButton("Unknown");
From source file Main.java
public class Main extends JFrame { public Main() { setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); String items[] = { "A", "B", "C", "D" };
From source file Main.java
public class Main extends JFrame { JLabel nameLabel = new JLabel("Name:"); JLabel mirroredNameLabel = new JLabel("Mirrored:"); JTextField name = new JTextField(20); JTextField mirroredName = new JTextField(20);
From source file Main.java
public class Main extends JFrame { public Main() { JPanel parentPanel = new JPanel(); parentPanel.setLayout(new BorderLayout(10, 10)); JPanel childPanel1 = new JPanel();
From source file MainClass.java
public class MainClass extends JFrame { public MainClass() { getContentPane().add(new DrawingCanvas()); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setSize(500, 500); setVisible(true);
From source file Main.java
public class Main extends JFrame { public static void main(String[] args) { Main t = new Main(); t.setSize(500, 500); Container bg = t.getContentPane(); t.createJEditorPane(bg, bg.getSize());
From source file Main.java
public class Main extends JFrame { JTabbedPane tabbedPane = new JTabbedPane(); public Main() { tabbedPane.setPreferredSize(new Dimension(300, 200)); getContentPane().add(tabbedPane);