void this_keyPressed(KeyEvent e) {
switch(e.getKeyCode())
{
case KeyEvent.VK_F11 :
ctDangaeStart_actionPerformed(new ActionEvent(this,KeyEvent.VK_F11,""));
case KeyEvent.VK_F12 :
ctDangaeEnd_actionPerformed(new ActionEvent(this,KeyEvent.VK_F12,""));
case KeyEvent.VK_F8 :
ctApply_actionPerformed(new ActionEvent(this,KeyEvent.VK_F8,""));
case KeyEvent.VK_TAB :
System.out.println("this is tab!");//there must some action
default :
;//null default
}
interTmp3 = new Integer(strSQL);
}
catch(NumberFormatException event) {
JOptionPane.showMessageDialog(this,"the database is not number record!");
return;
}
if((interTmp1.intValue()+interTmp2.intValue())>interTmp3.intValue()) {
if(JOptionPane.NO_OPTION == JOptionPane.showConfirmDialog(this,"投入量を上回りますが 宜しいですか?","",JOptionPane.YES_NO_OPTION))
return ;
}
//strSQL = "UPDATE
}
void this_keyPressed(KeyEvent e) {
switch(e.getKeyCode())
{
case KeyEvent.VK_F11 :
ctDangaeStart_actionPerformed(new ActionEvent(this,KeyEvent.VK_F11,""));
case KeyEvent.VK_F12 :
ctDangaeEnd_actionPerformed(new ActionEvent(this,KeyEvent.VK_F12,""));
case KeyEvent.VK_F8 :
ctApply_actionPerformed(new ActionEvent(this,KeyEvent.VK_F8,""));
case KeyEvent.VK_TAB :
System.out.println("this is tab!");//there must some action
default :
;//null default
}