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 41874 - cannot launch IDE with metal look and feel
Summary: cannot launch IDE with metal look and feel
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: Macintosh Mac OS X
: P2 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords: L&F
Depends on:
Blocks:
 
Reported: 2004-04-09 03:33 UTC by shaship
Modified: 2008-12-23 14:31 UTC (History)
0 users

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 shaship 2004-04-09 03:33:19 UTC
the following error is seen in console- metal look and feel 
cannot be launched using launcher

Mac OS X Version 10.3.3 (Build 7F44)
2004-04-08 22:09:11 -0400
WirelessScan timeout waiting for first scan result
2004-04-08 22:28:13.895 NetBeansLauncher[11760] (
    "-J-Xdock:name=NetBeans", 
    "-J-Xdock:icon=/Applications/NetBeansIDE-release36-RC3/
NetBeansLauncher.app/Contents/Resources/netbeans.icns", 
    "-jdkhome", 
    "/Library/Java/Home", 
    "-fontsize", 
    10, 
    "-ui", 
    "", 
    "-userdir", 
    "/Users/shaship/Documents/Netbeans"
)
UI class not found, using default UI...
Comment 1 Jan Lahoda 2004-04-09 11:10:52 UTC
Hi,
   from the console output I can see that there is no look and feel
class specified (it should be after the "-ui" command line option). So
it seems to me like problem with the MacOS launcher. Reassinging to core.
Comment 2 deeptinker 2004-04-09 13:06:23 UTC
Reproduced this error with RC3 (OS X 10.3.3, Java 1.4.2_04-122).

Choosing option "Default" = no -ui parameter,
"Aqua" adds ... "-ui", "apple.laf.AquaLookAndFeel", ...
"Metal" adds ... "-ui", ... (with no value for this parameter)

First two launch NB successfully, third does not.
Comment 3 Marian Mirilovic 2004-04-09 16:42:27 UTC
Reassigne to our L&F / Mac expert ;)

Tim, please look at this ...
Comment 4 _ tboudreau 2004-04-09 17:18:50 UTC
Passing to Tomas - launcher issue.  Probably it's expecting Metal to still be the default 
look and feel, and so doing nothing when that is requested;  Aqua is now the default.
Comment 5 Tomas Hurka 2004-04-15 12:30:30 UTC
You are right. I will fix it. In meantime you can use following workaround:
Set 'Look & Feel' combo to 'Default' and add
-ui javax.swing.plaf.metal.MetalLookAndFeel
to 'Extra parameters' in Expert tab

Lowering priority since there is an easy workaround.
Comment 6 Tomas Hurka 2004-04-15 14:39:01 UTC
Fixed in trunk.

Checking in macosx_launcher.dmg;
/cvs/core/nbide/launcher/macosx/macosx_launcher.dmg,v  <--  
macosx_launcher.dmg
new revision: 1.3; previous revision: 1.2
done
Processing log script arguments...
More commits to come...
Checking in NetBeansLauncher/NBPreferences.m;
/cvs/core/nbide/launcher/macosx/NetBeansLauncher/NBPreferences.m,v  <--  
NBPreferences.m
new revision: 1.3; previous revision: 1.2
done
Checking in NetBeansLauncher/ReadMe.rtf;
/cvs/core/nbide/launcher/macosx/NetBeansLauncher/ReadMe.rtf,v  <--  ReadMe.rtf
new revision: 1.3; previous revision: 1.2
done
Processing log script arguments...
More commits to come...
Checking in NetBeansLauncher/NetBeansLauncher.pbproj/project.pbxproj;
/cvs/core/nbide/launcher/macosx/NetBeansLauncher/NetBeansLauncher.pbproj/
project.pbxproj,v  <--  project.pbxproj
new revision: 1.3; previous revision: 1.2
done
Comment 7 Tomas Danek 2005-07-27 12:31:18 UTC
no other comments - seems to be ok. Closing.
Comment 8 Quality Engineering 2008-12-23 14:31:41 UTC
This issue had *1 votes* before move to platform component