public JSchalter(String beschriftung, Icon icon, String font, int style, String umrandung, String hintergrungFarbe, String textFarbe, int schriftGroesse, int buttonBreite, int buttonHoehe, int variArrIndex)
{
super(beschriftung, icon);
if (icon != null)
{
setSize(icon.getIconWidth() icon.getIconHeight());
}
setSize(buttonBreite, buttonHoehe);
setFont(new java.awt.Font(font, style, schriftGroesse));
setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
setBackground(Color.LIGHT_GRAY);
setForeground(Color.YELLOW);
}