#Java JPanel as JScrollPane view using Swing

4 messages · Page 1 of 1 (latest)

light monolith
#

How could I set a scroll pane on that JPanel? I'm overflowing that panel with more JPanels

warm foxBOT
#

This post has been reserved for your question.

Hey @light monolith! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

vagrant spire
#

From the screenshots I cant really make out where the Scrollpane is supposed to be.
If we are talking about the colored area and all these colored components are JPanels then the JScrollpane should contain a large JPanel to which the colored ones are added.
If the colored Panels are supposed to serve as some kind of list or table it might be worth looking into JTable as well.
It is currently hard to figurw out what the program is supposed to do since all words are nonsensical.