Article View: borland.public.jbuilder.java.swing
Article #963Re: How to determine the project path?
From: Houman Khorasani
Date: Tue, 01 Jun 2004 20:16
Date: Tue, 01 Jun 2004 20:16
18 lines
1510 bytes
1510 bytes
WOw thats exactly what I was looking for. ANd it works fine.
Thanks a lot David.
Houman
"David C. Browne" <cognoscenti-removethispart@comcast.net> wrote in message
news:40bbeaee$1@newsgroups.borland.com...
> Maybe this is what you are looking for?
>
> import java.util.Properties;
>
> Properties props = System.getProperties();
> String userDir = (String)props.getProperty("user.dir");
>
>
> David
Technical Details
Message-ID:
<40bce41e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeed3.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<40b959b3$1@newsgroups.borland.com> <40bb4482@newsgroups.borland.com> <40bbb844$1@newsgroups.borland.com> <40bbeaee$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,36c54cf6bd7cdb3e X-Google-Attributes: gid111d45,public From: "Houman Khorasani" <khorasaniNOSPAM@web.de> Newsgroups: borland.public.jbuilder.java.swing References: <40b959b3$1@newsgroups.borland.com> <40bb4482@newsgroups.borland.com> <40bbb844$1@newsgroups.borland.com> <40bbeaee$1@newsgroups.borland.com> Subject: Re: How to determine the project path? Date: Tue, 1 Jun 2004 15:16:31 -0500 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 137.104.78.95 Message-ID: <40bce41e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1086120990 137.104.78.95 (1 Jun 2004 13:16:30 -0700) Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeed3.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail