import java.awt.*; import java.util.*; import com.baselet.control.constants.Constants; import com.baselet.control.util.Utils; import com.baselet.element.old.custom.CustomElement; @SuppressWarnings("serial") public class <!CLASSNAME!> extends CustomElement { public CustomElementImpl() { } @Override public void paint() { Vector<String> textlines = Utils.decomposeStrings(this.getPanelAttributes()); /****CUSTOM_CODE START****/ //Modify the code below to define the element's behavior. // //Example: Change the line // y += printCenter(textline,y); //to // y += 2*printCenter(textline,y); //and observe the element preview. int y=textHeight(); drawRectangle(0,0,width,height); for(String textline : textlines) { y += printCenter(textline,y); } /****CUSTOM_CODE END****/ } }