List of usage examples for javax.swing JFrame subclass-usage
From source file Main.java
public class Main extends JFrame { public static void main(String[] args) throws Exception { Main.createAndShowGUI(); }
From source file Main.java
public class Main extends JFrame { public static void main(String[] args) { SwingUtilities.invokeLater(new Runnable() { public void run() { Main mainForm = new Main(); mainForm.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
From source file Main.java
public class Main extends JFrame { public Main() { setSize(600, 300); String[] columnNames = { "A", "B", "C" }; Object[][] data = { { "M", "a", 2 }, { "J", "e", 4 }, { "M", "z", 6 } };
From source file Main.java
public class Main extends JFrame { public Main() { super(""); setSize(570, 400); getContentPane().setBackground(new Color(244, 232, 152));
From source file Main.java
public class Main extends JFrame { public Main() { JScrollPane scrollPane = new JScrollPane(); JTextPane textPane = new JTextPane(); scrollPane.setViewportView(textPane);
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);
From source file Main.java
public class Main extends JFrame { public Main() { final JTable table = new JTable(10, 5) { public boolean getScrollableTracksViewportWidth() { return getPreferredSize().width < getParent().getWidth(); }
From source file Main.java
public class Main extends JFrame { public Main() { JComboBox comboBox = new JComboBox(); ((JLabel) comboBox.getRenderer()).setHorizontalAlignment(JLabel.RIGHT);
From source file Main.java
public class Main extends javax.swing.JFrame { public Main() { setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); setSize(600, 600); }
From source file MainClass.java
public class MainClass extends JFrame { public MainClass(String title) { super(title); setDefaultCloseOperation(EXIT_ON_CLOSE);