posted 8 years ago
I have a `JFrame` with three areas:
- A scrollpane with a list of objects at borderlayout.west
- A panel with labels and textfields at borderlayout.east
- A scrollpane with a panel potentially having multiple labels at borderlayout.south
When you click an item on the list of objects, the textfields on the east panel should be filled and the labels on the south scroll should be created. I have two problems with my code though:
1. For some reason the scrollpane at the botom of the screen does not fill the whole borderlayout's south area, only half of it.
2. the south scrollpane does not show anything when an item on the list is selected.
Here I tried to make an easily testable example: