This is the error I get:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at test1.CheckBox.itemStateChanged(CheckBox.java:31)
at...
Type: Posts; User: Dragon3002
This is the error I get:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at test1.CheckBox.itemStateChanged(CheckBox.java:31)
at...
My problem is with ItemListener I'm not sure why it is not working. Well I'm trying to split the ItemListener
into two class.
in the main class I have this
final JCheckBox...