Example usage for javax.swing JTable isEditing

List of usage examples for javax.swing JTable isEditing

Introduction

In this page you can find the example usage for javax.swing JTable isEditing.

Prototype

@BeanProperty(bound = false)
public boolean isEditing() 

Source Link

Document

Returns true if a cell is being edited.

Usage

From source file:com.aw.swing.mvp.grid.GridProvider.java

public void removeEditor() {
    JTable jTable = bndSJTable.getJTable();
    if (jTable.isEditing()) {
        jTable.editingStopped(new ChangeEvent(jTable));
    }//from   w ww.  j  a  v  a 2 s .  com
    if (hasFixedColumns()) {
        JTable fixedTable = bndSJTable.getFixedColumnTableMgr().getFixedTable();
        if (fixedTable != null && fixedTable.isEditing()) {
            fixedTable.editingStopped(new ChangeEvent(fixedTable));
        }
    }
}