When I try to select an existing directory name from the JFileChooser, the name appears 2 times. For example, if I want to select the filename Test under the Programs directory, it returns Programs/Test/Test. I wanted it to return Programs/Test.

There is a known bug in Sun's JFileChooser, which JExpress uses. When you want to select a directory simply highlight the directory name and click the Open button. Do not double click on the directory name so you can see the contents of the directory and then click Open button. If you do, then JFileChooser returns the directory name 2 times which results in an error when you build your project.
Work around until Sun fixes JFileChooser
Applies to
2.0 or later
selecting directory name

All information is provided "as is", without warranty of any kind, and subject to change. DeNova uses its best efforts to provide complete and accurate information. DeNova disclaims all warranties, either explicit or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall DeNova or its suppliers be liable for any damages whatsoever, including direct, indirect, incidental, consequential, loss of business profits or special damages, even if DeNova or its suppliers have been advised of the possibility of such damages.