ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/conient/uk/org/iscream/cms/conient/HostDisplayPanel.java
(Generate patch)

Comparing projects/cms/source/conient/uk/org/iscream/cms/conient/HostDisplayPanel.java (file contents):
Revision 1.35 by ajm, Mon Mar 19 02:49:45 2001 UTC vs.
Revision 1.36 by ajm, Mon Mar 19 03:31:41 2001 UTC

# Line 131 | Line 131 | public class HostDisplayPanel extends JPanel {
131          } catch (NumberFormatException e) {
132              throw new NumberFormatException("unable to obtain a valid value for Host.UDP/TCPUpdateTime");
133          }
134 <        _north.setLayout(new BoxLayout(_north, BoxLayout.Y_AXIS));
135 <        _north.add(new JLabel("Showing data from - " + hostName, JLabel.LEFT));
136 <        Box top = Box.createHorizontalBox();
137 <        top.add(_dataTimer);
138 <        top.add(Box.createGlue());
139 <        top.add(info);
140 <        top.add(Box.createGlue());
141 <        top.add(_heartbeatTimer);
142 <        _north.add(top);
134 >        _north.setLayout(new GridLayout(2,1));
135 >        JPanel top1 = new JPanel(new GridLayout(1,1));
136 >        top1.add(new JLabel("Showing data from - " + hostName, JLabel.CENTER));
137 >        _north.add(top1);
138 >        JPanel top2 = new JPanel(new GridLayout(1,3));
139 >        top2.add(_dataTimer);
140 >        top2.add(info);
141 >        top2.add(_heartbeatTimer);
142 >        _north.add(top2);
143 >
144  
145          JPanel date = new JPanel();
146          addVisibleDataComponent(date, new DateDataComponent("Host Time", "packet.attributes.date"));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines