Skip to content

Commit

Permalink
UX Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Wetmelon committed Aug 25, 2014
1 parent 51ff2ca commit c2dc2fb
Show file tree
Hide file tree
Showing 11 changed files with 182 additions and 77 deletions.
Binary file modified build/classes/pdfmerge/MainFrame$1.class
Binary file not shown.
Binary file modified build/classes/pdfmerge/MainFrame$2.class
Binary file not shown.
Binary file modified build/classes/pdfmerge/MainFrame$3.class
Binary file not shown.
Binary file modified build/classes/pdfmerge/MainFrame$4.class
Binary file not shown.
Binary file modified build/classes/pdfmerge/MainFrame$5.class
Binary file not shown.
Binary file modified build/classes/pdfmerge/MainFrame$6.class
Binary file not shown.
Binary file modified build/classes/pdfmerge/MainFrame.class
Binary file not shown.
58 changes: 45 additions & 13 deletions build/classes/pdfmerge/MainFrame.form
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[350, 250]"/>
</Property>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[500, 250]"/>
</Property>
</Properties>
<SyntheticProperties>
<SyntheticProperty name="menuBar" type="java.lang.String" value="jMenuBar1"/>
Expand All @@ -61,19 +58,26 @@
<EmptySpace min="-2" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<Component id="bMerge" min="-2" max="-2" attributes="0"/>
<EmptySpace type="separate" max="-2" attributes="0"/>
<Component id="lStatus" min="-2" max="-2" attributes="0"/>
<EmptySpace pref="81" max="32767" attributes="0"/>
<Component id="bClose" min="-2" max="-2" attributes="0"/>
</Group>
<Group type="102" attributes="0">
<Component id="bAddPdf" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="bRemovePdf" min="-2" max="-2" attributes="0"/>
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
</Group>
<Group type="102" alignment="0" attributes="0">
<Component id="bMerge" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="jLabel1" min="-2" max="-2" attributes="0"/>
<EmptySpace pref="184" max="32767" attributes="0"/>
<Component id="bClose" min="-2" max="-2" attributes="0"/>
<Component id="jScrollPane1" max="32767" attributes="0"/>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Component id="bMoveDown" max="32767" attributes="0"/>
<Component id="bMoveUp" min="-2" pref="89" max="-2" attributes="0"/>
</Group>
</Group>
<Component id="jScrollPane1" alignment="0" max="32767" attributes="0"/>
</Group>
<EmptySpace min="-2" max="-2" attributes="0"/>
</Group>
Expand All @@ -83,7 +87,15 @@
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<EmptySpace max="-2" attributes="0"/>
<Component id="jScrollPane1" pref="149" max="32767" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="jScrollPane1" pref="149" max="32767" attributes="0"/>
<Group type="102" attributes="0">
<Component id="bMoveUp" min="-2" max="-2" attributes="0"/>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<Component id="bMoveDown" min="-2" max="-2" attributes="0"/>
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
</Group>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="bAddPdf" alignment="3" min="-2" max="-2" attributes="0"/>
Expand All @@ -93,7 +105,7 @@
<Group type="103" groupAlignment="3" attributes="0">
<Component id="bMerge" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="bClose" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="lStatus" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
</Group>
Expand All @@ -104,6 +116,7 @@
<Component class="javax.swing.JButton" name="bMerge">
<Properties>
<Property name="text" type="java.lang.String" value="Merge PDFs"/>
<Property name="enabled" type="boolean" value="false"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="bMergeActionPerformed"/>
Expand Down Expand Up @@ -134,6 +147,9 @@
<Value id="INSERT"/>
</Property>
</Properties>
<Events>
<EventHandler event="valueChanged" listener="javax.swing.event.ListSelectionListener" parameters="javax.swing.event.ListSelectionEvent" handler="pdfListValueChanged"/>
</Events>
<AuxValues>
<AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="18"/>
</AuxValues>
Expand All @@ -151,14 +167,30 @@
<Component class="javax.swing.JButton" name="bRemovePdf">
<Properties>
<Property name="text" type="java.lang.String" value="Remove Selected"/>
<Property name="enabled" type="boolean" value="false"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="bRemovePdfActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JLabel" name="jLabel1">
<Component class="javax.swing.JLabel" name="lStatus">
<Properties>
<Property name="text" type="java.lang.String" value="PDFs will be appended in the order shown above"/>
</Properties>
</Component>
<Component class="javax.swing.JButton" name="bMoveUp">
<Properties>
<Property name="text" type="java.lang.String" value="Move Up"/>
<Property name="enabled" type="boolean" value="false"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="bMoveUpActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JButton" name="bMoveDown">
<Properties>
<Property name="text" type="java.lang.String" value="Drag and Drop to Reorder List"/>
<Property name="text" type="java.lang.String" value="Move Down"/>
<Property name="enabled" type="boolean" value="false"/>
</Properties>
</Component>
</SubComponents>
Expand Down
33 changes: 1 addition & 32 deletions dist/README.TXT
Original file line number Diff line number Diff line change
@@ -1,32 +1 @@
========================
BUILD OUTPUT DESCRIPTION
========================

When you build an Java application project that has a main class, the IDE
automatically copies all of the JAR
files on the projects classpath to your projects dist/lib folder. The IDE
also adds each of the JAR files to the Class-Path element in the application
JAR files manifest file (MANIFEST.MF).

To run the project from the command line, go to the dist folder and
type the following:

java -jar "PDFMerge.jar"

To distribute this project, zip up the dist folder (including the lib folder)
and distribute the ZIP file.

Notes:

* If two JAR files on the project classpath have the same name, only the first
JAR file is copied to the lib folder.
* Only JAR files are copied to the lib folder.
If the classpath contains other types of files or folders, these files (folders)
are not copied.
* If a library on the projects classpath also has a Class-Path element
specified in the manifest,the content of the Class-Path element has to be on
the projects runtime path.
* To set a main class in a standard Java project, right-click the project node
in the Projects window and choose Properties. Then click Run and enter the
class name in the Main Class field. Alternatively, you can manually type the
class name in the manifest Main-Class element.
This is a basic PDF Merging software with GUI. Double click to go!
58 changes: 45 additions & 13 deletions src/pdfmerge/MainFrame.form
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[350, 250]"/>
</Property>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[500, 250]"/>
</Property>
</Properties>
<SyntheticProperties>
<SyntheticProperty name="menuBar" type="java.lang.String" value="jMenuBar1"/>
Expand All @@ -61,19 +58,26 @@
<EmptySpace min="-2" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<Component id="bMerge" min="-2" max="-2" attributes="0"/>
<EmptySpace type="separate" max="-2" attributes="0"/>
<Component id="lStatus" min="-2" max="-2" attributes="0"/>
<EmptySpace pref="81" max="32767" attributes="0"/>
<Component id="bClose" min="-2" max="-2" attributes="0"/>
</Group>
<Group type="102" attributes="0">
<Component id="bAddPdf" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="bRemovePdf" min="-2" max="-2" attributes="0"/>
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
</Group>
<Group type="102" alignment="0" attributes="0">
<Component id="bMerge" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="jLabel1" min="-2" max="-2" attributes="0"/>
<EmptySpace pref="184" max="32767" attributes="0"/>
<Component id="bClose" min="-2" max="-2" attributes="0"/>
<Component id="jScrollPane1" max="32767" attributes="0"/>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Component id="bMoveDown" max="32767" attributes="0"/>
<Component id="bMoveUp" min="-2" pref="89" max="-2" attributes="0"/>
</Group>
</Group>
<Component id="jScrollPane1" alignment="0" max="32767" attributes="0"/>
</Group>
<EmptySpace min="-2" max="-2" attributes="0"/>
</Group>
Expand All @@ -83,7 +87,15 @@
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<EmptySpace max="-2" attributes="0"/>
<Component id="jScrollPane1" pref="149" max="32767" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="jScrollPane1" pref="149" max="32767" attributes="0"/>
<Group type="102" attributes="0">
<Component id="bMoveUp" min="-2" max="-2" attributes="0"/>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<Component id="bMoveDown" min="-2" max="-2" attributes="0"/>
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
</Group>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="bAddPdf" alignment="3" min="-2" max="-2" attributes="0"/>
Expand All @@ -93,7 +105,7 @@
<Group type="103" groupAlignment="3" attributes="0">
<Component id="bMerge" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="bClose" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="lStatus" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
</Group>
Expand All @@ -104,6 +116,7 @@
<Component class="javax.swing.JButton" name="bMerge">
<Properties>
<Property name="text" type="java.lang.String" value="Merge PDFs"/>
<Property name="enabled" type="boolean" value="false"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="bMergeActionPerformed"/>
Expand Down Expand Up @@ -134,6 +147,9 @@
<Value id="INSERT"/>
</Property>
</Properties>
<Events>
<EventHandler event="valueChanged" listener="javax.swing.event.ListSelectionListener" parameters="javax.swing.event.ListSelectionEvent" handler="pdfListValueChanged"/>
</Events>
<AuxValues>
<AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="18"/>
</AuxValues>
Expand All @@ -151,14 +167,30 @@
<Component class="javax.swing.JButton" name="bRemovePdf">
<Properties>
<Property name="text" type="java.lang.String" value="Remove Selected"/>
<Property name="enabled" type="boolean" value="false"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="bRemovePdfActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JLabel" name="jLabel1">
<Component class="javax.swing.JLabel" name="lStatus">
<Properties>
<Property name="text" type="java.lang.String" value="PDFs will be appended in the order shown above"/>
</Properties>
</Component>
<Component class="javax.swing.JButton" name="bMoveUp">
<Properties>
<Property name="text" type="java.lang.String" value="Move Up"/>
<Property name="enabled" type="boolean" value="false"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="bMoveUpActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JButton" name="bMoveDown">
<Properties>
<Property name="text" type="java.lang.String" value="Drag and Drop to Reorder List"/>
<Property name="text" type="java.lang.String" value="Move Down"/>
<Property name="enabled" type="boolean" value="false"/>
</Properties>
</Component>
</SubComponents>
Expand Down
Loading

0 comments on commit c2dc2fb

Please sign in to comment.