List of usage examples for javax.swing JFrame subclass-usage
From source file Main.java
public class Main extends JFrame { private JLabel jLabelOne = new JLabel(); private JLabel jLabelTwo = new JLabel(); private JPanel panel = new JPanel(); private BoxLayout boxLayout = new BoxLayout(panel, BoxLayout.Y_AXIS);
From source file Main.java
public class Main extends JFrame { public Main() { setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setLocationByPlatform(true); JEditorPane editPane = new JEditorPane();
From source file Main.java
public class Main extends JFrame { public Main() { setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE); addWindowListener(new WindowAdapter() { public void windowOpened(WindowEvent e) { }
From source file MyFrame.java
class MyFrame extends JFrame { JTextField field1; public MyFrame() { field1 = new JTextField(10);
From source file DrawStringI18N.java
public class DrawStringI18N extends JFrame { public void paint(Graphics g) { Graphics2D graphics2D = (Graphics2D) g; GraphicsEnvironment.getLocalGraphicsEnvironment(); graphics2D.setFont(new Font("LucidaSans", Font.PLAIN, 40));
From source file Main.java
public class Main extends JFrame { JPasswordField field = new JPasswordField("*", 10); public Main() { setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
From source file JCheckBoxCustomIcon.java
public class JCheckBoxCustomIcon extends JFrame { public JCheckBoxCustomIcon() { setSize(300, 300); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setLayout(new FlowLayout(FlowLayout.LEFT));
From source file Main.java
public class Main extends JFrame { public Main() { setSize(300, 300); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setLayout(new FlowLayout(FlowLayout.LEFT));
From source file Main.java
public class Main extends JFrame { public Main() { setSize(200, 200); setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE); addWindowListener(new WindowAdapter() { @Override
From source file CheckBox.java
public class CheckBox extends JFrame implements ActionListener { public CheckBox() { JCheckBox checkbox = new JCheckBox("Show Title", true); checkbox.addActionListener(this); add(checkbox);