home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 July & August
/
Pcwk78a98.iso
/
Internet
/
Javadraw
/
DATA.Z
/
bcbi.pre
< prev
next >
Wrap
Text File
|
1997-02-08
|
792b
|
36 lines
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;
}
}
}