This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 32804 - Cannot resize main Netbeans window in MDI mode
Summary: Cannot resize main Netbeans window in MDI mode
Status: VERIFIED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2003-04-10 18:26 UTC by rsutphin
Modified: 2008-12-22 17:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rsutphin 2003-04-10 18:26:45 UTC
Using Netbeans 3.4.1 in MDI mode and Apple's JDK
1.4.1, the main Netbeans frame cannot be made
smaller.  It can be made larger.  Sometimes if it
is made larger, this size sticks and it can't be
returned to its initial size.  It never can be
made smaller than its startup size.

This happens whether or not apple.awt.showGrowBox
is true.

The separate windows in SDI mode will resize
(larger and smaller), except for the main toolbar
frame.  It has a  problem similar to the main MDI
frame, except that it only applies horizontally --
you can make it wider but not narrower.  This
happens when there is clearly enough dead space
that resizing should be allowed.

This issue did not exist in Apple's JDK 1.3 in MDI
mode.  I don't know about the SDI behavior as I
never used SDI until this MDI bug arose with 1.4.

I am using the release version of 3.4.1 and
launching from NetbeansLauncher with the following
settings:
  L&F: Default (which turns out to be Metal)
  Live resizing of windows: off
  Extra parameters: 
    -J-Dapple.awt.showGrowBox="true"
    -J-Dapple.awt.antialiasing="false"
    -J-Dapple.awt.textantialiasing="false"

Switching to the aqua L&F (using -ui
apple.laf.AquaLookAndFeel) doesn't affect this issue.

Since it didn't happen in 1.3, it is possible that
this is not a Netbeans bug, but I have not seen it
in any other java applications.

For the record this is on OS X 10.2.4 with Apple's
JDK 1.4.1 (Java(TM) 2 Runtime Environment,
Standard Edition (build 1.4.1_01-39), according to
java -version).  The machine is a 1GHz flat-panel
iMac with 1GB of RAM.
Comment 1 Marian Mirilovic 2003-04-11 08:25:23 UTC
reassigne to Tomas H. for investigation
Comment 2 Tomas Hurka 2003-04-24 17:38:23 UTC
It seems to me that this is caused by interaction between NetBeans  new JDK 1.4.1. This is still broken with NB 3.5. :-(
Comment 3 rsutphin 2003-05-05 14:17:15 UTC
For workaround seekers, see the nbusers thread that contains this message:

http://www.netbeans.org/servlets/ReadMsg?msgId=512216&listName=nbusers

It's not a full workaround, but it's a temporary solution until this
issue is resolved.
Comment 4 Tomas Hurka 2003-07-11 15:50:54 UTC
It is JDK bug and hopefully will be fixed in next JDK update from Apple.
Comment 5 Tomas Hurka 2003-09-09 09:44:07 UTC
Fixed by Java 1.4.1 Update 1
Comment 6 Lukas Hasik 2003-09-23 15:54:49 UTC
rsutphin, could you please verify with new jdk ?
thanks advance.
Comment 7 Marian Mirilovic 2005-07-12 09:47:27 UTC
closed