JScrollPane question
Is there a simple way to configure JScrollPane so that it forces the horizontal size of its parent on its contents? I need to scroll only vertically and display the full width.
Update: I figured it out. The child component (viewport view) needs to implement the interface Scrollable, whose method getScrollableTracksViewportWidth() needs always to return true.
Update: I figured it out. The child component (viewport view) needs to implement the interface Scrollable, whose method getScrollableTracksViewportWidth() needs always to return true.
