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 2 of 2

Thread: Java Frontend Frameworks with TreeViews which allows lazy loading

  1. #1
    Junior Member
    Join Date
    Sep 2017
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Java Frontend Frameworks with TreeViews which allows lazy loading

    Hi guys!

    I need to develop a GUI for an existing command line application, which is based on JDK7. This application accesses an online service via REST. To show the data on the screen, I need to show it in a tree and also the tree needs to allow lazy loading. It seems that Swing/JavaFX does not support lazy loading for their TreeViews?

    Can somebody recommend a Java Frontend Framework which is able to generate TreeViews with lazy loading?

    Regards
    Kaffi

  2. #2
    Member
    Join Date
    Apr 2014
    Posts
    92
    Thanks
    3
    Thanked 7 Times in 7 Posts

    Default Re: Java Frontend Frameworks with TreeViews which allows lazy loading

    The Swing JTree does indeed support lazy loading. Refer to the javax.swing.event.TreeWillExpandListener. Once properly registered, that listener will be called for you whenever the user wants to expand or collapse a tree node. That's where you'll do the work to populate the node's children.

    The JTree is complicated at first, but it's fairly well designed in my opinion. Give it a chance, it can do some pretty cool stuff. Just not necessarily how you might think at first.

Similar Threads

  1. design and develop a progrma to implement lazy buddy system algorithm
    By codemastermithun in forum What's Wrong With My Code?
    Replies: 8
    Last Post: September 29th, 2014, 11:38 AM
  2. Senior Frontend Developer – Frankfurt or Munich - Visasponsoring
    By buerolersch in forum Paid Java Projects
    Replies: 0
    Last Post: October 30th, 2013, 09:29 AM
  3. Bissiness potential in open source frameworks
    By rcbandit in forum Web Frameworks
    Replies: 0
    Last Post: April 19th, 2013, 09:43 AM
  4. Top Java frameworks as rated by developers
    By pjagielski in forum The Cafe
    Replies: 0
    Last Post: August 15th, 2012, 12:05 PM
  5. Lazy Thursday Question: Weird Syntax You've Seen?
    By KevinWorkman in forum The Cafe
    Replies: 14
    Last Post: May 11th, 2011, 04:00 AM

Tags for this Thread