Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Scrolling for JDialog  RSS feed

Ravi Prasad
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a JDialog with quite a no. of components in it. the requirement is that the dialog should be resizable. but when a user resizes the dialog , the sizes of the components should not change nor the relative position and horizontal or vertical scrollbars have to appear according to the size so that the user can use these scrollbars to view the components.
Flowlayout and gridlayout should not be used because these layout managers will resizes/reposition the components.
Thanks in advance.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!