List of usage examples for javax.swing JFrame subclass-usage
From source file Main.java
public class Main extends JFrame { private String textMessage = "Java Internationalization"; public Main() { super("TrueType Font Demonstration");
From source file TrueTypeTest.java
public class TrueTypeTest extends JFrame { private String textMessage = "Java Internationalization"; public TrueTypeTest() { super("TrueType Font Demonstration");
From source file Main.java
public class Main extends JFrame { public Main() { JTextField f = new JTextField(20); setLayout(new GridBagLayout());
From source file Main.java
public class Main extends JFrame { JComboBox<String> states; public Main() { super(); states = new JComboBox<String>(new String[] { "Select a State", "AL", "AK", "AZ", "AR", "CA", "CO", "CT",
From source file Main.java
public class Main extends JFrame { public Main() throws HeadlessException { setSize(150, 300); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setLayout(new FlowLayout());
From source file Main.java
public class Main extends JFrame { public Main() { super("Demonstrating FontMetrics"); setSize(510, 210);
From source file Main.java
public class Main extends javax.swing.JFrame { Image backgroundImage = Toolkit.getDefaultToolkit().getImage("mong.jpg"); public Main() throws IOException { this.setContentPane(new JPanel() { @Override
From source file Main.java
public class Main extends JFrame { public Main() { super("LayeredPane"); setSize(200, 150); setDefaultCloseOperation(EXIT_ON_CLOSE);
From source file Main.java
public class Main extends JFrame { public static void main(String args[]) { Main e = new Main(); e.setVisible(true); }
From source file Main.java
public class Main extends JFrame { JComponent comp = new JLabel("Test label"); public Main() { setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);