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,