Can someone help me, I have been trying to fix this for a while without any luck. I am new to JAVA programming though I have coded in many languages.
What I am trying to do is use the JFileChooser class in a Windows 2000 environment, the user can type the full path of a file into the File Name field and the directory is displayed. If I type a host name e.g. \\HOSTNAME returns HOSTNAME in the File Name field and the File view does not change (compare this to Explorer and you would see the sharenames). If I then type in a Host and share name (\\HOSTNAME\ShareName) I get a folder contents. This is just a little annoying but work aroundable by typing \\HOSTNAME\ShareName and navigating upwards.
The real problem occurs when the sharename is mis-spelt. I work in a large organisation and have access to many Hosts, typing a wrong file path can take several minutes for the application to timeout before I can change it. Explorer does not hang but allows you to correct the path and try again. Warning the user later that he had mis-typed.
Does anyone know how to thread the File Name text box to stop this??
Thanks in Advance