34 |
|
public QueueFrame() { |
35 |
|
super("Server Queue Status"); |
36 |
|
//addVisibleDataComponent(_conent, new StringDataComponent("Host Name", "packet.attributes.machine_name")); |
37 |
< |
JScrollPane scrollPane = new JScrollPane(_content); |
37 |
> |
JScrollPane scrollPane = new JScrollPane(_content,JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED , JScrollPane.HORIZONTAL_SCROLLBAR_NEVER); |
38 |
|
getContentPane().add(scrollPane, "Center"); |
39 |
|
JButton close = new JButton("Close Window"); |
40 |
|
close.addActionListener(new ActionListener() { |