|
@@ -1556,7 +1556,8 @@ public class GUI implements CategoryListener {
|
|
/**
|
|
/**
|
|
* set local graph Period
|
|
* set local graph Period
|
|
*/
|
|
*/
|
|
- unitGraph.setLocalPeriod(localLength);
|
|
|
|
|
|
+ if(e.getKeyCode() == KeyEvent.VK_ENTER)
|
|
|
|
+ unitGraph.setLocalPeriod(localLength);
|
|
}catch(Exception ex){
|
|
}catch(Exception ex){
|
|
unitGraphLocalPeriod.setBackground(Color.RED);
|
|
unitGraphLocalPeriod.setBackground(Color.RED);
|
|
}
|
|
}
|