Questions tagged [scrollpane]

A group that scrolls a child widget using scrollbars and/or mouse or touch dragging.

The widget is sized to its preferred size. If the widget's preferred width or height is less than the size of this scroll pane, it is set to the size of this scroll pane. Scrollbars appear when the widget is larger than the scroll pane.

The scroll pane's preferred size is that of the child widget. At this size, the child widget will not need to scroll, so the scroll pane is typically sized by ignoring the preferred size in one or both directions.

377 questions
-1
votes
1 answer

Reading Text File Data and writing to TextArea

So I have a few basic questions that are probably going to be very simple for you guys. Keep in mind, I am not a programmer. I'm just a low-level IT support person who took a few programming courses in high school. I've got an Announcements program…
-2
votes
1 answer

i'm unable to scroll contents of panel in java

the problem is i have multiple number of panels in that mainpane stays in the centre.using a for loop i added 1000 buttons to the main panel.i added a scroll pane for the mainpane.but i'm unable to scroll.i tried solutions from lot of posts from…
user22002
  • 29
  • 5
1 2 3
25
26