View Full Version : Two Sample Bean Code examples do not load

05-07-2003, 07:21 AM
All beans discussed below can be found in

I compiled sample bean code:

It registered fine with the Bean Gallery. I inserted into my
application and it worked fine.

I compiled two other sample beans:

When I try to register these with the Bean Gallery, it rejects
them with the message:

"The item specified cannot be registered. It is not a legal
registerable type."

Class TextDisplayPanelAWTImpl extends class
Class TextDisplayPanelSwingImpl extends class

Are these two PanelImpl classes supported by MP?

Jeff Dillon
05-08-2003, 02:38 PM
You are not supposed to register UI Impl classes. Those are automatically built into the archive by including TextDisplayPanel in your project. The TextDisplay panel automatically loads and intializes ConsoleImpl, AWTImpl, and SwingImpl depending on the UI mode which the installer is running in.

I suggest you read the help section regarding custom beans in 5.0.

01-07-2004, 03:10 AM
I have a related question to this post

I try to test sample included on ISMP5.0

I rename it to WizPanelDestination.java and change the class name of the code as well to WizPanelDestination and compile it with no problem

I register it and insert it to my project successfully

After building I run the installer but it skip the WizPanelDestination

What could have been wrong?