/* * Applet.java * * Created on 11. červenec 2002, 15:29 */ /** * * @author Petr */ public class KulajdaApplet extends java.applet.Applet { /** Initializes the applet Applet */ 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 btRun = new java.awt.Button(); setLayout(new java.awt.BorderLayout()); btRun.setActionCommand("btRun"); btRun.setLabel("Spus\u0165 kalkula\u010dku"); btRun.setName("btRun"); btRun.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { btRunMouseClicked(evt); } }); add(btRun, java.awt.BorderLayout.CENTER); }//GEN-END:initComponents private void btRunMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_btRunMouseClicked new frmKulajda(1).show(); }//GEN-LAST:event_btRunMouseClicked // Variables declaration - do not modify//GEN-BEGIN:variables private java.awt.Button btRun; // End of variables declaration//GEN-END:variables }