List of usage examples for javax.swing JApplet subclass-usage
From source file ManyGeneralPath.java
public class ManyGeneralPath extends JApplet { DrawingCanvas canvas; public static void main(String[] a) { JFrame f = new JFrame(); ManyGeneralPath path = new ManyGeneralPath();
From source file SimpleMenus.java
public class SimpleMenus extends JApplet { private JTextField t = new JTextField(15); private ActionListener al = new ActionListener() { public void actionPerformed(ActionEvent e) { t.setText(((JMenuItem) e.getSource()).getText());
From source file TabbedPane1.java
public class TabbedPane1 extends JApplet { private String[] flavors = { "Chocolate", "Strawberry", "Vanilla Fudge Swirl", "Mint Chip", "Mocha Almond Fudge", "Rum Raisin", "Praline Cream", "Mud Pie" }; private JTabbedPane tabs = new JTabbedPane();
From source file SwingCheckBoxes.java
public class SwingCheckBoxes extends JApplet { private JTextArea t = new JTextArea(6, 15); private JCheckBox cb1 = new JCheckBox("Check Box 1"), cb2 = new JCheckBox("Check Box 2"), cb3 = new JCheckBox("Check Box 3");
From source file ComboBoxes.java
public class ComboBoxes extends JApplet { private String[] description = { "Ebullient", "Obtuse", "Recalcitrant", "Brilliant", "Somnescent", "Timorous", "Florid", "Putrescent" }; private JTextField t = new JTextField(15);
From source file SwingRadioButtons.java
public class SwingRadioButtons extends JApplet { private JTextField t = new JTextField(15); private ButtonGroup g = new ButtonGroup(); private JRadioButton rb1 = new JRadioButton("one", false), rb2 = new JRadioButton("two", false),
From source file Faces.java
public class Faces extends JApplet { private static Icon[] faces; private JButton jb, jb2 = new JButton("Disable"); private boolean mad = false;
From source file FontPaint.java
public class FontPaint extends JApplet { public void init() { FontPanel fontPanel = new FontPanel(); getContentPane().add(fontPanel, BorderLayout.CENTER); }
From source file LineDemo2D.java
public class LineDemo2D extends JApplet { public void init() { setBackground(Color.white); setForeground(Color.white); }
From source file FilledArc.java
public class FilledArc extends JApplet { public void init() { setBackground(Color.white); setForeground(Color.white); }