Package edu.indiana.extreme.xbaya.gui

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


    uploadPanel.getSwingComponent().setBorder(BorderFactory.createTitledBorder("Upload"));
    uploadPanel.add(fileLabel);
    uploadPanel.add(this.fileTextField);
    uploadPanel.add(uploadBucketLabel);
    uploadPanel.add(this.uploadBucketTextField);
    uploadPanel.layout(2, 2, GridPanel.WEIGHT_NONE, 1);

    /*
     * Download Panel
     */        if (AmazonCredential.getInstance().getAwsAccessKeyId().equals("AKIAI3GNMQVYA5LSQNEQ")) { // Avoid to use default Aws Access Key
        JOptionPane.showMessageDialog(AmazonS3UtilsWindow.this.dialog.getDialog(),
View Full Code Here


    downloadPanel.add(this.downloadBucketTextField);
    downloadPanel.add(keyLabel);
    downloadPanel.add(this.keyTextField);
    downloadPanel.add(folderLabel);
    downloadPanel.add(this.folderTextField);
    downloadPanel.layout(3, 2, GridPanel.WEIGHT_NONE, 1);

    /*
     * Button Panel
     */ 
    JButton refreshButton = new JButton("Connect/Refresh");
View Full Code Here

    GridPanel mainPanel = new GridPanel(true);
    this.s3Tree = new S3Tree();
    mainPanel.add(new JScrollPane(this.s3Tree));
    mainPanel.add(uploadPanel);
    mainPanel.add(downloadPanel);
    mainPanel.layout(3, 1, 0, GridPanel.WEIGHT_EQUALLY);
   
   
    this.s3Tree.addTreeSelectionListener(new TreeSelectionListener() {     
      @Override
      public void valueChanged(TreeSelectionEvent e) {
View Full Code Here

    infoPanel.add(accessKeyIDLabel);
    infoPanel.add(this.accessKeyIDTextField);
    infoPanel.add(secretAccessKeyLabel);
    infoPanel.add(this.secretAccessKeyTextField);

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

    GridPanel mainPanel = new GridPanel();
    mainPanel.add(infoPanel);
    mainPanel.layout(1, 1, GridPanel.WEIGHT_EQUALLY, GridPanel.WEIGHT_EQUALLY);
View Full Code Here

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

    GridPanel mainPanel = new GridPanel();
    mainPanel.add(infoPanel);
    mainPanel.layout(1, 1, GridPanel.WEIGHT_EQUALLY, GridPanel.WEIGHT_EQUALLY);

    JButton okButton = new JButton("Ok");
    okButton.addActionListener(new AbstractAction() {

      @Override
View Full Code Here

    infoPanel.add(jarFilePathOnS3Label);
    infoPanel.add(this.jarFilePathOnS3TextField);
    infoPanel.add(mainClassNameLabel);
    infoPanel.add(this.mainClassNameTextField);
   
    infoPanel.layout(10, 2, GridPanel.WEIGHT_NONE, 1);
   
    GridPanel mainPanel = new GridPanel();
    mainPanel.add(infoPanel);
    mainPanel.layout(1, 1, 0, 0);
   
View Full Code Here

   
    infoPanel.layout(10, 2, GridPanel.WEIGHT_NONE, 1);
   
    GridPanel mainPanel = new GridPanel();
    mainPanel.add(infoPanel);
    mainPanel.layout(1, 1, 0, 0);
   
    this.invokeButton = new JButton("Invoke");
    this.invokeButton.addActionListener(new AbstractAction() {
      public void actionPerformed(ActionEvent e) {
        execute();
View Full Code Here

    GridPanel radioPanel = new GridPanel();
    radioPanel.add(this.noKeyButton);
    radioPanel.add(new JPanel());
    radioPanel.add(this.existKeyButton);
    radioPanel.add(this.keyComboBox);
    radioPanel.layout(2, 2, 0, 1);

    XBayaLabel keyLabel = new XBayaLabel("Key Pair", radioPanel);

    GridPanel mainPanel = new GridPanel(true);
    mainPanel.add(amiLabel);
View Full Code Here

    mainPanel.add(this.numberOfInstanceSpinner);
    mainPanel.add(instanceTypeLabel);
    mainPanel.add(this.instanceTypeComboBox);
    mainPanel.add(keyLabel);
    mainPanel.add(radioPanel);
    mainPanel.layout(4, 2, 0, GridPanel.WEIGHT_EQUALLY);

    /*
     * Button Panel
     */
    JButton lunchButton = new JButton("Launch");
View Full Code Here

    GridPanel mainPanel = new GridPanel();
    TitledBorder border = new TitledBorder(new EtchedBorder(), "My Instances");
    mainPanel.getSwingComponent().setBorder(border);
    mainPanel.add(this.list);
    mainPanel.layout(1, 1, 0, 0);

    /*
     * Connect/Refresh Button
     */
    JButton refreshButton = new JButton("Refresh");
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.