Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2009
    Posts
    1
    Rep Power
    0

    Question one file connect with another files

    :confused: Hi! I am new to java. When I develop an Application I need to open a file. that is the root file. it connected with many files. how to connected one file to many files. when I am opening the main file, the connected files only will display, don't display another files. how to develop this in swings. please help me.

  2. #2
    PhHein's Avatar
    PhHein is offline Senior Member
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    1,429
    Rep Power
    7

    Default

    Define connected file.
    Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
    The Ubiquitous Newbie Tips

  3. #3
    zweibieren is offline Senior Member
    Join Date
    Aug 2009
    Location
    Pittsburgh, PA
    Posts
    284
    Rep Power
    6

    Default

    Perhaps you want a JFileChooser: How to Use File Choosers (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)

    To get only the "connected files" (whatever that might be) the code could implement a filter as described in the section "Filtering the List of Files"

Similar Threads

  1. loading files contained within app jar file
    By thorne_ in forum New To Java
    Replies: 3
    Last Post: 05-18-2009, 03:26 PM
  2. Replies: 2
    Last Post: 04-06-2009, 06:52 PM
  3. Replies: 6
    Last Post: 10-10-2008, 06:07 PM
  4. Replies: 0
    Last Post: 10-10-2008, 03:52 PM
  5. JAR file with .java files
    By ravian in forum New To Java
    Replies: 7
    Last Post: 12-24-2007, 09:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •