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.
Go to an open dialog (File->Open File... or Profile->Load Snapshot...). Select the Details view. Click on a column label to sort. Nothing happens.
reassigning to utilities/openfile
It works for me (Win XP Professional 64bit, JDK 1.6.0_10). Which version of JDK are you using? It would be ideal if you could add information about your system to this bug report: 1) In NetBeans, in the main menu, select: View > IDE Log File. (The log file's contents is written to the IDE's Output pane.) 2) In the Output pane, scroll to the top. 3) Select the six lines below line ">System Info" to the clipboard and paste them here. Thank you.
Product Version = NetBeans IDE 6.1 (Build 200804211638) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.5.0_15; Java HotSpot(TM) Client VM 1.5.0_15-b04; Sun Microsystems Inc. Runtime = Java(TM) 2 Runtime Environment, Standard Edition 1.5.0_15-b04 Java Home = C:\Program Files\Java\jdk1.5.0_15\jre System Locale; Encoding = en_US (nb); Cp1252
This might be related to JDK bug #6515169 (http://bugs.sun.com/view_bug.do?bug_id=6515169).
The description of the issue exactly matches JDK bug #6384033 (http://bugs.sun.com/view_bug.do?bug_id=6384033), which is marked as a duplicate of previously mentioned bug #6515169. Jamesvera, could you please update your JDK to a newer release and then try to reproduce the bug with it? The most recent stable release of JDK is JDK 6 Update 6, you can download it e.g. from http://java.sun.com/javase/downloads/index.jsp .
Thanks for the additional information, you responded quicker than I expected. Now I tried to reproduce the problem with JDK 1.5.0_13 and I think it is actually another bug. Still I think that it is rather a JDK bug than a NetBeans bug. I am going to search the database of JDK bugs.
It is a JDK bug 6358882 (http://bugs.sun.com/view_bug.do?bug_id=6358882). To verify it is a JDK bug, run the JDK's file chooser demo application: 1) in Windows, open the "Command Prompt" window. 2) enter and run the following command: "C:\Program Files\Java\jdk1.5.0_15\jre\bin\java" -jar "C:\Program Files\Java\jdk1.5.0_15\demo\jfc\FileChooserDemo\FileChooserDemo.jar" (demo application "FileChooserDemo" is started) 3) At the bottom of the demo application's window, select radio-button "Windows". 4) Press button "Show FileChooser". 5) It the file chooser, switch to the Details view (the button at the top-right). 6) Try to change sorting by clicking or double-clicking on any of the column headers. In JDK 1.5.x, sorting does not change. It is fixed in JDK 6 but it has other bugs mentioned above. I do not know of any work-around at the moment (there is none mentioned in the JDK bug report) and I do not think this bug is important for making some hacks in NetBeans. Marked as WONTFIX.
I can confirm the bug is reproduced with the FileChooserDemo in my env. Thanks for looking into it.
v/c