MyJFrame.xml

<Component Class="JFrame" Name="myJFrame" Dynamic="false">
 <Properties Title="Howto Examples" DefaultCloseOperation="EXIT_ON_CLOSE">
  <Bounds DimX="640" DimY="480" PosX="64" PosY="48"/>
  <Layout Manager="BorderLayout" Hgap="0" Vgap="0"/>
 </Properties>
 <Component Class="JMenuBar" Name="myJMenuBar" Dynamic="false">
  <Properties/>
  <Component Class="JMenu" Name="myJMenu" Dynamic="false">
   <Properties Text="File" Mnemonic="f"/>
   <Component Class="JMenuItem" Name="mnNew" Dynamic="false">
    <Properties Text="New" Mnemonic="n" IconResource="/toolbarButtonGraphics/general/New16.gif"/>
   </Component>
   <Component Class="JMenuItem" Name="mnOpen" Dynamic="false">
    <Properties Text="Open" Mnemonic="o" IconResource="/toolbarButtonGraphics/general/Open16.gif"/>
   </Component>
   <Component Class="JMenuItem" Name="mnClose" Dynamic="false">
    <Properties Text="Close" Mnemonic="c" IconResource="/toolbarButtonGraphics/general/Export16.gif"/>
   </Component>
   <Component Class="JSeparator" Name="myJSeparator" Dynamic="false">
    <Properties/>
   </Component>
   <Component Class="JMenuItem" Name="mnExit" Dynamic="false">
    <Properties Text="Exit" Mnemonic="x"/>
   </Component>
  </Component>
 </Component>
 <Component Class="JToolBar" Name="myJToolBar" Dynamic="false">
  <Properties Constraint="North"/>
  <Component Class="JButton" Name="btnNew" Dynamic="false">
   <Properties IconResource="/toolbarButtonGraphics/general/New24.gif" ToolTip="New File"/>
  </Component>
  <Component Class="JButton" Name="btnOpen" Dynamic="false">
   <Properties IconResource="/toolbarButtonGraphics/general/Open24.gif" ToolTip="Open File"/>
  </Component>
  <Component Class="JButton" Name="myJButton" Dynamic="false">
   <Properties IconResource="/toolbarButtonGraphics/general/Export24.gif" ToolTip="Close File"/>
  </Component>
 </Component>
 <Component Class="JDesktopPane" Name="myJDesktopPane" Dynamic="false">
  <Properties Constraint="Center"/>
  <Component Class="JInternalFrame" Name="myJInternalFrame" Dynamic="false">
   <Properties Visible="true">
    <Bounds DimX="320" DimY="240" PosX="0" PosY="0"/>
   </Properties>
   <Component Class="JPopupMenu" Name="myJPopupMenu" Dynamic="false">
    <Properties/>
    <Component Class="JMenuItem" Name="popNew" Dynamic="false">
     <Properties Text="New" Mnemonic="n" IconResource="/toolbarButtonGraphics/general/New16.gif"/>
    </Component>
    <Component Class="JMenuItem" Name="popOpen" Dynamic="false">
     <Properties Text="Open" Mnemonic="o" IconResource="/toolbarButtonGraphics/general/Open16.gif"/>
    </Component>
    <Component Class="JMenuItem" Name="popClose" Dynamic="false">
     <Properties Text="Close" Mnemonic="c" IconResource="/toolbarButtonGraphics/general/Export16.gif"/>
    </Component>
    <Component Class="JSeparator" Name="popJSeparator" Dynamic="false">
     <Properties/>
    </Component>
    <Component Class="JMenuItem" Name="popExit" Dynamic="false">
     <Properties Text="Exit" Mnemonic="x"/>
    </Component>
   </Component>
  </Component>
 </Component>
</Component>