Add to the CustomizableArea "CA2" tag as follows:
Add to the CustomizableArea "CA3" tag as follows:
Add to the CustomizableArea "CA4" tag as follows:
The following is the complete XML file:
<?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE Desktop SYSTEM "desktop.dtd"> <Desktop width="977" height="630" initializerClass="labs.CBTFInitializer" initializerMethod="initEnv" title="Sample Desktop"> <ScenarioArea> <Scenario label="Operations1"> <ButtonRow> <TaskLauncherButton label="Withdrawal" taskName="TX01" width="150" toolTipText="Cash Withdrawal" mnemonic="W" onClick="this.setForeground(new java.awt.Color(255,255,255))" shortDescription="Withdrawal1" /> </ButtonRow> <MenuButtonRow> <MenuButton toolTipText="Operations" iconName="/images/commercial_card.gif"> <MenuItem taskName="TX01" toolTipText="Withdrawal" mnemonic="I" label="Withdrawal" shortDescription="Withdrawal2" /> <Separator/> <MenuItem taskName="OP" toolTipText="Operation" mnemonic="P" longDescription="Operation" label="Operation" operation="op" shortDescription="Operation" /> </MenuButton> </Scenario> <Scenario label="Nothing"> </Scenario> </ScenarioArea> <CustomizableArea name="CA1" width="297"> <Label width="100" height="20" y="0" x="15" label="User name" /> <TextField width="100" height="20" y="17" x="15" text="IBM" name="USER_NAME" /> <IconLabel width="112" height="20" y="5" x="150" iconName="/images/Welcome.gif" /> <Label height="20" y="38" x="15" label="Task" /> <TaskLauncherTextField width="100" height="20" y="57" x="15" onInitialize="this.setForeground(new java.awt.Color(0,0,255))" name ="taskLauncher" /> <IconButton taskName="TX01" width="40" height="40" toolTipText="Withdrawal" iconName="/images/cutovers.gif" shortDescription="Withdrawal3" /> <ExitButton toolTipText="Exit" width="40" height="40" y="35" x="200" iconName="images/door_exit.gif" /> </CustomizableArea> <CustomizableArea name="CA2" width="80"> <IconLabel height="27" y="2" x="24" iconName="/images/earth.gif" /> <DateField y="32" x="2" name="dateField" /> <Timer y="55" x="20" name="timer" /> </CustomizableArea> <CustomizableArea name="CA3" width="247" height="457"> <Tree label="Tree" iconName="/images/Root_node.gif" backgroundSelectionColor="white"> <TreeNode toolTipText="Operations" label="Operations" iconName="/images/tree_node.gif" backgroundSelectionColor="yellow"> <LeafTreeNode taskName="TX01" toolTipText="Withdrawal" label="Withdrawal" iconName="/images/Leaf_node.gif" shortDescription="Withdrawal4" /> </Tree> </TreeNode> </CustomizableArea> <WorkingArea iconName="/images/background.gif" defaultIcon="/images/logo.gif" /> <CustomizableArea name="CA4" width="489" height="30"> <TaskLauncherTextField width="395" height="19" y="5" x="48" onInitialize="this.setForeground(new java.awt.Color(255,0,0))" name="MessageText" /> </CustomizableArea> <TaskArea maxNumberOfTasks="6" /> <TaskInfo taskName="TX01" shortDescription="Withdrawal" longDescription="Withdrawal Operation" operation="ClientWithdrawalOpn" operationPanel="TransactionView" code="WITH" /> </Desktop>