List of usage examples for javax.swing JFrame subclass-usage
From source file EtchedBorderBorderFactory.java
public class EtchedBorderBorderFactory extends JFrame { public EtchedBorderBorderFactory() { setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JPanel panel = new JPanel(); JLabel label;
From source file EmptyBorderForLabel.java
public class EmptyBorderForLabel extends JFrame { public EmptyBorderForLabel() { setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JPanel panel = new JPanel(); JLabel label;
From source file Main.java
public class Main extends JFrame { public static void main(String args[]) { JWindow window = new JWindow(); window.getContentPane().add(new JLabel("Loading", SwingConstants.CENTER)); window.setBounds(500, 150, 300, 200); window.setVisible(true);
From source file ColorVariousObjects.java
public class ColorVariousObjects extends JFrame { public static void main(String[] a) { ColorVariousObjects f = new ColorVariousObjects(); f.setSize(300, 300); f.setVisible(true);
From source file GridTest.java
public class GridTest extends JFrame { public static void main(String[] args) { int rows = 2; int cols = 3; GridTest gt = new GridTest(rows, cols);
From source file Main.java
public class Main extends JFrame { public Main() { setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setSize(600, 600); }
From source file FramewithAboutMenu.java
public class FramewithAboutMenu extends JFrame { public FramewithAboutMenu(String title) { JMenuBar menuBar = new JMenuBar(); setTitle(title); setJMenuBar(menuBar); setDefaultCloseOperation(EXIT_ON_CLOSE);
From source file JTextAreaI18N.java
public class JTextAreaI18N extends JFrame { String davidMessage = "\u05E9\u05DC\u05D5\u05DD \u05E2\u05D5\u05DC\u05DD"; public JTextAreaI18N() { GraphicsEnvironment.getLocalGraphicsEnvironment();
From source file Main.java
public class Main extends JFrame { JPanel contentPane = new JPanel(); JButton fullscreenButton = new JButton("Fullscreen Mode"); boolean fullScreen = false; int PrevX, PrevY, PrevWidth, PrevHeight;
From source file MainClass.java
public class MainClass extends JFrame { JScrollPane scrollpane; public MainClass() { super("JScrollPane Demonstration");