Arachnophilia Java Custom Class with Listener

  • Thread starter Thread starter Jolly Green Giant
  • Start date Start date
J

Jolly Green Giant

Since Arachnophilia first went Java a while back, I have been wanting
to use the rudimentary Java skills I possess to create an html tag
generation wizard by using the Custom Classes. Using examples from
books and the net, I have managed to create a Custom Class for Arach
that does create a frame with different form controls on it (buttons,
text boxes, etc.). But the minute I add a Button Listener class to the
mix, running it throws an error to the Arach error log file like so ...

Exception in thread "AWT-EventQueue-0"
java.lang.NoClassDefFoundError:
JFrameTest$ButtonListener at
JFrameTest.<init>(JFrameTest.java:21)

The button listener is a separate class file. Apparently, it has to
be... I don't know. I've tried putting the BL class file many
different places because it doesn't seem to be finding it. But nothing
works. I've had two experienced Java folks try to help me with the
problem, but I'm guessing the issue is more with the way Arachnophilia
calls Custom Classes or something.

IOW, whenever a Custom Class I call tries to reference another class, I
get an error.

Can anyone help?

JGG
 
Back
Top