SWING maximize JInternalframe not to JDesktopsize but parent Frame size
Posted on 2006-04-20
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...