Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Scrollpane for panels  RSS feed

 
vidya archana
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i add a scroll pane to a panel with null layout?
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just like any other component you must call setBounds( x, y, width, height ) on it when using a null layout.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!