<?xml version="1.0" encoding="UTF-8" ?>

<Form version="1.0" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
  <SyntheticProperties>
    <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
  </SyntheticProperties>
  <Events>
    <EventHandler event="windowClosing" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="exitForm"/>
  </Events>

  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
  <SubComponents>
    <Container class="javax.swing.JPanel" name="ImageHolderPanel">
      <Constraints>
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
          <BorderConstraints direction="Center"/>
        </Constraint>
      </Constraints>

      <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridLayout">
        <Property name="columns" type="int" value="2"/>
        <Property name="rows" type="int" value="1"/>
      </Layout>
      <SubComponents>
        <Container class="javax.swing.JPanel" name="PainterPanel">
          <Properties>
            <Property name="toolTipText" type="java.lang.String" value="You can draw on this image."/>
          </Properties>
          <AuxValues>
            <AuxValue name="JavaCodeGenerator_CreateCodeCustom" type="java.lang.String" value="new ImagePainter();"/>
          </AuxValues>

          <Layout class="org.netbeans.modules.form.compat2.layouts.DesignFlowLayout"/>
        </Container>
        <Container class="javax.swing.JPanel" name="DownsamplePanel">
          <Properties>
            <Property name="toolTipText" type="java.lang.String" value="This contains the down sampled image."/>
          </Properties>
          <AuxValues>
            <AuxValue name="JavaCodeGenerator_CreateCodeCustom" type="java.lang.String" value="new ImageDrawer();"/>
          </AuxValues>

          <Layout class="org.netbeans.modules.form.compat2.layouts.DesignFlowLayout"/>
        </Container>
      </SubComponents>
    </Container>
    <Container class="javax.swing.JPanel" name="InfoPanel">
      <Constraints>
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
          <BorderConstraints direction="North"/>
        </Constraint>
      </Constraints>

      <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridLayout">
        <Property name="columns" type="int" value="2"/>
        <Property name="rows" type="int" value="2"/>
      </Layout>
      <SubComponents>
        <Component class="javax.swing.JLabel" name="ImageIDLabel">
          <Properties>
            <Property name="text" type="java.lang.String" value="Image ID"/>
          </Properties>
        </Component>
        <Component class="javax.swing.JTextField" name="IDInputTextField">
          <Properties>
            <Property name="text" type="java.lang.String" value="1"/>
          </Properties>
        </Component>
        <Component class="javax.swing.JLabel" name="ImageNoLabel">
          <Properties>
            <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
              <Font name="Dialog" size="14" style="1"/>
            </Property>
            <Property name="text" type="java.lang.String" value="Image 1 of 1"/>
            <Property name="toolTipText" type="java.lang.String" value="The current image number."/>
          </Properties>
        </Component>
        <Component class="javax.swing.JButton" name="DownSampleButton">
          <Properties>
            <Property name="text" type="java.lang.String" value="Down Sample"/>
          </Properties>
          <Events>
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="DownSampleButtonActionPerformed"/>
          </Events>
        </Component>
      </SubComponents>
    </Container>
    <Component class="javax.swing.JScrollBar" name="ImageScrollBar">
      <Properties>
        <Property name="maximum" type="int" value="1"/>
        <Property name="minimum" type="int" value="1"/>
        <Property name="toolTipText" type="java.lang.String" value="Use scroll bar to scroll through images."/>
      </Properties>
      <Events>
        <EventHandler event="adjustmentValueChanged" listener="java.awt.event.AdjustmentListener" parameters="java.awt.event.AdjustmentEvent" handler="OnScrolled"/>
      </Events>
      <Constraints>
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
          <BorderConstraints direction="East"/>
        </Constraint>
      </Constraints>
    </Component>
    <Container class="javax.swing.JPanel" name="ControlPanel">
      <Properties>
        <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
          <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
            <TitledBorder title="Controls"/>
          </Border>
        </Property>
      </Properties>
      <Constraints>
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
          <BorderConstraints direction="South"/>
        </Constraint>
      </Constraints>

      <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridLayout">
        <Property name="columns" type="int" value="2"/>
        <Property name="rows" type="int" value="5"/>
      </Layout>
      <SubComponents>
        <Component class="javax.swing.JButton" name="HelpButton">
          <Properties>
            <Property name="text" type="java.lang.String" value="Help"/>
            <Property name="toolTipText" type="java.lang.String" value="Help on this application."/>
          </Properties>
          <Events>
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="HelpButtonActionPerformed"/>
          </Events>
        </Component>
        <Component class="javax.swing.JButton" name="NewImageButton">
          <Properties>
            <Property name="text" type="java.lang.String" value="New Image"/>
            <Property name="toolTipText" type="java.lang.String" value="Create a new image."/>
          </Properties>
          <Events>
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="NewImageButtonActionPerformed"/>
          </Events>
        </Component>
        <Component class="javax.swing.JButton" name="ClearImageButton">
          <Properties>
            <Property name="text" type="java.lang.String" value="Clear Image"/>
            <Property name="toolTipText" type="java.lang.String" value="Clear the drawing from this image."/>
          </Properties>
          <Events>
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="ClearImageButtonActionPerformed"/>
          </Events>
        </Component>
        <Component class="javax.swing.JButton" name="SaveImagesButton">
          <Properties>
            <Property name="text" type="java.lang.String" value="Save Images"/>
            <Property name="toolTipText" type="java.lang.String" value="Save the images out to Joone format."/>
          </Properties>
          <Events>
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="SaveImagesButtonActionPerformed"/>
          </Events>
        </Component>
        <Component class="javax.swing.JButton" name="QuitButton">
          <Properties>
            <Property name="text" type="java.lang.String" value="Quit"/>
            <Property name="toolTipText" type="java.lang.String" value="Quit this application."/>
          </Properties>
          <Events>
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="QuitButtonActionPerformed"/>
          </Events>
        </Component>
      </SubComponents>
    </Container>
  </SubComponents>
</Form>
