Computer
-
Sony Ericcson T610 소프트키 처리Computer/J2ME for GSM 2004. 10. 14. 19:46
softkey 가 keyProcess 호출 안하므로 Command 써야 한다. addCommand(new Command("choose",Command.SCREEN,4)); addCommand(new Command("exit",Command.SCREEN,4)); setCommandListener(this); public void commandAction(Command c,Displayable d){ String label = c.getLabel(); if(label.equals("choose")){ processComponentEvent(); }else if(label.equals("exit")){ MIDlet.exit(); } } 이런 식으로.