List of usage examples for javax.swing JApplet subclass-usage
From source file FilledGeneralPath.java
public class FilledGeneralPath extends JApplet { public void init() { setBackground(Color.white); setForeground(Color.white); }
From source file Popup.java
public class Popup extends JApplet { private JPopupMenu popup = new JPopupMenu(); private JTextField t = new JTextField(10); public void init() {
From source file IconPaint.java
public class IconPaint extends JApplet { static String iconFile = "largeJava2sLogo.gif"; public void init() { Image starry = getImage(getURL(iconFile)); IconPanel starPanel = new IconPanel(starry);
From source file AppletJDBCDrop.java
public class AppletJDBCDrop extends JApplet implements ActionListener { private Connection connection; private JList tableList;
From source file DynamicEvents.java
public class DynamicEvents extends JApplet { private java.util.List list = new ArrayList(); private int i = 0; private JButton b1 = new JButton("Button1"), b2 = new JButton("Button2");
From source file JScrollPanes.java
public class JScrollPanes extends JApplet { private JButton b1 = new JButton("Text Area 1"), b2 = new JButton("Text Area 2"), b3 = new JButton("Replace Text"), b4 = new JButton("Insert Text"); private JTextArea t1 = new JTextArea("t1", 1, 20), t2 = new JTextArea("t2", 4, 20), t3 = new JTextArea("t3", 1, 20), t4 = new JTextArea("t4", 10, 10), t5 = new JTextArea("t5", 4, 20),
From source file List.java
public class List extends JApplet { private String[] flavors = { "Chocolate", "Strawberry", "Vanilla Fudge Swirl", "Mint Chip", "Mocha Almond Fudge", "Rum Raisin", "Praline Cream", "Mud Pie" }; private DefaultListModel lItems = new DefaultListModel();
From source file ShowAddListeners.java
public class ShowAddListeners extends JApplet { private JTextField name = new JTextField(25); private JTextArea results = new JTextArea(40, 65); private static Pattern addListener = Pattern.compile("(add\\w+?Listener\\(.*?\\))");
From source file TArea.java
public class TArea extends JApplet implements ActionListener { DrawingCanvas canvas; JRadioButton addButton, subtractButton, intersectButton, exclusiveORButton, resetButton; public static void main(String[] a) {
From source file Composite.java
public class Composite extends JApplet implements ItemListener { CompPanel comp; JLabel alphaLabel = new JLabel("Alphas"); JLabel rulesLabel = new JLabel("Rules");