/* * StickFigure.java * * Created on September 13, 2004, 1:31 PM */ /** * * @author wu_staff */ public class StickFigure extends java.applet.Applet { /** Initializes the applet StickFigure */ public void init() { initComponents(); } /** This method is called from within the init() method to * initialize the form. * WARNING: Do NOT modify this code. The content of this method is * always regenerated by the Form Editor. */ private void initComponents() {//GEN-BEGIN:initComponents button1 = new java.awt.Button(); setLayout(null); button1.setLabel("button1"); button1.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { button1ActionPerformed(evt); } }); add(button1); button1.setBounds(30, 20, 57, 24); }//GEN-END:initComponents private void button1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_button1ActionPerformed // TODO add your handling code here: }//GEN-LAST:event_button1ActionPerformed public static void paint(java.awt.Graphics g){ } // Variables declaration - do not modify//GEN-BEGIN:variables private java.awt.Button button1; // End of variables declaration//GEN-END:variables }