<xal xmlns="http://openxal.org/ui/java">
    <borderPane horizontalGap="0" verticalGap="0" borderPosition="center" width="800" height="500">    
     <borderPane borderPosition="north">  
        <menuBar borderPosition="north">
        <menu text="File" accessKey="F">
         <popupMenu text="FilePopupMenu">
          <menuItem text="New..." accessKey="N" shortcutText="Alt+Shift+N"/>
          <menuItem text="Open..." accessKey="O"/>
          <horizontalSeparator width="100"/>
          <menuItem text="Close" accessKey="C" shortcutText="Ctrl+F4"/>
          <horizontalSeparator width="100"/>
          <menuItem text="Save" accessKey="S" shortcutText="Ctrl-S"/>
          <horizontalSeparator/>
          <menuItem text="Exit" accessKey="E"/>
         </popupMenu>
        </menu>
        <menu text="Edit" x="10" y="10" accessKey="E">
         <popupMenu text="EditPopupMenu">
          <menuItem text="Cut" accessKey="C" shortcutText="Ctrl+X"/>
          <menuItem text="Copy" shortcutText="Ctrl+C" accessKey="o"/>
          <menuItem text="Paste" shortcut="Ctrl-V" accessKey="P"/>
          <horizontalSeparator/>
          <menuItem text="Delete" accessKey="D" shortcutText="Delete"/>
         </popupMenu>
        </menu>        
        <menu text="Options" x="30" y="30" accessKey="O">
         <popupMenu text="OptionsPopupMenu">
          <menuItem text="Preferences..." accessKey="P"/>
         </popupMenu>
        </menu>
        <menu text="Help" x="40" y="40" accessKey="H">
         <popupMenu text="OptionsPopupMenu">
          <menuItem text="Contents..." accessKey="C"/>
          <horizontalSeparator/>
          <menuItem text="About..." accessKey="A"/>
         </popupMenu>
        </menu>
      </menuBar>
      
      <horizontalToolBar borderPosition="center">
        <button text="New" imageHeight="16" imageWidth="16" accessKey="N" image="images/new.gif"/>
        <button text="Open" x="10" y="10" image="images/open.gif" imageHeight="16" imageWidth="16" accessKey="O"/>
        <horizontalSeparator height="20"/>
        <button text="Save" x="20" y="20" image="images/save.gif" imageHeight="16" imageWidth="16" accessKey="S"/>
        <button text="Close" image="images/close.gif" imageHeight="16" imageWidth="16" accessKey="C"/>
      </horizontalToolBar>
    </borderPane>
    
    <verticalSplitPane height="300" width="300" borderPosition="center">
      <top>
        <borderPane height="300" width="300">          
          <table height="105" width="200" borderPosition="center" verticalLineColor="#C0C0C0" horizontalLineColor="#C0C0C0" resizableColumns="true" selectionMode="singleRow">
            <column>
              <header text="Column 1 Heading"/>
            </column>
            <column>
              <header text="Column 2 Heading"/>
            </column>
            <column>
              <header text="Column 3 Heading"/>
            </column>
            <column>
              <header text="Column 4 Heading"/>
            </column>
            <column>
              <header text="Column 5 Heading"/>
            </column>
            <column>
              <header text="Column 6 Heading"/>
            </column>
            <row>
              <cell text="Row 1 Cell 1"/>
              <cell text="Row 1 Cell 2"/>
              <cell text="Row 1 Cell 3"/>
              <cell text="Row 1 Cell 4"/>
              <cell text="Row 1 Cell 5"/>
              <cell text="Row 1 Cell 6"/>
            </row>
            <row>
              <cell text="Row 2 Cell 1"/>
              <cell text="Row 2 Cell 2"/>
              <cell text="Row 2 Cell 3"/>
              <cell text="Row 2 Cell 4"/>
              <cell text="Row 2 Cell 5"/>
              <cell text="Row 2 Cell 6"/>
            </row>
            <row>
              <cell text="Row 3 Cell 1"/>
              <cell text="Row 3 Cell 2"/>
              <cell text="Row 3 Cell 3"/>
              <cell text="Row 3 Cell 4"/>
              <cell text="Row 3 Cell 5"/>
              <cell text="Row 3 Cell 6"/>
            </row>
          </table>
        </borderPane>
      </top>
      <bottom>
        <borderPane>          
          <tabPane gridColumnSpan="1" gridHorizontalGrabSpace="true" gridVerticalGrabSpace="true" gridHorizontalAlignment="fill" gridVerticalAlignment="fill" borderPosition="center" x="10" y="10">
            <tab text="Tab 1 Heading">
              <freePane>
              <gridPane horizontalGap="12" verticalGap="11" evenlySpace="false" columns="1" height="100" width="100" caption="Tab 1 Details" gridHorizontalGrabSpace="true" gridVerticalGrabSpace="true" gridHorizontalAlignment="fill" gridVerticalAlignment="fill" borderColor="#C0C0C0" borderStyle="solid" borderWidth="1"/>
              </freePane>
            </tab>
            <tab text="Tab 2 Heading">
              <freePane x="40" y="40">
                <gridPane horizontalGap="12" verticalGap="11" evenlySpace="false" columns="1" height="100" width="100" caption="Tab 2 Details" gridHorizontalGrabSpace="true" gridVerticalGrabSpace="true" gridHorizontalAlignment="fill" gridVerticalAlignment="fill" borderColor="#C0C0C0" borderStyle="solid" borderWidth="1"/>
              </freePane>
            </tab>
            <tab text="Tab 3 Heading">
              <freePane x="30" y="30">
                <gridPane horizontalGap="12" verticalGap="11" evenlySpace="false" columns="1" height="100" width="100" caption="Tab 3 Details" gridHorizontalGrabSpace="true" gridVerticalGrabSpace="true" gridHorizontalAlignment="fill" gridVerticalAlignment="fill" borderColor="#C0C0C0" borderStyle="solid" borderWidth="1"/>
              </freePane>
            </tab>
            <tab text="Tab 4 Heading" borderColor="#C0C0C0" borderStyle="solid" borderWidth="1">
              <freePane x="20" y="20">
                <gridPane horizontalGap="12" verticalGap="11" evenlySpace="false" columns="1" height="100" width="100" caption="Tab 4 Details" gridHorizontalGrabSpace="true" gridVerticalGrabSpace="true" gridHorizontalAlignment="fill" gridVerticalAlignment="fill" borderColor="#C0C0C0" borderStyle="solid" borderWidth="1"/>
              </freePane>
            </tab>
            <tab text="Tab 5 Heading" borderColor="#C0C0C0" borderStyle="solid" borderWidth="1">
              <freePane x="10" y="10">
                <gridPane horizontalGap="12" verticalGap="11" evenlySpace="false" columns="1" height="100" width="100" caption="Tab 5 Details" gridHorizontalGrabSpace="true" gridVerticalGrabSpace="true" gridHorizontalAlignment="fill" gridVerticalAlignment="fill" borderColor="#C0C0C0" borderStyle="solid" borderWidth="1"/>
              </freePane>             
            </tab>
          </tabPane>
        </borderPane>
      </bottom>
    </verticalSplitPane>    
    </borderPane>
</xal>