473,412 Members | 5,361 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

Browsing a Directory is it possible..?

4
I creating a program and I'm done with my design. my program contains 2radiobuttons, 3textfields and 3buttons. the flow of my program is to browse a single file and directory...

my question is? it is possible to browse a directory..?

do you have tutorial on this..? on how to make this possible..?

please help.. i need your idea.

thanks.
Sep 23 '09 #1
3 1635
Tassos Souris
152 100+
You said that you finished your design.. this means that you have decided which objects to use (assuming you do object-oriented programming with Java)..
Now study the technologies Java offers for the each individual task you want to perform.
Study the java.io package that lets you manipulate files and directories. Look at Swing for the GUI and combine them..
I do not know but i believe that Swing will most probably have something ready for directories. I know for example that it has JFileChooser that lets you open some file: http://java.sun.com/docs/books/tutor...lechooser.html


Hope i helped
Sep 23 '09 #2
r035198x
13,262 8TB
Read about JFileChooser.
Sep 23 '09 #3
mlibot
4
Thanks for the help... I'll do what you want... i read about java.io packages and also i look unto Swing for the gui and i read about JFileChooser
Sep 24 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: MeAndI | last post by:
Hi, it is possible to add ASP code in the page displayed during the directory browsing. This page is returned by windows and lists all the files and directories contained in the current...
26
by: Dan Nash | last post by:
Hi guys I have a page that is *supposed* to list the directories on the server. Here's the code... folderspec = server.MapPath("./images/") set fso =...
3
by: Stephen Green | last post by:
I'm using the code found at http://support.microsoft.com/?kbid=224364 called Creating a Directory Browsing Page Using ASP. The code works fine. I would like to find a way NOT to show hidden...
1
by: Big Tony | last post by:
Is it possible to specify a global default page for a virtual directory? My Virtual directory has 111 subfolders and I do not want to copy a default.aspx to each one. It is set to allow directory...
0
by: Tim Smith | last post by:
Dear All, Uncovered a problem with a home grown site replicator. We have directory browsing enabled to allow our remote clients to "dynamically discover" new files/directories (sites) we have...
2
by: Dmitry Duginov | last post by:
I have a virtual directory where I allow browsing. When I implemented ISAPI filter for this directory (I deny access in some cases based on request headers), the contents of the directory are not...
1
by: WolfsonNYC | last post by:
Anyone know how to enable Directory Browsing using the Cassini web server on .Net 2.0 ? Right now it says HTTP Error 403 - Forbidden when I go to a folder on my web site. Thanks, JW
4
by: 13gurpreetsingh | last post by:
hi friends, my program demands that we need to list the information in all the files present in a directory ,say xxxx and the files present in all the subdirectories in this xxxx directory. please...
2
by: Joe Kovac | last post by:
Hi! I have a Web Site, where I turned directory browsing off. I want only one sub folder to be browsable: e.g. MyApp/Files/... How do I do that? Any setting in the web.config? Thanks Joe
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.