This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JScrollPane placement question  RSS feed

 
Jack Conger
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I'm making a list of JPanels that can be dynamically added or removed. I have *most* of the code worked out, but when one needs more of these JPanels than space allows for in my "holder" panel, I obviously need a JScrollPane. But the implementation of it is a problem, due to stacked JPanels, etc.

Here is the code:


The SkillsPanel is simply added to the center of a JFrame.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!