?
Solved

SWING maximize JInternalframe not to JDesktopsize but parent Frame size

Posted on 2006-04-20
2
Medium Priority
?
2,438 Views
Last Modified: 2007-12-19
Hi,

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...

Thanks
0
Comment
Question by:mightyone
2 Comments
 
LVL 6

Author Comment

by:mightyone
ID: 16497223
hm...

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

will close this one.
0
 

Accepted Solution

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

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