browse??


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: browse??

  1. #1
    Join Date
    Oct 2004
    Posts
    15

    browse??

    I have a JOptionPane that pops up and asks the user to enter a filename.

    What do i need to do to add browse functionality???

  2. #2
    Join Date
    Sep 2004
    Posts
    150
    JOptionPane is an extremely limited dialog which is really used for single answers to questions or acknowledgement of errors.

    You will have to abandon that class and use JFileChooser or something like it.

    Here is a tutorial on JFileChooser, it's not much harder to do than JOptionPane.



    http://java.sun.com/docs/books/tutor...lechooser.html

  3. #3
    Join Date
    Oct 2004
    Posts
    15
    nice one. Thanks alot. I will take a look

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center