Hello,

I am trying to get the default button to work for an applet.  I am using 
Plug-in 1.3.1 in IE5.5 on WinNT4.0 environment.

I used to use the default JVM of MS and the following code:

KeyStroke enter = KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0);
JTextField f = new JTextField();
Keymap map1 = f.getKeymap();
map1.removeKeyStrokeBinding(enter);
getRootPane().setDefaultButton(SendButton);

But I know the key handling changed in 1.3 from 1.1.4 and would like to know 
how to handle it again.

Thanks,
Nuri

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to