1. Scrollable flow panel stackoverflow.comI need to create a panel where I can put some rectangles and it automatically reorder just inserting a scrollbar and growing up vertically. Also this panel can be resizable and ... |
2. How to make a large scrollable panel? coderanch.comyour code looks fine. the scrollpane will only show up when the panel is only partially visible. if this is not the case, you can try two things: - set the JScrollPane to display the scrollbars always, - set the preferred size of the viewport of the scrollpane (scrollpane.getViewport().setPreferredSize(Dimension)). but as your code looks ok, these changes won't have an effect, ... |
3. Several JPanels in a scrollable object coderanch.com |