118 |
|
|
119 |
addChannelsPane(mainPane.getChannelsPane()); |
addChannelsPane(mainPane.getChannelsPane()); |
120 |
|
|
121 |
JScrollPane sp = new JScrollPane(createRightPane()); |
JPanel rp = createRightPane(); |
|
sp.setBorder(BorderFactory.createEmptyBorder()); |
|
122 |
|
|
123 |
hSplitPane = new JSplitPane ( |
hSplitPane = new JSplitPane ( |
124 |
JSplitPane.HORIZONTAL_SPLIT, |
JSplitPane.HORIZONTAL_SPLIT, |
125 |
true, // continuousLayout |
true, // continuousLayout |
126 |
sidePane, sp |
sidePane, rp |
127 |
); |
); |
128 |
|
|
129 |
getContentPane().add(hSplitPane); |
getContentPane().add(hSplitPane); |
144 |
|
|
145 |
c.fill = GridBagConstraints.BOTH; |
c.fill = GridBagConstraints.BOTH; |
146 |
|
|
147 |
|
JScrollPane sp = new JScrollPane(devicesPane); |
148 |
|
sp.setBorder(BorderFactory.createEmptyBorder()); |
149 |
|
|
150 |
c.gridx = 1; |
c.gridx = 1; |
151 |
c.gridy = 0; |
c.gridy = 0; |
152 |
c.weightx = 1.0; |
c.weightx = 1.0; |
153 |
c.weighty = 1.0; |
c.weighty = 1.0; |
154 |
c.insets = new Insets(0, 3, 3, 0); |
c.insets = new Insets(0, 3, 3, 0); |
155 |
gridbag.setConstraints(devicesPane, c); |
gridbag.setConstraints(sp, c); |
156 |
p.add(devicesPane); |
p.add(sp); |
157 |
|
|
158 |
c.gridx = 0; |
c.gridx = 0; |
159 |
c.gridy = 0; |
c.gridy = 0; |