Changeset 1872
- Timestamp:
- 05/13/09 16:40:13 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
jmatter-complet/trunk/modules/swingvm/src/com/u2d/view/swing/list/CompositeTableView.java
r1668 r1872 159 159 public void stateChanged(ChangeEvent e) 160 160 { 161 if (_leo.parentObject() != null) 162 { 163 _addBtn.setEnabled(_leo.parentObject().isEditableState()); 164 } 161 SwingUtilities.invokeLater(new Runnable() { 162 public void run() 163 { 164 if (_leo.parentObject() != null) 165 { 166 _addBtn.setEnabled(_leo.parentObject().isEditableState()); 167 } 168 } 169 }); 165 170 } 166 171
