Example usage for javax.swing JFrame subclass-usage

List of usage examples for javax.swing JFrame subclass-usage

Introduction

In this page you can find the example usage for javax.swing JFrame subclass-usage.

Usage

From source file Figure3.java

public class Figure3 extends JFrame {
    private JDesktopPane desk;

    public Figure3(String title) {
        super(title);
        setDefaultCloseOperation(EXIT_ON_CLOSE);

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 {
    private JPanel pan;

    public Main() {

        GridLayout g = new GridLayout(3, 3);

From source file Main.java

public class Main extends JFrame {

    private JPanel panel = new JPanel();
    private JLabel label = new JLabel("Your Label");
    private JTextArea input = new JTextArea("Enter message");

From source file Main.java

public class Main extends JFrame {
    JLabel label;
    JComboBox combo;

    public static void main(String args[]) {
        new Main();

From source file Crop.java

public class Crop extends JFrame {

    Image image;

    Insets insets;

From source file Main.java

public class Main extends JFrame implements ActionListener {
    JButton showDialog = new JButton("show dialog");

    public Main() {
        setLayout(new FlowLayout());
        showDialog.addActionListener(this);

From source file Draw2DTextLayout.java

public class Draw2DTextLayout extends JFrame {

    public static void main(String args[]) {
        Draw2DTextLayout app = new Draw2DTextLayout();
    }

From source file Main.java

public class Main extends JFrame {
    DefaultTableModel model = new DefaultTableModel(new Object[][] { { "some", "text" }, { "any", "text" },
            { "even", "more" }, { "text", "strings" }, { "and", "other" }, { "text", "values" } },
            new Object[] { "Column 1", "Column 2" });

    public Main() {

From source file Main.java

public class Main extends JFrame {
    Main() {
        add(BorderLayout.CENTER, new ImagePanel());
        setSize(800, 150);
    }