106 |
|
bottom.add(messagesPane, "Center"); |
107 |
|
JPanel statusPanel = new JPanel(); |
108 |
|
JPanel linkPanel = new JPanel(); |
109 |
< |
linkPanel.setLayout(new GridLayout(2,1)); |
109 |
> |
linkPanel.setLayout(new GridLayout(1,2)); |
110 |
|
linkPanel.add(_controlStatus); |
111 |
|
linkPanel.add(_dataStatus); |
112 |
< |
statusPanel.setLayout(new GridLayout(1,3)); |
112 |
> |
statusPanel.setLayout(new GridLayout(2,1)); |
113 |
|
statusPanel.add(linkPanel); |
114 |
|
statusPanel.add(_queueStatus); |
115 |
|
bottom.add(statusPanel, "South"); |
117 |
|
// add the status panel to the bottom border |
118 |
|
getContentPane().add(bottom, "South"); |
119 |
|
|
120 |
+ |
// a nice icon for the window |
121 |
+ |
setIconImage((new ImageIcon("./uk/ac/ukc/iscream/conient/server.gif")).getImage()); |
122 |
|
// show the window |
123 |
|
show(); |
124 |
|
} |