Problem creating an NSButton subclass in Java
Problem creating an NSButton subclass in Java
- Subject: Problem creating an NSButton subclass in Java
- From: Chris Backas <email@hidden>
- Date: Fri, 01 Aug 2003 21:07:14 -0400 (EDT)
- Priority: Normal
Hello all,
I'm trying to subclass an NSButton in my program with a Java class, so I've picked NSButton in IB, subclassed it, clicked the button in my form, set the custom class property to my new subclass, and created the file
for my new class. (Did I miss anything?)
For whatever reason, my program won't run when my subclass is set at the button's custom class. I get this cryptic console error:
jobjc_jvm_newObject(): constructor with signature (Ljava/io/InputStream;)V on class java/io/ObjectInputStream failed (should morph the java exception)
I don't know what this is referring to, as I don't use the java.io.ObjectInputStream class. Am I missing a step in my above procedure? Thanks for any help.
Chris Backas
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.