-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2610 from jlawyerorg/feat/add-shrinkify
added shrinkify to client
- Loading branch information
Showing
6 changed files
with
1,881 additions
and
68 deletions.
There are no files selected for viewing
268 changes: 268 additions & 0 deletions
268
j-lawyer-client/src/com/iradraconis/shrinkify/ShrinkifyGui.form
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,268 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
|
||
<Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> | ||
<Properties> | ||
<Property name="defaultCloseOperation" type="int" value="2"/> | ||
<Property name="title" type="java.lang.String" value="PDF komprimieren"/> | ||
<Property name="alwaysOnTop" type="boolean" value="true"/> | ||
<Property name="iconImage" type="java.awt.Image" editor="org.netbeans.modules.form.RADConnectionPropertyEditor"> | ||
<Connection code="new ImageIcon(getClass().getResource("/icons/windowicon.png")).getImage()" type="code"/> | ||
</Property> | ||
</Properties> | ||
<SyntheticProperties> | ||
<SyntheticProperty name="formSizePolicy" type="int" value="1"/> | ||
<SyntheticProperty name="generateCenter" type="boolean" value="false"/> | ||
</SyntheticProperties> | ||
<AuxValues> | ||
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> | ||
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> | ||
<AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> | ||
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> | ||
<AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> | ||
<AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> | ||
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> | ||
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> | ||
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> | ||
</AuxValues> | ||
|
||
<Layout> | ||
<DimensionLayout dim="0"> | ||
<Group type="103" groupAlignment="0" attributes="0"> | ||
<Group type="102" alignment="1" attributes="0"> | ||
<EmptySpace min="-2" pref="19" max="-2" attributes="0"/> | ||
<Group type="103" groupAlignment="1" attributes="0"> | ||
<Component id="scrollPane" pref="752" max="32767" attributes="0"/> | ||
<Group type="102" attributes="0"> | ||
<Component id="fileScrollPane" pref="0" max="32767" attributes="0"/> | ||
<EmptySpace type="separate" max="-2" attributes="0"/> | ||
<Group type="103" groupAlignment="0" max="-2" attributes="0"> | ||
<Component id="closeButton" max="32767" attributes="0"/> | ||
<Component id="jLabel1" min="-2" max="-2" attributes="0"/> | ||
<Component id="qualityComboBox" max="32767" attributes="0"/> | ||
<Component id="jLabel2" min="-2" max="-2" attributes="0"/> | ||
<Component id="resolutionComboBox" alignment="0" max="32767" attributes="0"/> | ||
<Component id="bwCheckBox" min="-2" max="-2" attributes="0"/> | ||
<Component id="greyscaleCheckBox" min="-2" max="-2" attributes="0"/> | ||
<Component id="overwriteCheckBox" min="-2" max="-2" attributes="0"/> | ||
<Component id="testButton" alignment="0" max="32767" attributes="0"/> | ||
<Component id="saveButton" alignment="0" max="32767" attributes="0"/> | ||
<Component id="progressBar" alignment="0" min="-2" pref="284" max="-2" attributes="0"/> | ||
</Group> | ||
</Group> | ||
</Group> | ||
<EmptySpace min="-2" pref="19" max="-2" attributes="0"/> | ||
</Group> | ||
</Group> | ||
</DimensionLayout> | ||
<DimensionLayout dim="1"> | ||
<Group type="103" groupAlignment="0" attributes="0"> | ||
<Group type="102" alignment="0" attributes="0"> | ||
<EmptySpace min="-2" pref="18" max="-2" attributes="0"/> | ||
<Group type="103" groupAlignment="0" max="-2" attributes="0"> | ||
<Group type="102" alignment="1" attributes="0"> | ||
<Component id="jLabel1" min="-2" max="-2" attributes="0"/> | ||
<EmptySpace max="-2" attributes="0"/> | ||
<Component id="qualityComboBox" min="-2" max="-2" attributes="0"/> | ||
<EmptySpace type="separate" max="-2" attributes="0"/> | ||
<Component id="jLabel2" min="-2" max="-2" attributes="0"/> | ||
<EmptySpace max="-2" attributes="0"/> | ||
<Component id="resolutionComboBox" min="-2" max="-2" attributes="0"/> | ||
<EmptySpace type="separate" max="-2" attributes="0"/> | ||
<Component id="bwCheckBox" min="-2" max="-2" attributes="0"/> | ||
<EmptySpace max="-2" attributes="0"/> | ||
<Component id="greyscaleCheckBox" min="-2" max="-2" attributes="0"/> | ||
<EmptySpace max="-2" attributes="0"/> | ||
<Component id="overwriteCheckBox" min="-2" max="-2" attributes="0"/> | ||
<EmptySpace type="separate" max="-2" attributes="0"/> | ||
<Component id="testButton" min="-2" max="-2" attributes="0"/> | ||
<EmptySpace type="unrelated" max="-2" attributes="0"/> | ||
<Component id="saveButton" min="-2" max="-2" attributes="0"/> | ||
<EmptySpace type="unrelated" max="-2" attributes="0"/> | ||
<Component id="progressBar" min="-2" pref="16" max="-2" attributes="0"/> | ||
<EmptySpace type="unrelated" max="-2" attributes="0"/> | ||
<Component id="closeButton" min="-2" max="-2" attributes="0"/> | ||
</Group> | ||
<Component id="fileScrollPane" max="32767" attributes="0"/> | ||
</Group> | ||
<EmptySpace type="unrelated" max="-2" attributes="0"/> | ||
<Component id="scrollPane" max="32767" attributes="0"/> | ||
<EmptySpace min="-2" pref="19" max="-2" attributes="0"/> | ||
</Group> | ||
</Group> | ||
</DimensionLayout> | ||
</Layout> | ||
<SubComponents> | ||
<Component class="javax.swing.JLabel" name="jLabel1"> | ||
<Properties> | ||
<Property name="text" type="java.lang.String" value="Qualitätsstufe auswählen:"/> | ||
</Properties> | ||
</Component> | ||
<Component class="javax.swing.JComboBox" name="qualityComboBox"> | ||
<Properties> | ||
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> | ||
<StringArray count="6"> | ||
<StringItem index="0" value="Sehr niedrige Qualität"/> | ||
<StringItem index="1" value="Niedrigste Qualität"/> | ||
<StringItem index="2" value="Niedrige Qualität"/> | ||
<StringItem index="3" value="Mittlere Qualität"/> | ||
<StringItem index="4" value="Hohe Qualität"/> | ||
<StringItem index="5" value="Sehr hohe Qualität"/> | ||
</StringArray> | ||
</Property> | ||
<Property name="selectedIndex" type="int" value="3"/> | ||
</Properties> | ||
<AuxValues> | ||
<AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<String>"/> | ||
</AuxValues> | ||
</Component> | ||
<Component class="javax.swing.JLabel" name="jLabel2"> | ||
<Properties> | ||
<Property name="text" type="java.lang.String" value="Auflösung reduzieren auf:"/> | ||
</Properties> | ||
</Component> | ||
<Component class="javax.swing.JComboBox" name="resolutionComboBox"> | ||
<Properties> | ||
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> | ||
<StringArray count="8"> | ||
<StringItem index="0" value="100%"/> | ||
<StringItem index="1" value="90%"/> | ||
<StringItem index="2" value="80%"/> | ||
<StringItem index="3" value="70%"/> | ||
<StringItem index="4" value="60%"/> | ||
<StringItem index="5" value="50%"/> | ||
<StringItem index="6" value="40%"/> | ||
<StringItem index="7" value="30%"/> | ||
</StringArray> | ||
</Property> | ||
<Property name="selectedIndex" type="int" value="6"/> | ||
</Properties> | ||
<AuxValues> | ||
<AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<String>"/> | ||
</AuxValues> | ||
</Component> | ||
<Component class="javax.swing.JCheckBox" name="bwCheckBox"> | ||
<Properties> | ||
<Property name="text" type="java.lang.String" value="in Schwarz/Weiß konvertieren"/> | ||
</Properties> | ||
<Events> | ||
<EventHandler event="itemStateChanged" listener="java.awt.event.ItemListener" parameters="java.awt.event.ItemEvent" handler="bwCheckBoxItemStateChanged"/> | ||
</Events> | ||
</Component> | ||
<Component class="javax.swing.JCheckBox" name="greyscaleCheckBox"> | ||
<Properties> | ||
<Property name="text" type="java.lang.String" value="In Graustufen konvertieren"/> | ||
</Properties> | ||
<Events> | ||
<EventHandler event="itemStateChanged" listener="java.awt.event.ItemListener" parameters="java.awt.event.ItemEvent" handler="greyscaleCheckBoxItemStateChanged"/> | ||
</Events> | ||
</Component> | ||
<Component class="javax.swing.JCheckBox" name="overwriteCheckBox"> | ||
<Properties> | ||
<Property name="selected" type="boolean" value="true"/> | ||
<Property name="text" type="java.lang.String" value="Urspr. Dateien überschreiben"/> | ||
</Properties> | ||
<Events> | ||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="overwriteCheckBoxActionPerformed"/> | ||
</Events> | ||
</Component> | ||
<Component class="javax.swing.JButton" name="testButton"> | ||
<Properties> | ||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> | ||
<Image iconType="3" name="/icons16/material/preview_24dp_0E72B5.png"/> | ||
</Property> | ||
<Property name="text" type="java.lang.String" value="Vorschau"/> | ||
<Property name="toolTipText" type="java.lang.String" value="Vorschau der Komprimierung"/> | ||
</Properties> | ||
<Events> | ||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="testButtonActionPerformed"/> | ||
</Events> | ||
</Component> | ||
<Component class="javax.swing.JButton" name="saveButton"> | ||
<Properties> | ||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> | ||
<Image iconType="3" name="/icons16/material/compress_24dp_0E72B5.png"/> | ||
</Property> | ||
<Property name="text" type="java.lang.String" value="Komprimieren"/> | ||
<Property name="toolTipText" type="java.lang.String" value="Komprimieren und Speichern"/> | ||
</Properties> | ||
<Events> | ||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="saveButtonActionPerformed"/> | ||
</Events> | ||
</Component> | ||
<Component class="javax.swing.JProgressBar" name="progressBar"> | ||
</Component> | ||
<Component class="javax.swing.JButton" name="closeButton"> | ||
<Properties> | ||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> | ||
<Image iconType="3" name="/icons/agt_action_success.png"/> | ||
</Property> | ||
<Property name="text" type="java.lang.String" value="Schließen"/> | ||
<Property name="enabled" type="boolean" value="false"/> | ||
</Properties> | ||
<Events> | ||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="closeButtonActionPerformed"/> | ||
</Events> | ||
</Component> | ||
<Container class="javax.swing.JScrollPane" name="scrollPane"> | ||
|
||
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> | ||
<SubComponents> | ||
<Component class="javax.swing.JTextArea" name="compressionInfoTextArea"> | ||
<Properties> | ||
<Property name="editable" type="boolean" value="false"/> | ||
<Property name="columns" type="int" value="20"/> | ||
<Property name="rows" type="int" value="5"/> | ||
</Properties> | ||
</Component> | ||
</SubComponents> | ||
</Container> | ||
<Container class="javax.swing.JScrollPane" name="fileScrollPane"> | ||
<Properties> | ||
<Property name="horizontalScrollBarPolicy" type="int" value="31"/> | ||
</Properties> | ||
|
||
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> | ||
<SubComponents> | ||
<Container class="javax.swing.JPanel" name="filePanel"> | ||
|
||
<Layout> | ||
<DimensionLayout dim="0"> | ||
<Group type="103" groupAlignment="0" attributes="0"> | ||
<Component id="jScrollPane1" alignment="0" pref="576" max="32767" attributes="0"/> | ||
</Group> | ||
</DimensionLayout> | ||
<DimensionLayout dim="1"> | ||
<Group type="103" groupAlignment="0" attributes="0"> | ||
<Component id="jScrollPane1" alignment="0" max="32767" attributes="0"/> | ||
</Group> | ||
</DimensionLayout> | ||
</Layout> | ||
<SubComponents> | ||
<Container class="javax.swing.JScrollPane" name="jScrollPane1"> | ||
<AuxValues> | ||
<AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> | ||
</AuxValues> | ||
|
||
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> | ||
<SubComponents> | ||
<Component class="javax.swing.JList" name="fileList"> | ||
<Properties> | ||
<Property name="selectionMode" type="int" value="0"/> | ||
<Property name="visibleRowCount" type="int" value="15"/> | ||
</Properties> | ||
<Events> | ||
<EventHandler event="mousePressed" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="fileListMousePressed"/> | ||
<EventHandler event="mouseReleased" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="fileListMouseReleased"/> | ||
</Events> | ||
<AuxValues> | ||
<AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<File>"/> | ||
</AuxValues> | ||
</Component> | ||
</SubComponents> | ||
</Container> | ||
</SubComponents> | ||
</Container> | ||
</SubComponents> | ||
</Container> | ||
</SubComponents> | ||
</Form> |
Oops, something went wrong.