Mega Code Archive

 
Categories / Java Tutorial / Development
 

Extends SimpleBeanInfo

/**  * FontSelectorBeanBeanInfo.java  1.00 97/08/09 Merlin Hughes  *  * Copyright (c) 1997 Merlin Hughes, All Rights Reserved.  *  * Permission to use, copy, modify, and distribute this software  * for commercial and non-commercial purposes and without fee is  * hereby granted provided that this copyright notice appears in  * all copies.  *  * http://prominence.com/                         ego@merlin.org  */ import java.awt.Image; import java.beans.SimpleBeanInfo; public class FontSelectorBeanBeanInfo extends SimpleBeanInfo {   public Image getIcon(int iconKind) {     if (iconKind == ICON_COLOR_16x16) {       return loadImage("FontSelectorBeanIconColor16.gif");     } else {       return null;     }   } }