/** * A basic extension of the javax.swing.JApplet class */ public class JApplet1 extends JApplet { public void init() { // Take out this line if you don't use symantec.itools.net.RelativeURL or symantec.itools.awt.util.StatusScroller symantec.itools.lang.Context.setApplet(this);
// This line prevents the "Swing: checked access to system event queue" message seen in some browsers. getRootPane().putClientProperty("defeatSystemEventQueueCheck", Boolean.TRUE);
// This code is automatically generated by Visual Cafe when you add // components to the visual environment. It instantiates and initializes // the components. To modify the code, only use code syntax that matches // what Visual Cafe can generate, or Visual Cafe may be unable to back // parse your Java file into its visual environment. //{{INIT_CONTROLS getContentPane().setLayout(null); setSize(426,266); getContentPane().add(textArea1); textArea1.setBounds(12,12,304,217); getContentPane().add(tekstveld); tekstveld.setBounds(12,240,302,20); button1.setLabel("button"); getContentPane().add(button1); button1.setBackground(java.awt.Color.lightGray); button1.setBounds(324,12,94,28); button2.setLabel("button"); getContentPane().add(button2); button2.setBackground(java.awt.Color.lightGray); button2.setBounds(324,48,87,29); //}}