Wrox Programmer Forums
|
Java Basics General beginning Java language questions that don't fit in one of the more specific forums. Please specify what version.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 3rd, 2007, 02:36 AM
Registered User
 
Join Date: Jul 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default JFrame class

Hi,
   I created a object using the JFrame class. How can i made that window not to respond when user press the maxamize button. I need a window that is restricted in its size (In the control box I need only minimize and close buttons)

 
Old August 3rd, 2007, 06:58 AM
Authorized User
 
Join Date: Oct 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
Use method .setResizable(false)
Think that's what you need

Best,
Anna
 
Old August 15th, 2007, 06:11 AM
Authorized User
 
Join Date: Sep 2006
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

sdf






Similar Threads
Thread Thread Starter Forum Replies Last Post
jframe background darkfreedom Java GUI 0 August 4th, 2006 01:38 PM
help with JFrame.setBackground(...) dzungrockx Java GUI 0 March 15th, 2006 12:19 PM
JDesktopPane and JFrame mudasirw Java GUI 0 June 23rd, 2005 08:03 PM
Promblem in KeyListener on JFrame bamboat_3 Java GUI 1 May 28th, 2005 03:09 AM
Titlebar on JDialog/JFrame raven983 Java GUI 4 May 7th, 2005 07:08 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.