# | Line 256 | Line 256 | public class HostDisplayPanel extends JPanel { | |
---|---|---|
256 | gridbag.setConstraints(_extra, c); | |
257 | _center.add(_extra); | |
258 | } | |
259 | + | |
260 | + | // a bit of a gap, then a banner to advertise the product |
261 | + | c.gridy=17; |
262 | + | Component spacer = Box.createRigidArea(new Dimension(468, 30)); |
263 | + | gridbag.setConstraints(spacer,c); |
264 | + | _center.add(spacer); |
265 | + | c.gridy=18; |
266 | + | JLabel image = new JLabel(new ImageIcon("./resources/banner3.gif")); |
267 | + | gridbag.setConstraints(image,c); |
268 | + | _center.add(image); |
269 | } | |
270 | ||
271 | //---PUBLIC METHODS--- |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |