SWING maximize JInternalframe not to JDesktopsize but parent Frame size

Posted on 2006-04-20
Medium Priority
Last Modified: 2007-12-19

I have a frame containing a splitpane. on right side of splitplane i have located a JDesctopPane.
On this Desktop i have several JInternalFrames. when now doubleclicking those are maximized to JDesktopPane size.

But I just want them to maximize to either JDesktopPane's size or Splitpane's size visible, whatever is smaller.

How and where should i do that?

I am not that good in GUIprogramming, maybe first help would be telling me who (whicht thread/component,...) is actually doing the resizing with int values and not booleans. As my first approach to override setMaximum(boolean b) did fail...

Question by:mightyone

Author Comment

ID: 16497223

i found out to overwrite method setBounds() and check isMaximum(); first.

will close this one.

Accepted Solution

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

Featured Post

2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

Question has a verified solution.

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

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
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…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses
Course of the Month7 days, 5 hours left to enroll

593 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