/** * URLKoppling1.java * * Created on den 30 augusti 2001, 17:39 */ package ip1.u2; /** * * @author Henrik Johansson */ public class URLKoppling1 extends javax.swing.JFrame { /** Skapar en ny URLKoppling1. innehåller som enda komponent en WebPane */ public URLKoppling1() { initComponents(); this.setSize(640,480); } /** This method is called from within the constructor 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 webPane3 = new ip1.u2.WebPane(); addWindowListener(new java.awt.event.WindowAdapter() { public void windowClosing(java.awt.event.WindowEvent evt) { exitForm(evt); } }); getContentPane().add(webPane3, java.awt.BorderLayout.CENTER); pack(); }//GEN-END:initComponents /** Exit the Application */ private void exitForm(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_exitForm System.exit(0); }//GEN-LAST:event_exitForm // mainmetoden, skapar en ny instans av denna klass public static void main(String args[]) { new URLKoppling1().show(); } // Variables declaration - do not modify//GEN-BEGIN:variables private ip1.u2.WebPane webPane3; // End of variables declaration//GEN-END:variables }