swing/src/net/sf/xframe/swing/table KTable.java,1.5,1.6
I?aqui Medina <[email protected]> Tue, 31 May 2005 23:36:48 +0000
| Newsgroups | gmane.text.xml.xframe.xsddoc.devel |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/xframe/swing/src/net/sf/xframe/swing/table
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25175/src/net/sf/xframe/swing/table
Modified Files:
KTable.java
Log Message:
Fix for bug 1205706
Index: KTable.java
===================================================================
RCS file: /cvsroot/xframe/swing/src/net/sf/xframe/swing/table/KTable.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** KTable.java 22 May 2005 21:26:14 -0000 1.5
--- KTable.java 31 May 2005 23:36:45 -0000 1.6
***************
*** 387,392 ****
*/
public void editingStopped(final ChangeEvent changeEvent) {
! super.editingStopped(changeEvent);
! fireItemStateChanged(null);
}
--- 387,394 ----
*/
public void editingStopped(final ChangeEvent changeEvent) {
! final JXTable table = getEnclosingJXTable();
! if (table != null) {
! table.editingStopped(changeEvent);
! }
}
***************
*** 395,398 ****
--- 397,411 ----
*/
public void editingCanceled(final ChangeEvent changeEvent) {
+ final JXTable table = getEnclosingJXTable();
+ if (table != null) {
+ table.editingCanceled(changeEvent);
+ }
+ }
+
+ public void superEditingStopped(final ChangeEvent changeEvent) {
+ super.editingStopped(changeEvent);
+ }
+
+ public void superEditingCanceled(final ChangeEvent changeEvent) {
super.editingCanceled(changeEvent);
fireItemStateChanged(null);
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005