I have a problem I'm trying to disable JButton with setEnabled(false) like this:
ButtonNewCustomer.setEnabled(false);
But this didn't work so then I imported the Applet packages, but still not working, then I discovered that I also needed to use extends Applet in the class, but the problem is that I'm already using extends for other things like this:
public class GUI4EX extends JFrame implements ActionListener {
...
}
I have tried to add Applet, but this dont't work! Is there a way to solve this? Thanks!
EDIT: It's working know! The problem was a misspelling of the buttonNewCustomer. The first letter 'b' was 'B'. Sorry! And thanks for the help!