- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
private JTextField m_tfSeries = new JTextField(9){
protected void processFocusEvent(FocusEvent e) {
if( m_tfSeries == null
|| m_tfSeries == null
|| !m_tfSeries.isEnabled()
|| !m_tfSeries.isEditable())
return;
super.processFocusEvent(e);
if(e.getID() == FocusEvent.FOCUS_LOST) {
onRangeBeginFocusLost();
}
if(e.getID() == FocusEvent.FOCUS_GAINED) {
reactToChanges();
m_showWarning(WARNING_INVALID_SERIES_ID);
}
}
};
Комментарии (0) RSS
Добавить комментарий