/**
 * This file was automatically generated.  Do not manually modify this file.
 *
 * Runtime vendor: SunSoft, Inc.
 * Runtime version: 1.0
 *
 * Visual vendor: SunSoft, Inc.
 * Visual version: 1.0
 */


import sunsoft.jws.visual.rt.awt.GBConstraints;
import sunsoft.jws.visual.rt.base.*;
import sunsoft.jws.visual.rt.shadow.*;
import sunsoft.jws.visual.rt.shadow.java.awt.*;
import sunsoft.jws.visual.rt.type.*;

import sunsoft.jws.visual.rt.base.Root;
import sunsoft.jws.visual.rt.shadow.java.awt.FrameShadow;
import sunsoft.jws.visual.rt.shadow.GBPanelShadow;
import sunsoft.jws.visual.rt.shadow.java.awt.LabelShadow;
import sunsoft.jws.visual.rt.shadow.java.awt.TextFieldShadow;
import sunsoft.jws.visual.rt.shadow.java.awt.ButtonShadow;
import sunsoft.jws.visual.rt.shadow.java.awt.DialogShadow;
import sunsoft.jws.visual.rt.shadow.MultiLineLabelShadow;

public class CommandeRoot extends Root {
  public TextFieldShadow Article1;
  public TextFieldShadow Article2;
  public TextFieldShadow Client;
  public TextFieldShadow Commande;
  public DialogShadow CommandeTextile;
  public DialogShadow ConfirmCommande;
  public TextFieldShadow Couleur1;
  public TextFieldShadow Couleur2;
  public TextFieldShadow Date;
  public TextFieldShadow Description1;
  public TextFieldShadow Description2;
  public TextFieldShadow Dimension1;
  public TextFieldShadow Dimension2;
  public TextFieldShadow Fournisseur;
  public MultiLineLabelShadow LabelErreur;
  public DialogShadow MessageErreur;
  public ButtonShadow OK;
  public TextFieldShadow Quantite1;
  public TextFieldShadow Quantite2;
  public MultiLineLabelShadow TexteConfirm;
  public TextFieldShadow Tissus1;
  public TextFieldShadow Tissus2;
  public ButtonShadow Validation;
  public MultiLineLabelShadow XmlCommande;
  public MultiLineLabelShadow XmlConfirm;
  public ButtonShadow button1;
  public ButtonShadow button2;
  public GBPanelShadow gbpanel1;
  public GBPanelShadow gbpanel2;
  public GBPanelShadow gbpanel3;
  public GBPanelShadow gbpanel4;
  public LabelShadow label1;
  public LabelShadow label10;
  public LabelShadow label11;
  public LabelShadow label12;
  public LabelShadow label13;
  public LabelShadow label14;
  public LabelShadow label15;
  public LabelShadow label16;
  public LabelShadow label17;
  public LabelShadow label18;
  public LabelShadow label19;
  public LabelShadow label2;
  public LabelShadow label20;
  public LabelShadow label21;
  public LabelShadow label22;
  public LabelShadow label3;
  public LabelShadow label4;
  public LabelShadow label5;
  public LabelShadow label6;
  public LabelShadow label7;
  public LabelShadow label8;
  public LabelShadow label9;
  public Root root1;

  public CommandeRoot(Group group) {
    setGroup(group);

    gbpanel1 = new GBPanelShadow();
    gbpanel1.set("name", "gbpanel1");
    add(gbpanel1);
    {
      int _tmp[] = {14,14,14,20,14,14,14,14,14,14,14,14,14,14};
      gbpanel1.set("rowHeights", _tmp);
    }
    gbpanel1.set("GBConstraints", new GBConstraints("x=0;y=0;fill=both"));
    {
      int _tmp[] = {14,14,14,14,14,14,14,14,14,14,14,14,14};
      gbpanel1.set("columnWidths", _tmp);
    }
    gbpanel1.set("background", convert("java.awt.Color", "azure"));
    {
      double _tmp[] = {0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0};
      gbpanel1.set("rowWeights", _tmp);
    }
    gbpanel1.set("layoutSize", new java.awt.Dimension(837, 787));
    {
      double _tmp[] = {0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0};
      gbpanel1.set("columnWeights", _tmp);
    }
    gbpanel1.set("layoutLocation", new java.awt.Point(2, 89));

    label1 = new LabelShadow();
    label1.set("name", "label1");
    gbpanel1.add(label1);
    label1.set("GBConstraints", new GBConstraints("x=0;y=0;width=13"));
    label1.set("text", "Coupon Bleu - Commande de Textiles");
    label1.set("foreground", convert("java.awt.Color", "darkgreen"));
    label1.set("background", convert("java.awt.Color", "azure"));
    label1.set("font", convert("java.awt.Font", "name=Dialog;style=plain;size=24"));

    label2 = new LabelShadow();
    label2.set("name", "label2");
    gbpanel1.add(label2);
    label2.set("GBConstraints", new GBConstraints("x=0;y=2;width=3"));
    label2.set("text", "Commande N°");
    label2.set("foreground", convert("java.awt.Color", "blue"));
    label2.set("background", convert("java.awt.Color", "azure"));

    Commande = new TextFieldShadow();
    Commande.set("name", "Commande");
    gbpanel1.add(Commande);
    Commande.set("GBConstraints", new GBConstraints("x=3;y=2;width=2;fill=horizontal"));
    Commande.set("foreground", convert("java.awt.Color", "blue"));
    Commande.set("numColumns", new Integer(6));

    label4 = new LabelShadow();
    label4.set("name", "label4");
    gbpanel1.add(label4);
    label4.set("GBConstraints", new GBConstraints("x=7;y=2;width=3"));
    label4.set("text", "Date (AAAAMMJJ)");
    label4.set("foreground", convert("java.awt.Color", "blue"));
    label4.set("background", convert("java.awt.Color", "azure"));

    Date = new TextFieldShadow();
    Date.set("name", "Date");
    gbpanel1.add(Date);
    Date.set("GBConstraints", new GBConstraints("x=10;y=2;width=2;fill=horizontal"));
    Date.set("foreground", convert("java.awt.Color", "blue"));
    Date.set("numColumns", new Integer(8));
    Date.set("editable", Boolean.FALSE);

    label5 = new LabelShadow();
    label5.set("name", "label5");
    gbpanel1.add(label5);
    label5.set("GBConstraints", new GBConstraints("x=0;y=3;width=3"));
    label5.set("text", "Code client");
    label5.set("foreground", convert("java.awt.Color", "blue"));
    label5.set("background", convert("java.awt.Color", "azure"));

    Client = new TextFieldShadow();
    Client.set("name", "Client");
    gbpanel1.add(Client);
    Client.set("GBConstraints", new GBConstraints("x=3;y=3;width=3;fill=horizontal"));
    Client.set("foreground", convert("java.awt.Color", "blue"));
    Client.set("numColumns", new Integer(13));

    label6 = new LabelShadow();
    label6.set("name", "label6");
    gbpanel1.add(label6);
    label6.set("GBConstraints", new GBConstraints("x=7;y=3;width=3"));
    label6.set("text", "Code fournisseur");
    label6.set("foreground", convert("java.awt.Color", "blue"));
    label6.set("background", convert("java.awt.Color", "azure"));

    Fournisseur = new TextFieldShadow();
    Fournisseur.set("name", "Fournisseur");
    gbpanel1.add(Fournisseur);
    Fournisseur.set("GBConstraints", new GBConstraints("x=10;y=3;width=3;fill=horizontal"));
    Fournisseur.set("foreground", convert("java.awt.Color", "blue"));
    Fournisseur.set("numColumns", new Integer(13));
    Fournisseur.set("editable", Boolean.FALSE);

    label19 = new LabelShadow();
    label19.set("name", "label19");
    gbpanel1.add(label19);
    label19.set("GBConstraints", new GBConstraints("x=0;y=4;width=2"));
    label19.set("text", "Premier article :");
    label19.set("foreground", convert("java.awt.Color", "darkgreen"));
    label19.set("background", convert("java.awt.Color", "azure"));

    label7 = new LabelShadow();
    label7.set("name", "label7");
    gbpanel1.add(label7);
    label7.set("GBConstraints", new GBConstraints("x=0;y=5;width=2"));
    label7.set("text", "Code tissus");
    label7.set("foreground", convert("java.awt.Color", "blue"));
    label7.set("background", convert("java.awt.Color", "azure"));

    Tissus1 = new TextFieldShadow();
    Tissus1.set("name", "Tissus1");
    gbpanel1.add(Tissus1);
    Tissus1.set("GBConstraints", new GBConstraints("x=2;y=5;width=2;fill=horizontal"));
    Tissus1.set("foreground", convert("java.awt.Color", "blue"));

    label8 = new LabelShadow();
    label8.set("name", "label8");
    gbpanel1.add(label8);
    label8.set("GBConstraints", new GBConstraints("x=5;y=5;width=2"));
    label8.set("text", "Description");
    label8.set("foreground", convert("java.awt.Color", "blue"));
    label8.set("background", convert("java.awt.Color", "azure"));

    Description1 = new TextFieldShadow();
    Description1.set("name", "Description1");
    gbpanel1.add(Description1);
    Description1.set("GBConstraints", new GBConstraints("x=7;y=5;width=6;fill=horizontal"));
    Description1.set("foreground", convert("java.awt.Color", "blue"));
    Description1.set("numColumns", new Integer(20));

    label9 = new LabelShadow();
    label9.set("name", "label9");
    gbpanel1.add(label9);
    label9.set("GBConstraints", new GBConstraints("x=0;y=6;width=2"));
    label9.set("text", "Code couleur");
    label9.set("foreground", convert("java.awt.Color", "blue"));
    label9.set("background", convert("java.awt.Color", "azure"));

    Couleur1 = new TextFieldShadow();
    Couleur1.set("name", "Couleur1");
    gbpanel1.add(Couleur1);
    Couleur1.set("GBConstraints", new GBConstraints("x=2;y=6;width=2;fill=horizontal"));
    Couleur1.set("foreground", convert("java.awt.Color", "blue"));

    label12 = new LabelShadow();
    label12.set("name", "label12");
    gbpanel1.add(label12);
    label12.set("GBConstraints", new GBConstraints("x=5;y=6;width=4"));
    label12.set("text", "Référence commande article");
    label12.set("foreground", convert("java.awt.Color", "blue"));
    label12.set("background", convert("java.awt.Color", "azure"));

    Article1 = new TextFieldShadow();
    Article1.set("name", "Article1");
    gbpanel1.add(Article1);
    Article1.set("GBConstraints", new GBConstraints("x=9;y=6;width=2;fill=horizontal"));
    Article1.set("foreground", convert("java.awt.Color", "blue"));
    Article1.set("numColumns", new Integer(6));

    label10 = new LabelShadow();
    label10.set("name", "label10");
    gbpanel1.add(label10);
    label10.set("GBConstraints", new GBConstraints("x=0;y=7;width=2"));
    label10.set("text", "Code dimension");
    label10.set("foreground", convert("java.awt.Color", "blue"));
    label10.set("background", convert("java.awt.Color", "azure"));

    Dimension1 = new TextFieldShadow();
    Dimension1.set("name", "Dimension1");
    gbpanel1.add(Dimension1);
    Dimension1.set("GBConstraints", new GBConstraints("x=2;y=7;width=2;fill=horizontal"));
    Dimension1.set("foreground", convert("java.awt.Color", "blue"));

    label11 = new LabelShadow();
    label11.set("name", "label11");
    gbpanel1.add(label11);
    label11.set("GBConstraints", new GBConstraints("x=5;y=7;width=2"));
    label11.set("text", "Quantité");
    label11.set("foreground", convert("java.awt.Color", "blue"));
    label11.set("background", convert("java.awt.Color", "azure"));

    Quantite1 = new TextFieldShadow();
    Quantite1.set("name", "Quantite1");
    gbpanel1.add(Quantite1);
    Quantite1.set("GBConstraints", new GBConstraints("x=7;y=7;width=2;fill=horizontal"));
    Quantite1.set("foreground", convert("java.awt.Color", "blue"));

    label20 = new LabelShadow();
    label20.set("name", "label20");
    gbpanel1.add(label20);
    label20.set("GBConstraints", new GBConstraints("x=0;y=8;width=2"));
    label20.set("text", "Second article :");
    label20.set("foreground", convert("java.awt.Color", "darkgreen"));
    label20.set("background", convert("java.awt.Color", "azure"));

    label13 = new LabelShadow();
    label13.set("name", "label13");
    gbpanel1.add(label13);
    label13.set("GBConstraints", new GBConstraints("x=0;y=9;width=2"));
    label13.set("text", "Code tissus");
    label13.set("foreground", convert("java.awt.Color", "blue"));
    label13.set("background", convert("java.awt.Color", "azure"));

    Tissus2 = new TextFieldShadow();
    Tissus2.set("name", "Tissus2");
    gbpanel1.add(Tissus2);
    Tissus2.set("GBConstraints", new GBConstraints("x=2;y=9;width=2;fill=horizontal"));
    Tissus2.set("text", "0");
    Tissus2.set("foreground", convert("java.awt.Color", "blue"));

    label16 = new LabelShadow();
    label16.set("name", "label16");
    gbpanel1.add(label16);
    label16.set("GBConstraints", new GBConstraints("x=5;y=9;width=2"));
    label16.set("text", "Description");
    label16.set("foreground", convert("java.awt.Color", "blue"));
    label16.set("background", convert("java.awt.Color", "azure"));

    Description2 = new TextFieldShadow();
    Description2.set("name", "Description2");
    gbpanel1.add(Description2);
    Description2.set("GBConstraints", new GBConstraints("x=7;y=9;width=6;fill=horizontal"));
    Description2.set("foreground", convert("java.awt.Color", "blue"));
    Description2.set("numColumns", new Integer(20));

    label14 = new LabelShadow();
    label14.set("name", "label14");
    gbpanel1.add(label14);
    label14.set("GBConstraints", new GBConstraints("x=0;y=10;width=2"));
    label14.set("text", "Code couleur");
    label14.set("foreground", convert("java.awt.Color", "blue"));
    label14.set("background", convert("java.awt.Color", "azure"));

    Couleur2 = new TextFieldShadow();
    Couleur2.set("name", "Couleur2");
    gbpanel1.add(Couleur2);
    Couleur2.set("GBConstraints", new GBConstraints("x=2;y=10;width=2;fill=horizontal"));
    Couleur2.set("foreground", convert("java.awt.Color", "blue"));

    label17 = new LabelShadow();
    label17.set("name", "label17");
    gbpanel1.add(label17);
    label17.set("GBConstraints", new GBConstraints("x=5;y=10;width=4"));
    label17.set("text", "Référence commande article");
    label17.set("foreground", convert("java.awt.Color", "blue"));
    label17.set("background", convert("java.awt.Color", "azure"));

    Article2 = new TextFieldShadow();
    Article2.set("name", "Article2");
    gbpanel1.add(Article2);
    Article2.set("GBConstraints", new GBConstraints("x=9;y=10;width=2;fill=horizontal"));
    Article2.set("foreground", convert("java.awt.Color", "blue"));
    Article2.set("numColumns", new Integer(6));

    label15 = new LabelShadow();
    label15.set("name", "label15");
    gbpanel1.add(label15);
    label15.set("GBConstraints", new GBConstraints("x=0;y=11;width=2"));
    label15.set("text", "Code dimension");
    label15.set("foreground", convert("java.awt.Color", "blue"));
    label15.set("background", convert("java.awt.Color", "azure"));

    Dimension2 = new TextFieldShadow();
    Dimension2.set("name", "Dimension2");
    gbpanel1.add(Dimension2);
    Dimension2.set("GBConstraints", new GBConstraints("x=2;y=11;width=2;fill=horizontal"));
    Dimension2.set("foreground", convert("java.awt.Color", "blue"));

    label18 = new LabelShadow();
    label18.set("name", "label18");
    gbpanel1.add(label18);
    label18.set("GBConstraints", new GBConstraints("x=5;y=11;width=2"));
    label18.set("text", "Quantité");
    label18.set("foreground", convert("java.awt.Color", "blue"));
    label18.set("background", convert("java.awt.Color", "azure"));

    Quantite2 = new TextFieldShadow();
    Quantite2.set("name", "Quantite2");
    gbpanel1.add(Quantite2);
    Quantite2.set("GBConstraints", new GBConstraints("x=7;y=11;width=2;fill=horizontal"));
    Quantite2.set("foreground", convert("java.awt.Color", "blue"));

    Validation = new ButtonShadow();
    Validation.set("name", "Validation");
    gbpanel1.add(Validation);
    Validation.set("GBConstraints", new GBConstraints("x=3;y=13;width=7"));
    Validation.set("text", "Appuyez ici pour validez votre commande");
    Validation.set("foreground", convert("java.awt.Color", "darkgreen"));
    Validation.set("background", convert("java.awt.Color", "azure"));

    MessageErreur = new DialogShadow();
    MessageErreur.set("name", "MessageErreur");
    add(MessageErreur);
    MessageErreur.set("title", "Saisie incorrecte");
    MessageErreur.set("visible", Boolean.FALSE);
    MessageErreur.set("layoutSize", new java.awt.Dimension(415, 365));
    MessageErreur.set("layoutLocation", new java.awt.Point(238, 364));

    gbpanel2 = new GBPanelShadow();
    gbpanel2.set("name", "gbpanel2");
    MessageErreur.add(gbpanel2);
    {
      int _tmp[] = {14,14,14};
      gbpanel2.set("rowHeights", _tmp);
    }
    gbpanel2.set("GBConstraints", new GBConstraints("x=0;y=0;fill=both"));
    {
      int _tmp[] = {14,14,14,14};
      gbpanel2.set("columnWidths", _tmp);
    }
    gbpanel2.set("foreground", convert("java.awt.Color", "red"));
    gbpanel2.set("background", convert("java.awt.Color", "azure"));
    {
      double _tmp[] = {0.0,0.0,0.0};
      gbpanel2.set("rowWeights", _tmp);
    }
    {
      double _tmp[] = {0.0,0.0,0.0,0.0};
      gbpanel2.set("columnWeights", _tmp);
    }

    LabelErreur = new MultiLineLabelShadow();
    LabelErreur.set("name", "LabelErreur");
    gbpanel2.add(LabelErreur);
    LabelErreur.set("GBConstraints", new GBConstraints("x=0;y=0;width=4;height=2"));
    LabelErreur.set("text", "Message d'erreur\r\ndétail");
    LabelErreur.set("foreground", convert("java.awt.Color", "red"));
    LabelErreur.set("background", convert("java.awt.Color", "azure"));

    OK = new ButtonShadow();
    OK.set("name", "OK");
    gbpanel2.add(OK);
    OK.set("GBConstraints", new GBConstraints("x=1;y=2;width=2"));
    OK.set("text", "OK");
    OK.set("foreground", convert("java.awt.Color", "darkgreen"));
    OK.set("background", convert("java.awt.Color", "azure"));

    ConfirmCommande = new DialogShadow();
    ConfirmCommande.set("name", "ConfirmCommande");
    add(ConfirmCommande);
    ConfirmCommande.set("title", "Message XML de Confirmation de Commande de Textile");
    ConfirmCommande.set("visible", Boolean.FALSE);
    ConfirmCommande.set("layoutSize", new java.awt.Dimension(1051, 526));
    ConfirmCommande.set("layoutLocation", new java.awt.Point(15, 322));

    gbpanel3 = new GBPanelShadow();
    gbpanel3.set("name", "gbpanel3");
    ConfirmCommande.add(gbpanel3);
    {
      int _tmp[] = {14,14,14,14,14,14,14,14,14};
      gbpanel3.set("rowHeights", _tmp);
    }
    gbpanel3.set("GBConstraints", new GBConstraints("x=0;y=0;fill=both"));
    {
      int _tmp[] = {14,14,14};
      gbpanel3.set("columnWidths", _tmp);
    }
    gbpanel3.set("background", convert("java.awt.Color", "azure"));
    {
      double _tmp[] = {0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0};
      gbpanel3.set("rowWeights", _tmp);
    }
    {
      double _tmp[] = {0.0,0.0,0.0};
      gbpanel3.set("columnWeights", _tmp);
    }

    label3 = new LabelShadow();
    label3.set("name", "label3");
    gbpanel3.add(label3);
    label3.set("GBConstraints", new GBConstraints("x=0;y=4;width=3"));
    label3.set("text", "Message XML reçu pour la confirmation de commande de Textile :");
    label3.set("foreground", convert("java.awt.Color", "darkgreen"));
    label3.set("background", convert("java.awt.Color", "azure"));
    label3.set("font", convert("java.awt.Font", "name=Dialog;style=plain;size=18"));

    XmlConfirm = new MultiLineLabelShadow();
    XmlConfirm.set("name", "XmlConfirm");
    gbpanel3.add(XmlConfirm);
    XmlConfirm.set("GBConstraints", new GBConstraints("x=0;y=6;width=3"));
    XmlConfirm.set("text", "<?xml version=\"1.0\"?>");
    XmlConfirm.set("foreground", convert("java.awt.Color", "blue"));
    XmlConfirm.set("background", convert("java.awt.Color", "azure"));

    label21 = new LabelShadow();
    label21.set("name", "label21");
    gbpanel3.add(label21);
    label21.set("GBConstraints", new GBConstraints("x=0;y=0;width=3"));
    label21.set("text", "Confirmation de Commande Textile");
    label21.set("foreground", convert("java.awt.Color", "darkgreen"));
    label21.set("background", convert("java.awt.Color", "azure"));
    label21.set("font", convert("java.awt.Font", "name=Dialog;style=plain;size=24"));

    TexteConfirm = new MultiLineLabelShadow();
    TexteConfirm.set("name", "TexteConfirm");
    gbpanel3.add(TexteConfirm);
    TexteConfirm.set("GBConstraints", new GBConstraints("x=0;y=2;width=3"));
    TexteConfirm.set("text", "Confirmation de commande d'article de référence :\nConfirmation de commande d'article de référence :");
    TexteConfirm.set("foreground", convert("java.awt.Color", "blue"));
    TexteConfirm.set("background", convert("java.awt.Color", "azure"));

    button1 = new ButtonShadow();
    button1.set("name", "button1");
    gbpanel3.add(button1);
    button1.set("GBConstraints", new GBConstraints("x=1;y=8"));
    button1.set("text", "OK");
    button1.set("foreground", convert("java.awt.Color", "darkgreen"));
    button1.set("background", convert("java.awt.Color", "azure"));

    CommandeTextile = new DialogShadow();
    CommandeTextile.set("name", "CommandeTextile");
    add(CommandeTextile);
    CommandeTextile.set("title", "Message XML de Commande de Textile");
    CommandeTextile.set("visible", Boolean.FALSE);
    CommandeTextile.set("layoutSize", new java.awt.Dimension(744, 365));
    CommandeTextile.set("layoutLocation", new java.awt.Point(61, 247));

    gbpanel4 = new GBPanelShadow();
    gbpanel4.set("name", "gbpanel4");
    CommandeTextile.add(gbpanel4);
    {
      int _tmp[] = {14,14,14,14,14};
      gbpanel4.set("rowHeights", _tmp);
    }
    gbpanel4.set("GBConstraints", new GBConstraints("x=0;y=0;fill=both"));
    {
      int _tmp[] = {14,14,14,14};
      gbpanel4.set("columnWidths", _tmp);
    }
    gbpanel4.set("background", convert("java.awt.Color", "azure"));
    {
      double _tmp[] = {0.0,0.0,0.0,0.0,0.0};
      gbpanel4.set("rowWeights", _tmp);
    }
    {
      double _tmp[] = {0.0,0.0,0.0,0.0};
      gbpanel4.set("columnWeights", _tmp);
    }

    label22 = new LabelShadow();
    label22.set("name", "label22");
    gbpanel4.add(label22);
    label22.set("GBConstraints", new GBConstraints("x=0;y=0;width=4"));
    label22.set("text", "Message XML transmis pour la commande de Textile :");
    label22.set("foreground", convert("java.awt.Color", "darkgreen"));
    label22.set("background", convert("java.awt.Color", "azure"));
    label22.set("font", convert("java.awt.Font", "name=Dialog;style=plain;size=18"));

    XmlCommande = new MultiLineLabelShadow();
    XmlCommande.set("name", "XmlCommande");
    gbpanel4.add(XmlCommande);
    XmlCommande.set("GBConstraints", new GBConstraints("x=0;y=2;width=4"));
    XmlCommande.set("text", "<?xml version=\"1.0\"?>\n");
    XmlCommande.set("foreground", convert("java.awt.Color", "blue"));
    XmlCommande.set("background", convert("java.awt.Color", "azure"));

    button2 = new ButtonShadow();
    button2.set("name", "button2");
    gbpanel4.add(button2);
    button2.set("GBConstraints", new GBConstraints("x=1;y=4;width=2"));
    button2.set("text", "OK");
    button2.set("foreground", convert("java.awt.Color", "darkgreen"));
    button2.set("background", convert("java.awt.Color", "azure"));

    group.addOperations(new CommandeOps());
  }

  // methods from lib/visual/gen/methods.java

  /**
   * Converts a string to the specified type.
   */
  private Object convert(String type, String value) {
    return(Converter.getConverter(type).convertFromString(value));
  }
}
