5 import java.awt.event.*;
7 public class GWebserviceInfo extends JPanel
9 protected JTextArea infoText = new JTextArea();
10 JScrollPane jScrollPane1 = new JScrollPane();
11 JScrollPane jScrollPane2 = new JScrollPane();
12 protected JTextArea progressText = new JTextArea();
13 JPanel jPanel1 = new JPanel();
14 BorderLayout borderLayout1 = new BorderLayout();
15 BorderLayout borderLayout2 = new BorderLayout();
16 protected JPanel titlePanel = new JPanel();
17 BorderLayout borderLayout3 = new BorderLayout();
18 JPanel jPanel2 = new JPanel();
19 protected JButton cancel = new JButton();
20 GridBagLayout gridBagLayout1 = new GridBagLayout();
22 public GWebserviceInfo()
33 private void jbInit() throws Exception
35 infoText.setFont(new java.awt.Font("Verdana", 0, 10));
36 infoText.setBorder(null);
37 infoText.setEditable(false);
39 infoText.setLineWrap(true);
40 infoText.setWrapStyleWord(true);
41 this.setLayout(borderLayout1);
42 progressText.setFont(new java.awt.Font("Verdana", 0, 10));
43 progressText.setBorder(null);
44 progressText.setEditable(false);
45 progressText.setText("");
46 progressText.setLineWrap(true);
47 progressText.setWrapStyleWord(true);
48 jPanel1.setLayout(borderLayout2);
49 titlePanel.setBackground(Color.white);
50 titlePanel.setPreferredSize(new Dimension(0, 60));
51 titlePanel.setLayout(borderLayout3);
52 jScrollPane2.setBorder(null);
53 jScrollPane1.setBorder(null);
54 jScrollPane1.setPreferredSize(new Dimension(400, 70));
55 cancel.setFont(new java.awt.Font("Verdana", 0, 11));
56 cancel.setText("Cancel");
57 cancel.addActionListener(new java.awt.event.ActionListener()
59 public void actionPerformed(ActionEvent e)
61 cancel_actionPerformed(e);
64 jPanel2.setLayout(gridBagLayout1);
65 jPanel2.setOpaque(false);
66 this.add(jScrollPane2, BorderLayout.CENTER);
67 this.add(jPanel1, BorderLayout.NORTH);
68 jPanel1.add(jScrollPane1, BorderLayout.CENTER);
69 jScrollPane1.getViewport().add(infoText, null);
70 jScrollPane2.getViewport().add(progressText, null);
71 jPanel1.add(titlePanel, BorderLayout.NORTH);
72 titlePanel.add(jPanel2, BorderLayout.EAST);
73 jPanel2.add(cancel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0
74 ,GridBagConstraints.SOUTH, GridBagConstraints.NONE, new Insets(24, 5, 21, 5), 0, 0));
77 protected void cancel_actionPerformed(ActionEvent e)