Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Scrolling for JDialog

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