• Post Reply Bookmark Topic Watch Topic
  • New Topic

Allow JDialog to resize larger, but not smaller.

 
Tom Landry
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lets say the JDialog opens 5x5.

The user is allowed to modify its size to be any size larger than 5x5 but is not allowed to make it smaller.
Is there such a property or will this have to be regulated via code?
 
Tom Landry
Ranch Hand
Posts: 76
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Geesh, 30 seconds after posting I remembered:
this.setMinimumSize(minimumSize);
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!