Once again i am wasting time building Java GUIs and have hit a problem that I need guidance on.
The structure of my GUI is as follows.
The main frame is JFrame which has BorderLayout and contains a TabbedPanel.
The tabbedPanel contains many JPanels - one for each tab.
These JPanels contain two separate Components using BorderLayout manager (CENTER and LINE_END).
The first component (CENTER) is a JScrollPanel which contains the actual JPanel on which an image is loaded / drawn.
The second component just contains one or two buttons.
Even when the image is much larger than the visible area, the scroll panel doesnt scroll.
My attempts so far
I've followed the examples on the sun site pretty much excalty for the JPanel which hold the image and the JScrollPanel. I feel external forces of other components might be affecting it somehow.
I've tried setting every (size related settings) for both the image panel and the scroll panel but with no result.
Begging my computer.
Running the sun example on my computer is fine so none of my JRE isnt corrupted.
Thanks for your time, my code is available via email should someone be kind enough to take a personl look at it.