I want to control my buttons in keys instead of mouse.for that I have used setMnemonic.but now too its not working.here is my code.pls correct the code and help me.
public class AstMonitor extends JApplet implements ActionListener, Runnable { Thread astThread;
JButton logout = new JButton("logout"); public void init() {