Re: Bug In Class/Source Path Selection?

Nathan Fiedler <[email protected]> 14 Feb 2003 01:09:19 -0800
Newsgroups gmane.comp.java.jswat.user
Organization Blue Marsh Softworks
Message-ID <1045213758.1529.15.camel@chip>
Yep, it looks like a JFC bug to me. I can't search the JavaSoft bugs
database as it is down for the night (seems like that happens often),
but I am certain it is a file selector bug. If you double-click a
directory entry, not only is that directory opened and the contents
displayed in the file selector, but the name of the directory also
appears in the "File Name" field. Thus, when you click Select, you are
in fact selecting a directory that doesn't exist.

There are two options:

1. Do nothing because it is a file selector bug and is out of my control
(or so I believe).

2. Check if the selection actually exists (and then what?).

I vote for 1. You obviously saw the problem and undoubtedly you
discovered how to fix it. Eventually the file selector won't make this
mistake (one can hope).

n


On Thu, 2003-02-13 at 08:41, Wilson Jimmy - jiwils wrote:
> When selecting a directory it is possible to get the directory listed in the
> path name twice.
> 
> If I have C:\temp as a directory that I want in my classpath:
> 
> 1.  I get the file/directory selection dialog pointed to my C drive.
> 2.  I select (single-click) the temp directory.
> 3.  After it is selected, I double-click the temp directory which causes the
> selector to open the temp directory.
> 4.  Then I click the select button.
> 
> I get C:\temp\temp in the classpath listing.  This doesn't appear to be the
> correct behavior.  Am I missing something?
> 
> Jimmy