Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: folder/object browsing menu in Java

  1. #1
    Junior Member
    Join Date
    Apr 2014
    Posts
    13
    Thanks
    3
    Thanked 2 Times in 1 Post

    Default folder/object browsing menu in Java

    Below is a picture of a menu where users can browse through a hierarchical structure of folders and objects in a node/leaf pattern. Is there any built in way to do this with AWT/Swing? The picture is just for reference, my actual use case is much different, and it's just the structure that I'm interested in. Any advice much appreciated!

    findjobj9.jpg


  2. #2
    Senior Member
    Join Date
    Jul 2013
    Location
    Europe
    Posts
    666
    Thanks
    0
    Thanked 121 Times in 105 Posts

    Default Re: folder/object browsing menu in Java

    Read the API for the JTree class perhaps.

  3. The Following User Says Thank You to Cornix For This Useful Post:

    Sedu (September 11th, 2014)

  4. #3
    Junior Member
    Join Date
    Apr 2014
    Posts
    13
    Thanks
    3
    Thanked 2 Times in 1 Post

    Default Re: folder/object browsing menu in Java

    UGH, I'm dumb. This was right in front of me the entire time, and I made a post anyhow. X|

    You called it in one, Cornix, thanks!

Similar Threads

  1. Java 'Bin' folder is emptied quite often
    By Vijay_Java in forum Java Theory & Questions
    Replies: 4
    Last Post: August 18th, 2014, 09:13 AM
  2. Copy the folder with Java
    By teymoorei in forum Java Theory & Questions
    Replies: 3
    Last Post: June 17th, 2013, 10:03 AM
  3. Replies: 1
    Last Post: March 18th, 2012, 12:16 PM
  4. How to Enabling private browsing in java jdic browser?
    By borgiadf in forum Java SE APIs
    Replies: 0
    Last Post: August 17th, 2011, 04:48 AM
  5. Is it possible to use card layout for menu and menu items?
    By jai2rul in forum AWT / Java Swing
    Replies: 0
    Last Post: April 11th, 2011, 08:19 AM