home *** CD-ROM | disk | FTP | other *** search
- import java.beans.*;
-
- public class \Name\BeanInfo extends SimpleBeanInfo
- {
-
- public java.awt.Image getIcon(int iconKind)
- {
- if (iconKind == BeanInfo.ICON_COLOR_16x16)
- {
- java.awt.Image img = loadImage("\Name\Icon16.gif");
- return img;
- }
- if (iconKind == BeanInfo.ICON_COLOR_32x32)
- {
- java.awt.Image img = loadImage("\Name\Icon32.gif");
- return img;
- }
- return null;
- }
-
- public PropertyDescriptor[] getPropertyDescriptors()
- {
- try
- {
- return null;
- }
- catch (Exception ex)
- {
- System.err.println("\Name\BeanInfo: unexpected exeption: " + ex);
- return null;
- }
- }
-
- }
-
-