Mac Users Can Use UML!
If you are a Mac OS X 10.4 user, you have certainly noticed that UML does not support your platform. This is due to some incompatibilities with the Apple(tm) JDK on the Mac OS X 10.4. This is not the end of the story. The UML module will run on your Mac. You simply need to be aware of the problems you may experience (see the next sections).
NetBeans UML will run on the Mac OS X 10.5 without any performance problems with both JDK 1.5 and JDK 1.6.
For NetBeans 6.5 the UML drawing area has been completely rewritten. One of the goals for drawing area redesign is to better support the Mac. In the beta release of NetBeans 6.5 UML will be on the update center.
Here is how to get UML running on your Mac.
- Download and start the newest version of NetBeans on your Mac.
- Select the menu item Tools->Plugins.
- Select the "Available Plugins" tab.
- Find UML in the "Available Plugins" list that appeared and check its check box.
- Click install. On NetBeans 6.1, you will be warned that this module is not supported on Mac as the installation completes.
UML performance issue on Mac OS X 10.4 when scroll bars exist for the diagram window
The performance problems occur when a diagram has scrollbars. After the scollbars appears, any action in the diagram takes a very long time.
With jdk1.5.0_06 the flag "-J-Dapple.awt.graphics.UseQuartz=false" needs to be used to have decent performance on the Mac. However, this flag may cause side-effects in other parts of the IDE. Depending on which other modules are being used, you may or may not ever see these side-effects.
With jdk 1.5.0_07-154 the performance problems are a little better. The performance of selection, and context menu actions are barely usable, however scrolling is still extremely slow.
In jdk1.6 this bug has been fixed for the Intel platform. However, the problem still exist on the Power PC. There are other problem that occur with the jdk 1.6 (see issue 86850). NetBeans has a general refreshing problem with jdk 1.6. One of the refershing issues is show in the below image.
Creating class diagram from selected elements returns StackOverflowError exception
This is a known problem Mac bug: Bug ID#4647508.
UI performance on Mac OS X system is very slow when jdk 1.6 is used to start ide
It is important to note that this bug is filed against a very specific configuration: PPC Mac with Java1.6