?
Solved

In Java how do i maximise the screen

Posted on 2003-03-10
4
Medium Priority
?
198 Views
Last Modified: 2010-05-18
Ive seen tons and tons of scripts for making a window either fill the page and flip to full screen, but what im really after is a script that activates the maximise button in the top right hand corner. This is different from filling the screen using the resize() command.
0
Comment
Question by:Splatty
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 8

Accepted Solution

by:
Exceter earned 200 total points
ID: 8120548
Try this,

this.setExtendedState( JFrame.MAXIMIZED_BOTH );

Note: You really should ask questions that relate to Java in the Java Programming topic area. You will be more likly to get answers that way.

Exceter
0
 

Expert Comment

by:CleanupPing
ID: 9447234
Splatty:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 8

Expert Comment

by:Exceter
ID: 9451029
Points to: Exceter.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Six Sigma Control Plans
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question