[cp-patches] FYI: JTable fixlet

2006-07-24 Thread Roman Kennke
In my last JTable patch I made a slight mistake. I wanted to let the whole JTable repaint for variable row height tables, and an optimized region otherwise but got it the other way around. This patch should fix this. 2006-07-24 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/JTable.j

[cp-patches] FYI: JTable fixlet

2006-03-21 Thread Anthony Balkissoon
While testing Mauve exception handling I tried to generate a NPE using JTable.columnAtPoint but found that Classpath was gracefully ignoring null argument while Sun was throwing the NPE I wanted. So I removed the != null check. 2006-03-21 Anthony Balkissoon <[EMAIL PROTECTED]> * javax/

[cp-patches] FYI: JTable fixlet

2006-03-03 Thread Roman Kennke
I added a little division by zero check to JTable. That one caused problems in some corner cases (when the layout is not yet computed and someting == 0). 2006-03-03 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/JTable.java (distributeSpillResizing): Avoid ArithmeticException by

Re: [cp-patches] FYI: JTable fixlet

2005-11-26 Thread Mark Wielaard
Hi Roman, On Thu, 2005-11-24 at 20:29 +, Roman Kennke wrote: > I adjusted the DefaultTableCellRenderer to not adapt the JTables enabled > property setting to the renderer. The cells are rendered normally even > when the JTable itself is disabled. > > 2005-11-24 Roman Kennke <[EMAIL PROTECTE

[cp-patches] FYI: JTable fixlet

2005-11-24 Thread Roman Kennke
Hi, I adjusted the DefaultTableCellRenderer to not adapt the JTables enabled property setting to the renderer. The cells are rendered normally even when the JTable itself is disabled. 2005-11-24 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/table/DefaultTableCellRenderer.java

[cp-patches] FYI: JTable fixlet

2005-11-18 Thread Roman Kennke
Here comes a small fixlet for JTable. 2005-11-17 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/JTable.java (getCellRenderer): Replaced dataModel.getColumnClass() with the shorter getColumnClass(). (getColumnClass): Call getModel() instead of accessing dataModel

[cp-patches] FYI: JTable fixlet corrects NPE

2005-11-01 Thread Anthony Balkissoon
Some apps were getting NPE with JTable because variables were not set before the call to updateUI which could be overridden. This is fixed now, although there are some intricacies which may be fixed after the release, I put a TODO in the code for now. 2005-11-01 Anthony Balkissoon <[EMAIL PROTE

[cp-patches] FYI: JTable fixlet fixes mauve regressions

2005-11-01 Thread Anthony Balkissoon
This patch fixes mauve regressions in JTable that Mark mentioned on the classpath mailing list. The JTable model has to be set before the call to initializeLocalVars is made. This is fixed. 2005-11-01 Anthony Balkissoon <[EMAIL PROTECTED]> * javax/swing/JTable.java: (JTable(Ta