All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xml.accelerator.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<dialog  name="mainframe"
        size="640,480"
        title="S W I X M L"
        _plaf="com.sun.java.swing.plaf.windows.WindowsLookAndFeel"
        defaultCloseOperation="JFrame.HIDE_ON_CLOSE">
            
  <menubar name="menubar">
    <menu name="filemenu" text="File">
      <menuitem name="mi_new" text="New" icon="icons/new.gif" mnemonic="VK_N" accelerator="control N" Action="newAction"/>
      <menuitem name="mi_open" text="Open" icon="icons/open.gif" mnemonic="VK_O" Accelerator="control O" ActionCommand="open"/>
      <menuitem name="mi_save" text="Save" icon="icons/save.gif" mnemonic="VK_S" ActionCommand="save"/>
      <separator/>
      <menuitem name="mi_exit" text="Exit" icon="icons/exit.gif" mnemonic="VK_X" Accelerator="control X" ActionCommand="exit"/>
    </menu>
    <menu text="Help">
      <menuitem name="mi_about" text="About" enabled="true" icon="icons/info.gif" Accelerator="alt A" Action="aboutAction" />
    </menu>
  </menubar>


  <panel layout="borderLayout" background="666666" >


    <splitpane oneTouchExpandable="true" dividerLocation="200" constraints="BorderLayout.CENTER" >

      <splitpane oneTouchExpandable="true" dividerLocation="140" orientation="HORIZONTAL">
        <scrollPane background="blue" >
          <tree name="tree"/>
        </scrollPane>
        <panel layout="borderlayout">
          <panel constraints="BorderLayout.NORTH">
            <button name="btn_copy" ToolTipText="JPanel" enabled="true" BorderPainted="false" FocusPainted="false" icon="icons/copy.gif" size="24,24"/>
            <button name="btn_paste" ToolTipText="JButton" enabled="true" BorderPainted="false" FocusPainted="false" icon="icons/paste.gif" size="24,24"/>
            <button name="btn_cut" ToolTipText="JLabel" enabled="true" icon="icons/cut.gif" BorderPainted="false" FocusPainted="false" size="24,24"/>
          </panel>
          <scrollPane constraints="BorderLayout.CENTER">
            <table name="table"/>
          </scrollPane>
        </panel>
      </splitpane>

      <panel name="preview" border="LoweredBevelBorder">
        <textarea name="ta"/>
      </panel>

    </splitpane>


  <panel constraints="BorderLayout.SOUTH">
    <label text="Status:"/>
    <textfield text="OK"/>
  </panel>

</panel>
</dialog>





© 2015 - 2025 Weber Informatics LLC | Privacy Policy