hi i am not able to view scroll panel when i add more data to panel,scroll pane dose not show
i even tried this
but still the scroll pane is inactive after data in panel exceeds the given size it just does not scroll!!
my code for scroll panel is below.
posted 8 years ago
Perhaps someone else can help you, but I myself can't tell what is wrong based on the information presented. The only thing suspicious that I see is that you're setting the preferred size of one of the JPanels that you display within a JScrollPane, and if so, the panel likely won't change size even if new components are added to it.
Regardless, if you don't get a decent answer soon, please check out these links: