Examples of AnchorConstraint


Examples of com.cloudgarden.layout.AnchorConstraint

      getContentPane().setLayout(thisLayout);
      {
        reportDetail = new JTextArea();
        getContentPane().add(
            reportDetail,
            new AnchorConstraint(84, 852, 709, 304,
                AnchorConstraint.ANCHOR_REL,
                AnchorConstraint.ANCHOR_REL,
                AnchorConstraint.ANCHOR_REL,
                AnchorConstraint.ANCHOR_REL));
        reportDetail.setPreferredSize(new java.awt.Dimension(289, 158));
        reportDetail.setName("reportDetail");
      }
      {
        final DefaultListModel processListModel = new DefaultListModel();
        processList = new JList();
        getContentPane().add(
            processList,
            new AnchorConstraint(49, 224, 709, 23,
                AnchorConstraint.ANCHOR_REL,
                AnchorConstraint.ANCHOR_REL,
                AnchorConstraint.ANCHOR_REL,
                AnchorConstraint.ANCHOR_REL));
        processList.setModel(processListModel);
View Full Code Here

Examples of com.cloudgarden.layout.AnchorConstraint

      getContentPane().setLayout(thisLayout);
      {
        referenceLabel = new JLabel();
        getContentPane().add(
            referenceLabel,
            new AnchorConstraint(12, 703, 68, 503,
                AnchorConstraint.ANCHOR_REL,
                AnchorConstraint.ANCHOR_REL,
                AnchorConstraint.ANCHOR_REL,
                AnchorConstraint.ANCHOR_REL));
        referenceLabel
            .setPreferredSize(new java.awt.Dimension(136, 15));
        referenceLabel.setName("reference");
        referenceLabel.setText("Reference Data:");
      }
      {
        referenceTextArea = new JTextArea();
        getContentPane().add(
            referenceTextArea,
            new AnchorConstraint(101, 962, 727, 503,
                AnchorConstraint.ANCHOR_REL,
                AnchorConstraint.ANCHOR_REL,
                AnchorConstraint.ANCHOR_REL,
                AnchorConstraint.ANCHOR_REL));
        referenceTextArea.setPreferredSize(new java.awt.Dimension(312,
            169));
        referenceTextArea.setName("referenceTextArea");
        referenceTextArea.setEditable(false);
      }
      this.setReferenceArea();
      javax.swing.ActionMap actionMap = org.jdesktop.application.Application
          .getInstance(
              org.plugtree.training.jbpm.humantasks.client.ui.Application.class)
          .getContext().getActionMap(WriteDocumentDialog.class, this);
      {
        taskLabel = new JLabel();
        getContentPane().add(
            taskLabel,
            new AnchorConstraint(27, 680, 101, 11,
                AnchorConstraint.ANCHOR_REL,
                AnchorConstraint.ANCHOR_REL,
                AnchorConstraint.ANCHOR_REL,
                AnchorConstraint.ANCHOR_REL));
        taskLabel.setPreferredSize(new java.awt.Dimension(455, 20));
        taskLabel.setText("Your task is "
            + taskSummary.getDescription());
      }
      {
        submitWriteButton = new JButton();
        getContentPane().add(
            submitWriteButton,
            new AnchorConstraint(772, 378, 929, 66,
                AnchorConstraint.ANCHOR_REL,
                AnchorConstraint.ANCHOR_REL,
                AnchorConstraint.ANCHOR_REL,
                AnchorConstraint.ANCHOR_REL));
        submitWriteButton.setPreferredSize(new java.awt.Dimension(120,
            41));
        submitWriteButton.setName("SubmitWriteButton");
        submitWriteButton.setAction(actionMap.get("completeTask"));
        submitWriteButton.setText("Submit Task");
        submitWriteButton.setEnabled(false);
      }
      {
        startWriteButton = new JButton();
        getContentPane().add(
            startWriteButton,
            new AnchorConstraint(772, 920, 929, 605,
                AnchorConstraint.ANCHOR_REL,
                AnchorConstraint.ANCHOR_REL,
                AnchorConstraint.ANCHOR_REL,
                AnchorConstraint.ANCHOR_REL));
        startWriteButton.setPreferredSize(new java.awt.Dimension(121,
            41));
        startWriteButton.setName("startWriteButton");
        startWriteButton.setAction(actionMap.get("startTask"));
        startWriteButton.setText("Start task");
      }
      {
        writeDocumentPanel = new JTextArea();
        getContentPane().add(
            writeDocumentPanel,
            new AnchorConstraint(101, 447, 727, 37,
                AnchorConstraint.ANCHOR_REL,
                AnchorConstraint.ANCHOR_REL,
                AnchorConstraint.ANCHOR_REL,
                AnchorConstraint.ANCHOR_REL));
        writeDocumentPanel.setPreferredSize(new java.awt.Dimension(279,
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.