Package edu.indiana.extreme.xbaya.gui

Examples of edu.indiana.extreme.xbaya.gui.GridPanel.layout()


    listPanel.layout(1, 1, 0, 0);

    GridPanel mainPanel = new GridPanel();
    mainPanel.add(searchPanel);
    mainPanel.add(listPanel);
    mainPanel.layout(2, 1, GridPanel.WEIGHT_EQUALLY, 0);

    JPanel buttonPanel = new JPanel();
    this.editButton = new JButton("Edit");
    this.editButton.addActionListener(new AbstractAction() {
      @Override
View Full Code Here


    infoPanel.layout(4, 2, GridPanel.WEIGHT_NONE, 1);

    GridPanel mainPanel = new GridPanel();
    mainPanel.add(this.parameterPanel);
    mainPanel.add(infoPanel);
    mainPanel.layout(2, 1, 0, 0);

    JButton okButton = new JButton("OK");
    okButton.addActionListener(new AbstractAction() {
      public void actionPerformed(ActionEvent e) {
        execute();
View Full Code Here

        });

        GridPanel buttonPanel = new GridPanel();
        buttonPanel.add(this.upButton);
        buttonPanel.add(this.downButton);
        buttonPanel.layout(2, 1, GridPanel.WEIGHT_NONE, 0);

        GridPanel reorderingPanel = new GridPanel();
        reorderingPanel.add(this.parameterList);
        reorderingPanel.add(buttonPanel);
        reorderingPanel.layout(1, 2, 0, 0);
View Full Code Here

        buttonPanel.layout(2, 1, GridPanel.WEIGHT_NONE, 0);

        GridPanel reorderingPanel = new GridPanel();
        reorderingPanel.add(this.parameterList);
        reorderingPanel.add(buttonPanel);
        reorderingPanel.layout(1, 2, 0, 0);

        this.metadataTextArea = new XBayaTextArea();
        JLabel metadataLabel = new JLabel("Metadata");
        metadataLabel.setLabelFor(this.metadataTextArea.getSwingComponent());
View Full Code Here

    mainPanel.add(this.nameTextField);
    mainPanel.add(descriptionLabel);
    mainPanel.add(this.descriptionTextArea);
        chkMakePublic = new JCheckBox("Make public");
    mainPanel.add(chkMakePublic);
    mainPanel.layout(2,2,0,0);
       
        this.dialog = new XBayaDialog(this.engine,
                "Save Workflow to XRegistry", mainPanel, buttonPanel);
        this.dialog.setDefaultButton(this.okButton);
  }
View Full Code Here

    infoPanel.add(this.jdkNameLabel);
    infoPanel.add(this.jdkNameComboBox);
    infoPanel.add(this.jdkPathLabel);
    infoPanel.add(this.jdkPathTextField);
   
    infoPanel.layout(13, 2, GridPanel.WEIGHT_NONE, 1);

    JPanel buttonPanel = new JPanel();
    this.addHostButton = new JButton();
    this.addHostButton.setText("Add Host");
    this.addHostButton
View Full Code Here

    GridPanel mainPanel = new GridPanel();
    TitledBorder border = new TitledBorder(new EtchedBorder(),
        "Select a workflow to load");
    mainPanel.getSwingComponent().setBorder(border);
    mainPanel.add(this.list);
    mainPanel.layout(1, 1, 0, 0);

    JPanel buttonPanel = new JPanel();
    this.okButton = new JButton("Load");
    this.okButton.addActionListener(new AbstractAction() {
      public void actionPerformed(ActionEvent e) {
View Full Code Here

    mainPanel.add(consoleLabel);
    mainPanel.add(this.consoleTextArea);
    mainPanel.add(commandLabel);
    mainPanel.add(this.commandField);

    mainPanel.layout(5, 1, GridPanel.WEIGHT_NONE, 1);

    JButton sendButton = new JButton("Send");
    sendButton.addActionListener(new AbstractAction() {
      /**
       * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
View Full Code Here

    this.instanceTypeComboBox = new XBayaComboBox(new DefaultComboBoxModel(AmazonUtil.INSTANCE_TYPE));
    this.instanceTypeComboBox.setSelectedItem(AmazonUtil.INSTANCE_TYPE[1]);
    GridPanel amiPanel = new GridPanel();   
    amiPanel.add(this.amiButton);
    amiPanel.add(this.instanceTypeComboBox);
    amiPanel.layout(1, 2, GridPanel.WEIGHT_NONE, 1);
   
    this.idButton = new JRadioButton("Use existing instance");
    this.idButton.addActionListener(new ActionListener() {
      @Override
      public void actionPerformed(ActionEvent paramActionEvent) {
View Full Code Here

    infoPanel.add(this.outputNumLabel);
    infoPanel.add(this.outputNumSpinner);
    infoPanel.add(outputDumpLabel);
    infoPanel.add(this.configOutputsButton);

    infoPanel.layout(9, 2, GridPanel.WEIGHT_NONE, 1);

    JPanel buttonPanel = new JPanel();
    this.addServiceButton = new JButton("Add Service");
    this.addServiceButton.addActionListener(new java.awt.event.ActionListener() {
      @Override
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.