classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] RFC: setting of TreeCellRenderer


From: Jan Röhrich
Subject: [cp-patches] RFC: setting of TreeCellRenderer
Date: Fri, 07 Oct 2005 13:39:20 +0200

This patch moves the setting of the TreeCellRenderer from JTree to its
BasicTreeUI. This helps to set custom renderers in custom TreeUIs.

Sun's JDKs seem to have the same behavior.

I tested this with jamvm and gnu.classpath.examples.swing.Demo and it
seems to work but there may be some side effects in applications which
inherit from JTree and/or BasicTreeUI.

2005-10-07  Jan Roehrich  <address@hidden>

        * javax/swing/JTree.java: (JTree):
        * javax/swing/plaf/basic/BasicTreeUI.java: (updateRenderer):
        moved setting of TreeCellRenderer from JTree to BasicTreeUI.

Attachment: treeCellRenderer.patch
Description: Text Data

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


reply via email to

[Prev in Thread] Current Thread [Next in Thread]