Re: System.getProperty
From: Christophe Vanfleteren (c.v4nfl3t3r3n_at_pandora.be)
Date: 12/11/03
- Next message: Tor Iver Wilhelmsen: "Re: Can a CLASSPATH include a remote destination?"
- Previous message: John C. Bollinger: "Re: Stateless session bean that multi threads?"
- In reply to: Minouche: "System.getProperty"
- Next in thread: Minouche: "Re: System.getProperty"
- Reply: Minouche: "Re: System.getProperty"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 11 Dec 2003 20:04:51 GMT
Minouche wrote:
> Hi. I am trying to get to my My Computer using System.getProperty().
> What string can I pass to get to that folder? ie.,if I use ("java.home")
> I get the contents of the java folder. If I use ("user.home") I get the
> contents of everything under my name.
>
> Thanks!!
Could you perhaps explain again what exactly you are trying to accomplish?
If you want to show the user a dialog that allows him to choose some file
on the system, you can use a JFileChooser, that will list all the drives.
How exactly do you need to display those drives? And what exactly do you
need this list for? There might be a solution for your problem.
-- Kind regards, Christophe Vanfleteren
- Next message: Tor Iver Wilhelmsen: "Re: Can a CLASSPATH include a remote destination?"
- Previous message: John C. Bollinger: "Re: Stateless session bean that multi threads?"
- In reply to: Minouche: "System.getProperty"
- Next in thread: Minouche: "Re: System.getProperty"
- Reply: Minouche: "Re: System.getProperty"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|