Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
|
J2EE General J2EE (Java 2 Enterprise Edition) discussions. Questions not specific to EE will be redirected elsewhere.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the J2EE section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 17th, 2005, 07:02 AM
Registered User
 
Join Date: Jul 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Special folders in JAVA

I have a problem getting Special folders path in JAVA for (My Document, Temp, etc.)

Can anybody halp me pleas?


 
Old July 20th, 2005, 12:24 PM
Registered User
 
Join Date: Nov 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Give an example piece of code.

Regards,

Bluespud.
 
Old July 21st, 2005, 03:06 PM
Registered User
 
Join Date: Jul 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is example:

 private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {

String MyDoc = here i want to add code to get MyDocuments absolute path

this.jLabel1.setText("My Documents path is:" + MyDoc)

    }






Similar Threads
Thread Thread Starter Forum Replies Last Post
Listing shared network folders in Java ravishakya Pro Java 0 September 7th, 2006 10:06 AM
storing special special characters in nvarchar... ACE2084 SQL Server 2000 2 February 9th, 2005 11:45 AM
Secure Folders itHighway Classic ASP Basics 5 December 16th, 2004 05:12 PM
Which folders to USE groupmatch BOOK: ASP.NET Website Programming Problem-Design-Solution 5 October 7th, 2004 07:52 PM
Parsing special characters from java to excel dracuella J2EE 0 May 19th, 2004 05:14 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.