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 200350 - Open Project dialog shows icons from Windows XP on Ubuntu
Summary: Open Project dialog shows icons from Windows XP on Ubuntu
Status: RESOLVED DUPLICATE of bug 200528
Alias: None
Product: platform
Classification: Unclassified
Component: Directory Chooser (show other bugs)
Version: 7.0.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords: L&F
Depends on:
Blocks:
 
Reported: 2011-07-25 12:31 UTC by Vladimir Riha
Modified: 2011-08-17 12:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (256.57 KB, image/png)
2011-07-25 12:31 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2011-07-25 12:31:48 UTC
Created attachment 109599 [details]
screenshot

Steps to reproduce:
- install Netbeans, have new userdir
- open NB, select Open Project (Ctrl+Shift+O)
=> there are 2 icons from windows xp, they disappear after new project creation and restarting Netbeans

Product Version: NetBeans IDE 7.0.1 (Build 201107211357)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Linux version 2.6.38-10-generic running on i386; UTF-8; en_US (nb)
Comment 1 Jesse Glick 2011-07-26 16:35:02 UTC
See DirectoryChooserUI: UIManager.getIcon("FileChooser.upFolderIcon") is returning null for some reason. I cannot reproduce in Ubuntu 10.04 with JDK 6u26, but I can on JDK 7b146. (Restarting does not help.) Even though

$ jrunscript -e 'println(javax.swing.UIManager.getIcon("FileChooser.upFolderIcon"))'

with JDK 7 seems to be working, the same live in the IDE (using <http://kenai.com/projects/jrunscriptin>) returns null.
Comment 2 Ondrej Vrabec 2011-08-17 12:13:59 UTC
With the fix for bug #200528 this seems to work as expected.

*** This bug has been marked as a duplicate of bug 200528 ***