--- old/src/java.desktop/share/classes/javax/swing/plaf/metal/MetalTreeUI.java 2017-05-12 16:11:45.000000000 -0700 +++ new/src/java.desktop/share/classes/javax/swing/plaf/metal/MetalTreeUI.java 2017-05-12 16:11:45.000000000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -44,9 +44,11 @@ * visually render the spacing and delineation between nodes. The following * hints are supported: * - * + *
+ * * - * + * * * * - * + * * * * - * + * * * *
Descriptions of supported hints: Angled, + * Horizontal, and None

Angled

AngledA line is drawn connecting the child to the parent. For handling * of the root node refer to * {@link javax.swing.JTree#setRootVisible} and @@ -54,11 +56,11 @@ *

Horizontal

HorizontalA horizontal line is drawn dividing the children of the root node.

None

NoneDo not draw any visual indication between nodes.