I am using a BorderLayout for two components: a JLabel at "EAST" and a JList at WEST. The JLabel was constructed with an ImageIcon. The problem is that the resulting JLabel is very wide. on Windows 98 SE clients, the contentPane gives 50% space to the "East" component and 50% space to the "West" component.
On a Windows Millenium Edition client machine, the content pane uses almost all the space for "east" component, (the JLabel with the image) and only 1% to the JList. Just the very thin edge of the JList is displayed.
I have looked for methods in the various objects whereby I might restrict the size or display of a given component but so far, have not found anything to help out with this problem.
Any suggestions?
i.e. I need to keep my <
applet> tags width parameter setting the way it is which restricts the overall size of the applet display.