View Single Post
  #2 (permalink)  
Old 08-06-2007, 06:44 PM
gabriel gabriel is offline
Member
 
Join Date: Jul 2007
Posts: 41
gabriel is on a distinguished road
Code:
txtBox.addKeyListener(new ActionListener(){ public void actionPerformed(ActionEvent e) { Type();/* this will go to your function Type() */ } }); Public void Type() { txtBox.getText(); /*not exactly sure what you want but this is just a quick example of what you can do */ }
Reply With Quote