classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: JTable fixes


From: Roman Kennke
Subject: [cp-patches] FYI: JTable fixes
Date: Mon, 21 Nov 2005 13:21:40 +0000

Hi,

I fixed a bug in the JTable and its UI implementation. The UI should
actually call JTable.prepareRenderer() to prepare the cell renderer,
instead of preparing the renderer in the UI. Also I removed some unused
code that was pointed out by Eclipse.

2005-11-21  Roman Kennke  <address@hidden>

        * javax/swing/JTable.java
        (columnAtPoint): Removed unused code.
        (rowAtPoint): Removed unused code.
        (prepareRenderer): Moved renderer prepare code from the UI to this
        method.
        (getSelections): Removed unused code.
        * javax/swing/plaf/basic/BasicTableUI.java
        (paintCell): Call JTable.prepareRenderer instead of preparing
        the renderer in the UI.
        (paint): Removed some unused code.


/Roman

Attachment: patch.diff
Description: Text Data


reply via email to

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