src/java.desktop/share/classes/javax/swing/plaf/basic/BasicTreeUI.java
Print this page
*** 59,78 ****
{
private static final StringBuilder BASELINE_COMPONENT_KEY =
new StringBuilder("Tree.baselineComponent");
// Old actions forward to an instance of this.
! static private final Actions SHARED_ACTION = new Actions();
/**
* The collapsed icon.
*/
! transient protected Icon collapsedIcon;
/**
* The expanded icon.
*/
! transient protected Icon expandedIcon;
/**
* Color used to draw hash marks. If <code>null</code> no hash marks
* will be drawn.
*/
--- 59,78 ----
{
private static final StringBuilder BASELINE_COMPONENT_KEY =
new StringBuilder("Tree.baselineComponent");
// Old actions forward to an instance of this.
! private static final Actions SHARED_ACTION = new Actions();
/**
* The collapsed icon.
*/
! protected transient Icon collapsedIcon;
/**
* The expanded icon.
*/
! protected transient Icon expandedIcon;
/**
* Color used to draw hash marks. If <code>null</code> no hash marks
* will be drawn.
*/
*** 96,113 ****
/** Component that we're going to be drawing into. */
protected JTree tree;
/** Renderer that is being used to do the actual cell drawing. */
! transient protected TreeCellRenderer currentCellRenderer;
/** Set to true if the renderer that is currently in the tree was
* created by this instance. */
protected boolean createdRenderer;
/** Editor for the tree. */
! transient protected TreeCellEditor cellEditor;
/** Set to true if editor that is currently in the tree was
* created by this instance. */
protected boolean createdCellEditor;
--- 96,113 ----
/** Component that we're going to be drawing into. */
protected JTree tree;
/** Renderer that is being used to do the actual cell drawing. */
! protected transient TreeCellRenderer currentCellRenderer;
/** Set to true if the renderer that is currently in the tree was
* created by this instance. */
protected boolean createdRenderer;
/** Editor for the tree. */
! protected transient TreeCellEditor cellEditor;
/** Set to true if editor that is currently in the tree was
* created by this instance. */
protected boolean createdCellEditor;