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 RootExample3.java

public class RootExample3 extends JFrame {
    public RootExample3() {
        super("RootPane Menu Demo");
        setSize(220, 100);
        setDefaultCloseOperation(EXIT_ON_CLOSE);

From source file Main.java

public class Main extends JFrame {
    public Main() {
        setSize(250, 200);
        centerFrame();
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }

From source file Main.java

public class Main extends JFrame {

    public static void main(String[] args) {
        new Main().setVisible(true);
    }

From source file DragDropText.java

public class DragDropText extends JFrame {

    public static void main(String[] args) {
        new DragDropText().setVisible(true);
    }

From source file TrueTypeJokerman.java

public class TrueTypeJokerman extends JFrame {

    private String textMessage = "Java Internationalization";

    public TrueTypeJokerman() {
        GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();

From source file Main.java

public class Main extends JFrame {
    public static void main(String[] args) {
        Main app = new Main();
        app.setDefaultCloseOperation(EXIT_ON_CLOSE);
        app.setVisible(true);
    }

From source file MovingWindow.java

public class MovingWindow extends JFrame implements ComponentListener {
    public MovingWindow() {
        addComponentListener(this);
        setSize(310, 200);
        setLocationRelativeTo(null);
        setDefaultCloseOperation(EXIT_ON_CLOSE);

From source file Main.java

public class Main extends JFrame implements MouseListener {
    public static void main(String[] args) {
        Main frame = new Main();
        frame.setVisible(true);
        frame.setSize(200, 200);
        frame.setExtendedState(JFrame.MAXIMIZED_BOTH);

From source file Main.java

public class Main extends JFrame {

    private JTabbedPane tabbedPane;

    public Main() {
        tabbedPane = new JTabbedPane();

From source file Main.java

public class Main extends JFrame {
    public Main() {
        setSize(200, 150);
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        JLayeredPane lp = getLayeredPane();
        JButton top = new JButton();