[Last Call] Learn how to a build a cloud-first strategyRegister Now


Maximize JFace ApplicationWindow

Posted on 2006-05-04
Medium Priority
Last Modified: 2013-12-15
Hi Guys,

I know this might be easy but I haven't been able to find it anywhere. How do you maximize a JFace ApplicationWindow? I'm creating an ApplicationWindow and I want it to be maximized when I make it visible.

Question by:amd2002a
LVL 14

Expert Comment

ID: 16612608
do you want to know how to maimize a Swing app ?
may be helpful
LVL 30

Expert Comment

by:Mayank S
ID: 16612893
I think you can set the initial size of the JFace window to Toolkit.getDefaultToolkit ().getScreenSize ().width, Toolkit.getDefaultToolkit ().getScreenSize ().height

Author Comment

ID: 16613794
I figured this one out on my own. You have to create an SWT shell and pass that into the constructor of your JFace ApplicationWindow. Then, on your JFace window, call getShell().setMaximized(true).

Accepted Solution

GranMod earned 0 total points
ID: 16646552
Closed, 100 points refunded.
The Experts Exchange
Community Support Moderator of all Ages

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Suggested Courses
Course of the Month18 days, 5 hours left to enroll

830 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