List of usage examples for javax.swing JFrame subclass-usage
From source file StringGraidentPaint.java
public class StringGraidentPaint extends JFrame { public StringGraidentPaint() { getContentPane().add(new DrawingCanvas()); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setSize(500, 500); setVisible(true);
From source file Main.java
public class Main extends JFrame { public Main() { setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JPanel p = new JPanel(); ImageIcon icon = new ImageIcon("r.gif");
From source file Main.java
public class Main extends JFrame implements ActionListener { static ProgressMonitor pbar = new ProgressMonitor(null, "Monitoring Progress", "Init. . .", 0, 100); static int counter = 0; public Main() { setSize(250, 100);
From source file Main.java
public class Main extends JFrame { public static void main(String args[]) { Main bnb = new Main(); bnb.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); bnb.createUI(); bnb.setVisible(true);
From source file MainClass.java
public class MainClass extends JFrame { MainClass(String title) { super(title); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JPanel jp = new JPanel();
From source file Main.java
public class Main extends JFrame { public Main() { setDefaultCloseOperation(EXIT_ON_CLOSE); String[] columns = { "Item", "Price" };
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 { 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 LabelDemo.java
public class LabelDemo extends JFrame { public LabelDemo() { super("JLabel Demo"); setSize(600, 100); JPanel content = new JPanel(new GridLayout(1, 4, 4, 4));
From source file Main.java
public class Main extends JFrame { public Main() { super("JLabel Demo"); setSize(600, 100); JPanel content = new JPanel(new GridLayout(1, 4, 4, 4));