Wow, you are right. I put the class file in an html page and it worked fine as an applet. But it does not run as a standalone application.
Thanks
Type: Posts; User: kc120us
Wow, you are right. I put the class file in an html page and it worked fine as an applet. But it does not run as a standalone application.
Thanks
I added the focus listener but nothing happened so it is not getting focus. Here is my entire code.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class...
I thought so. I thought jcboCountries.setFocusable(true) was supposed to do that. Am I using the wrong method?
Hi,
I am trying to add a key Listener to a JComboBox so that when you hit the delete key, it deletes the item selected from the Combo box. Here is the code that registers the listener to the combo...