/* * Cannot_Locate_IP_Address_Error_Window.java * * Created on October 23, 2003, 7:07 PM */ /** * * @author Tyler Vodak */ public class Cannot_Locate_IP_Address_Error_Window extends javax.swing.JFrame { /** Creates new form Cannot_Locate_IP_Address_Error_Window */ public Cannot_Locate_IP_Address_Error_Window() { initComponents(); } /** 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 jOptionPane1 = new javax.swing.JOptionPane(); setTitle("Cannot Locate IP Address"); addWindowListener(new java.awt.event.WindowAdapter() { public void windowClosing(java.awt.event.WindowEvent evt) { exitForm(evt); } }); jOptionPane1.setMessage("Cannot locate IP Address specified. Check if IP address is entered correctly."); getContentPane().add(jOptionPane1, 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 /** * @param args the command line arguments */ public static void main(String args[]) { new Cannot_Locate_IP_Address_Error_Window().show(); } // Variables declaration - do not modify//GEN-BEGIN:variables private javax.swing.JOptionPane jOptionPane1; // End of variables declaration//GEN-END:variables }