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 26098 - Can't select $USERDIR/hidden dirs in JFileChosser
Summary: Can't select $USERDIR/hidden dirs in JFileChosser
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2002-07-29 16:44 UTC by dmladek
Modified: 2003-07-01 14:18 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
proposed patch (401 bytes, patch)
2002-08-01 20:44 UTC, Vitezslav Stejskal
Details | Diff
used FileEditor (5.96 KB, text/plain)
2002-08-01 22:09 UTC, Jan Pokorsky
Details
Oops, this is the correct file. Ignore the previous one please. It's time to go home ;-) (7.58 KB, text/plain)
2002-08-01 22:12 UTC, Jan Pokorsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dmladek 2002-07-29 16:44:56 UTC
Please, see issue #22961
Comment 1 dmladek 2002-07-30 09:49:33 UTC
Hi, at least for Importing Project I see this as potencional
showstoper (eg. for issue #26099 VCS Wizard, we've agreed that working
directory isn't related to the default $USERDIR which is hidden, so
that it'll bee fixed into TRUNK only).
What's your opinion?
Comment 2 Jan Pokorsky 2002-07-30 15:15:49 UTC
I'm going to look at it.
Comment 3 dmladek 2002-07-31 10:15:20 UTC
There also was a discussion about "userdir=.netbeans" on nbdev@ a week
ago. If it could help see:
http://www.netbeans.org/servlets/BrowseList?listName=nbdev&by=thread&from=12984
http://www.netbeans.org/servlets/ReadMsg?msgId=348506&listName=nbdev

Comment 4 Vitezslav Stejskal 2002-08-01 20:44:20 UTC
Created attachment 6982 [details]
proposed patch
Comment 5 Jan Pokorsky 2002-08-01 22:06:34 UTC
It is not such easy. You should read issue #22961. If JFileChooser is 
used directly then problems like memory leaks and an accessibility 
remail unsolved. The org.netbeans.beaninfo.editors.FileEditor has to 
be used. I have prepared a fixed version. Please review changed code.
Comment 6 Jan Pokorsky 2002-08-01 22:09:08 UTC
Created attachment 6984 [details]
used FileEditor
Comment 7 Jan Pokorsky 2002-08-01 22:12:44 UTC
Created attachment 6985 [details]
Oops, this is the correct file. Ignore the previous one please. It's time to go home ;-)
Comment 8 Vitezslav Stejskal 2002-08-01 22:27:04 UTC
I see, good point, I look at the code and it seems OK to me, please go
ahead and integrate it. Thanx & cau!
Comment 9 Jan Pokorsky 2002-08-02 16:35:51 UTC
Fixed in the trunk.

http://projects.netbeans.org/source/browse/projects/src/org/netbeans/m
odules/projects/importing/ImportProjectAction.java.diff?r1=1.7&r2=1.8
Comment 10 Jan Pokorsky 2002-08-05 19:50:26 UTC
Fixed in the release34 branch.

http://projects.netbeans.org/source/browse/projects/src/org/netbeans/m
odules/projects/importing/ImportProjectAction.java.diff?r1=1.7&r2=1.7.
34.1
Comment 11 Milan Kubec 2002-08-09 14:28:37 UTC
Verified in release34-200208082340.
Comment 12 Milan Kubec 2002-10-14 16:04:04 UTC
It was already verified, but not marked so.
Comment 13 Jesse Glick 2002-11-30 20:23:01 UTC
Can't be a 3.4.1_CANDIDATE if it was already fixed in 3.4.
Comment 14 Quality Engineering 2003-07-01 14:18:31 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.