Class ColorBackgroundTest

java.lang.Object
javax.swing.tree.DefaultTreeModel
eu.essilab.lablib.checkboxtree.ColorBackgroundTest
All Implemented Interfaces:
Serializable, TreeModel

public class ColorBackgroundTest extends DefaultTreeModel
A test to see if the tree background works properly. Changing tree.setOpaque(true); to false should toggle the background to green to red.
Author:
bigagli
See Also:
  • Constructor Details

    • ColorBackgroundTest

      public ColorBackgroundTest(TreeNode root)
      Parameters:
      root -
  • Method Details

    • main

      public static void main(String[] args)