/// <summary> /// This method is called from within the constructor to /// initialize the form. /// </summary> /// <remarks> /// 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. /// </remarks> private void InitComponents() { //GEN-BEGIN:initComponents jPanel1 = new JPanel(); jLabel2 = new JLabel(); jPanel3 = new JPanel(); jLabel1 = new JLabel(); urlTextField = new JTextField(); jPanel2 = new JPanel(); openButton = new JButton(); cancelButton = new JButton(); browseButton = new JButton(); AddWindowListener(new _WindowAdapter_96(this)); jPanel1.SetLayout(new BoxLayout(jPanel1, BoxLayout.YAxis)); jLabel2.SetText("Type in the internet address of a document or web page."); jPanel1.Add(jLabel2); jLabel1.SetText("Open"); jPanel3.Add(jLabel1); urlTextField.SetMinimumSize(new Dimension(100, 20)); urlTextField.SetPreferredSize(new Dimension(300, 20)); urlTextField.GetDocument().AddDocumentListener(new _IDocumentListener_113(this)); urlTextField.AddActionListener(null); jPanel3.Add(urlTextField); jPanel1.Add(jPanel3); GetContentPane().Add(jPanel1, BorderLayout.North); openButton.SetText("Open"); openButton.SetEnabled(false); openButton.AddActionListener(null); jPanel2.Add(openButton); cancelButton.SetText("Cancel"); cancelButton.AddActionListener(null); jPanel2.Add(cancelButton); browseButton.SetText("Browse"); browseButton.AddActionListener(null); jPanel2.Add(browseButton); GetContentPane().Add(jPanel2, BorderLayout.South); Pack(); }