package apps.firstapp; import jvx.rad.genui.UIImage; import jvx.rad.ui.IAlignmentConstants; import jvx.rad.ui.component.IButton; import com.sibvisions.rad.ui.swing.impl.SwingFactory; public class CustomSwingFactory extends SwingFactory { public IButton createButton() { IButton button = super.createButton(); button.setBackground(null); button.setHorizontalAlignment(IAlignmentConstants.ALIGN_LEFT); button.setImage(UIImage.getImage(UIImage.OK_SMALL)); button.setBorderOnMouseEntered(true); return button; } }