Flasher Archive
package DCASGUI;
import java.beans.*;
public class FlashPlayerBeanInfo extends SimpleBeanInfo
{
public PropertyDescriptor[] getPropertyDescriptors()
{
try
{
PropertyDescriptor[] props =
{
new PropertyDescriptor("movie", FlashPlayer.class),
new PropertyDescriptor("quality", FlashPlayer.class),
new PropertyDescriptor("scale", FlashPlayer.class),
new PropertyDescriptor("sAlign", FlashPlayer.class),
new PropertyDescriptor("loop", FlashPlayer.class),
new PropertyDescriptor("play", FlashPlayer.class),
new PropertyDescriptor("forceRGB", FlashPlayer.class)
};
props[0].setPropertyEditorClass(URLEditor.class);
return props;
}
catch (IntrospectionException ex)
{
return super.getPropertyDescriptors();
}
}
}