XML Feeds

.

[java-dev] newDefault() doesn't work for GUI objects

Oliver Bown ollie at icarus.nu
Mon Feb 4 12:32:19 MST 2008


Hello Java Maxers,

why is it OK for me to type "button" into a Max box and get a button,  
but it's not OK for me to call myPatcher.newDefault(x, y, "button",  
null) in an mxj object? The latter gives a failure message.

Cheers,

Ollie

PS: I found this cool error message when you try to create an object  
from a Swing thread: "Constructing object from unknown thread!!!!This  
is no good. How did it happen!"
I love the neurotic touch, especially in response to being told what  
to do Swing. I feel I can relate to mxj even more now.


More information about the java-dev mailing list