This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to avoid user to resize and maximize the frame?

 
Mindy Wu
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I create a frame and I don't want user to resize and maximize the frame after executed?
Thanks
Mindy
 
Golam Newaz
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Kindly type the following code into your program like inside
your constructor method:
setResizable(false);
Thanks,
Sayeed
 
Golam Newaz
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Kindly type the following code into your program like inside
your constructor method:
setResizable(false);
Thanks,
Golam Sayeed Newaz
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic