Class RootVisibilityTest

java.lang.Object
eu.essilab.lablib.checkboxtree.RootVisibilityTest

public class RootVisibilityTest extends Object
A test tree to highlight the root visibility behavior. JTree keeps the root in the "not-expanded" state, if it doesn't contain anything at the time of its insertion in the tree model. Hence, even if nodes are inserted afterwards, they are not rendered in the tree UI. If the root itself is hidden, the tree UI is empty altogether.
Author:
bigagli
  • Constructor Details

    • RootVisibilityTest

      public RootVisibilityTest()
  • Method Details

    • main

      public static void main(String[] args)