Neurogami-roir 1.3.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +22 -0
- data/Manifest.txt +250 -0
- data/README.md +12 -0
- data/Rakefile +63 -0
- data/bin/roir +176 -0
- data/data/GenericJavaApp.icns +0 -0
- data/data/JavaApplicationStub +0 -0
- data/data/Rawr logo 1 large.png +0 -0
- data/data/Rawr logo 2 large.png +0 -0
- data/data/Rawr logo2.png +0 -0
- data/data/website/_notes/dwsync.xml +1 -0
- data/data/website/css/1.css +254 -0
- data/data/website/css/_notes/dwsync.xml +1 -0
- data/data/website/images/_notes/dwsync.xml +1 -0
- data/data/website/images/body_bg.jpg +0 -0
- data/data/website/images/bullet.gif +0 -0
- data/data/website/images/content.jpg +0 -0
- data/data/website/images/content_h2.gif +0 -0
- data/data/website/images/details.gif +0 -0
- data/data/website/images/details.jpg +0 -0
- data/data/website/images/header_bg.jpg +0 -0
- data/data/website/images/nav_a_hover.gif +0 -0
- data/data/website/images/rawr_logo.png +0 -0
- data/data/website/index.html +164 -0
- data/lib/app_bundler.rb +138 -0
- data/lib/bundler.rb +36 -0
- data/lib/command.rb +68 -0
- data/lib/exe_bundler.rb +106 -0
- data/lib/generator.rb +127 -0
- data/lib/jar_builder.rb +57 -0
- data/lib/jruby_batch_compiler.rb +127 -0
- data/lib/jruby_release.rb +104 -0
- data/lib/launch4j/LICENSE.txt +30 -0
- data/lib/launch4j/bin-linux/COPYING +340 -0
- data/lib/launch4j/bin-linux/ld +0 -0
- data/lib/launch4j/bin-linux/windres +0 -0
- data/lib/launch4j/bin-mac/COPYING +340 -0
- data/lib/launch4j/bin-mac/ld +0 -0
- data/lib/launch4j/bin-mac/readme.txt +1 -0
- data/lib/launch4j/bin-mac/windres +0 -0
- data/lib/launch4j/bin-win/COPYING +340 -0
- data/lib/launch4j/bin-win/ld.exe +0 -0
- data/lib/launch4j/bin-win/windres.exe +0 -0
- data/lib/launch4j/build.xml +62 -0
- data/lib/launch4j/demo/ConsoleApp/ConsoleApp.jar +0 -0
- data/lib/launch4j/demo/ConsoleApp/build.xml +57 -0
- data/lib/launch4j/demo/ConsoleApp/l4j/ConsoleApp.ico +0 -0
- data/lib/launch4j/demo/ConsoleApp/lib/readme.txt +8 -0
- data/lib/launch4j/demo/ConsoleApp/readme.txt +1 -0
- data/lib/launch4j/demo/ConsoleApp/src/net/sf/launch4j/example/ConsoleApp.java +72 -0
- data/lib/launch4j/demo/LICENSE.txt +30 -0
- data/lib/launch4j/demo/SimpleApp/SimpleApp.jar +0 -0
- data/lib/launch4j/demo/SimpleApp/build.xml +52 -0
- data/lib/launch4j/demo/SimpleApp/l4j/SimpleApp.ico +0 -0
- data/lib/launch4j/demo/SimpleApp/l4j/SimpleApp.xml +18 -0
- data/lib/launch4j/demo/SimpleApp/l4j/splash.bmp +0 -0
- data/lib/launch4j/demo/SimpleApp/lib/readme.txt +8 -0
- data/lib/launch4j/demo/SimpleApp/readme.txt +1 -0
- data/lib/launch4j/demo/SimpleApp/src/net/sf/launch4j/example/SimpleApp.java +104 -0
- data/lib/launch4j/demo/readme.txt +3 -0
- data/lib/launch4j/head/LICENSE.txt +23 -0
- data/lib/launch4j/head/consolehead.o +0 -0
- data/lib/launch4j/head/guihead.o +0 -0
- data/lib/launch4j/head/head.o +0 -0
- data/lib/launch4j/head_src/LICENSE.txt +23 -0
- data/lib/launch4j/head_src/consolehead/Makefile.win +33 -0
- data/lib/launch4j/head_src/consolehead/consolehead.c +65 -0
- data/lib/launch4j/head_src/consolehead/consolehead.dev +108 -0
- data/lib/launch4j/head_src/guihead/Makefile.win +33 -0
- data/lib/launch4j/head_src/guihead/guihead.c +185 -0
- data/lib/launch4j/head_src/guihead/guihead.dev +109 -0
- data/lib/launch4j/head_src/guihead/guihead.h +43 -0
- data/lib/launch4j/head_src/head.c +807 -0
- data/lib/launch4j/head_src/head.h +113 -0
- data/lib/launch4j/head_src/resource.h +71 -0
- data/lib/launch4j/launch4j +8 -0
- data/lib/launch4j/launch4j.jar +0 -0
- data/lib/launch4j/launch4j.jfpr +0 -0
- data/lib/launch4j/lib/JGoodies.Forms.LICENSE.txt +31 -0
- data/lib/launch4j/lib/JGoodies.Looks.LICENSE.txt +31 -0
- data/lib/launch4j/lib/Nuvola.Icon.Theme.LICENSE.txt +504 -0
- data/lib/launch4j/lib/XStream.LICENSE.txt +27 -0
- data/lib/launch4j/lib/commons-beanutils.jar +0 -0
- data/lib/launch4j/lib/commons-logging.jar +0 -0
- data/lib/launch4j/lib/commons.LICENSE.txt +50 -0
- data/lib/launch4j/lib/forms.jar +0 -0
- data/lib/launch4j/lib/formsrt.jar +0 -0
- data/lib/launch4j/lib/foxtrot.LICENSE.txt +25 -0
- data/lib/launch4j/lib/foxtrot.jar +0 -0
- data/lib/launch4j/lib/looks.jar +0 -0
- data/lib/launch4j/lib/xstream.jar +0 -0
- data/lib/launch4j/manifest/uac.exe.manifest +12 -0
- data/lib/launch4j/manifest/xp-themes.exe.manifest +14 -0
- data/lib/launch4j/src/images/asterix-o.gif +0 -0
- data/lib/launch4j/src/images/asterix.gif +0 -0
- data/lib/launch4j/src/images/build.png +0 -0
- data/lib/launch4j/src/images/button_ok.png +0 -0
- data/lib/launch4j/src/images/cancel16.png +0 -0
- data/lib/launch4j/src/images/down16.png +0 -0
- data/lib/launch4j/src/images/edit_add16.png +0 -0
- data/lib/launch4j/src/images/info.png +0 -0
- data/lib/launch4j/src/images/new.png +0 -0
- data/lib/launch4j/src/images/new16.png +0 -0
- data/lib/launch4j/src/images/ok16.png +0 -0
- data/lib/launch4j/src/images/open.png +0 -0
- data/lib/launch4j/src/images/open16.png +0 -0
- data/lib/launch4j/src/images/run.png +0 -0
- data/lib/launch4j/src/images/save.png +0 -0
- data/lib/launch4j/src/images/up16.png +0 -0
- data/lib/launch4j/src/launch4j.properties +2 -0
- data/lib/launch4j/src/net/sf/launch4j/Builder.java +207 -0
- data/lib/launch4j/src/net/sf/launch4j/BuilderException.java +52 -0
- data/lib/launch4j/src/net/sf/launch4j/ExecException.java +66 -0
- data/lib/launch4j/src/net/sf/launch4j/FileChooserFilter.java +76 -0
- data/lib/launch4j/src/net/sf/launch4j/Log.java +105 -0
- data/lib/launch4j/src/net/sf/launch4j/Main.java +99 -0
- data/lib/launch4j/src/net/sf/launch4j/Messages.java +78 -0
- data/lib/launch4j/src/net/sf/launch4j/OptionParser.java +71 -0
- data/lib/launch4j/src/net/sf/launch4j/RcBuilder.java +340 -0
- data/lib/launch4j/src/net/sf/launch4j/Util.java +197 -0
- data/lib/launch4j/src/net/sf/launch4j/ant/AntClassPath.java +61 -0
- data/lib/launch4j/src/net/sf/launch4j/ant/AntConfig.java +129 -0
- data/lib/launch4j/src/net/sf/launch4j/ant/AntJre.java +69 -0
- data/lib/launch4j/src/net/sf/launch4j/ant/Launch4jTask.java +162 -0
- data/lib/launch4j/src/net/sf/launch4j/ant/Messages.java +55 -0
- data/lib/launch4j/src/net/sf/launch4j/ant/StringWrapper.java +67 -0
- data/lib/launch4j/src/net/sf/launch4j/ant/messages.properties +35 -0
- data/lib/launch4j/src/net/sf/launch4j/ant/messages_es.properties +35 -0
- data/lib/launch4j/src/net/sf/launch4j/binding/Binding.java +62 -0
- data/lib/launch4j/src/net/sf/launch4j/binding/BindingException.java +52 -0
- data/lib/launch4j/src/net/sf/launch4j/binding/Bindings.java +317 -0
- data/lib/launch4j/src/net/sf/launch4j/binding/IValidatable.java +44 -0
- data/lib/launch4j/src/net/sf/launch4j/binding/InvariantViolationException.java +67 -0
- data/lib/launch4j/src/net/sf/launch4j/binding/JComboBoxBinding.java +119 -0
- data/lib/launch4j/src/net/sf/launch4j/binding/JListBinding.java +118 -0
- data/lib/launch4j/src/net/sf/launch4j/binding/JRadioButtonBinding.java +146 -0
- data/lib/launch4j/src/net/sf/launch4j/binding/JTextAreaBinding.java +123 -0
- data/lib/launch4j/src/net/sf/launch4j/binding/JTextComponentBinding.java +108 -0
- data/lib/launch4j/src/net/sf/launch4j/binding/JToggleButtonBinding.java +108 -0
- data/lib/launch4j/src/net/sf/launch4j/binding/Messages.java +78 -0
- data/lib/launch4j/src/net/sf/launch4j/binding/OptComponentBinding.java +119 -0
- data/lib/launch4j/src/net/sf/launch4j/binding/OptJTextAreaBinding.java +141 -0
- data/lib/launch4j/src/net/sf/launch4j/binding/Validator.java +259 -0
- data/lib/launch4j/src/net/sf/launch4j/binding/messages.properties +52 -0
- data/lib/launch4j/src/net/sf/launch4j/binding/messages_es.properties +51 -0
- data/lib/launch4j/src/net/sf/launch4j/config/ClassPath.java +87 -0
- data/lib/launch4j/src/net/sf/launch4j/config/Config.java +396 -0
- data/lib/launch4j/src/net/sf/launch4j/config/ConfigPersister.java +249 -0
- data/lib/launch4j/src/net/sf/launch4j/config/ConfigPersisterException.java +51 -0
- data/lib/launch4j/src/net/sf/launch4j/config/Jre.java +235 -0
- data/lib/launch4j/src/net/sf/launch4j/config/LdDefaults.java +62 -0
- data/lib/launch4j/src/net/sf/launch4j/config/Messages.java +78 -0
- data/lib/launch4j/src/net/sf/launch4j/config/Msg.java +111 -0
- data/lib/launch4j/src/net/sf/launch4j/config/SingleInstance.java +74 -0
- data/lib/launch4j/src/net/sf/launch4j/config/Splash.java +103 -0
- data/lib/launch4j/src/net/sf/launch4j/config/VersionInfo.java +168 -0
- data/lib/launch4j/src/net/sf/launch4j/config/messages.properties +93 -0
- data/lib/launch4j/src/net/sf/launch4j/config/messages_es.properties +75 -0
- data/lib/launch4j/src/net/sf/launch4j/form/BasicForm.java +283 -0
- data/lib/launch4j/src/net/sf/launch4j/form/BasicForm.jfrm +0 -0
- data/lib/launch4j/src/net/sf/launch4j/form/ClassPathForm.java +193 -0
- data/lib/launch4j/src/net/sf/launch4j/form/ClassPathForm.jfrm +0 -0
- data/lib/launch4j/src/net/sf/launch4j/form/ConfigForm.java +132 -0
- data/lib/launch4j/src/net/sf/launch4j/form/ConfigForm.jfrm +0 -0
- data/lib/launch4j/src/net/sf/launch4j/form/EnvironmentVarsForm.java +127 -0
- data/lib/launch4j/src/net/sf/launch4j/form/EnvironmentVarsForm.jfrm +0 -0
- data/lib/launch4j/src/net/sf/launch4j/form/HeaderForm.java +171 -0
- data/lib/launch4j/src/net/sf/launch4j/form/HeaderForm.jfrm +0 -0
- data/lib/launch4j/src/net/sf/launch4j/form/JreForm.java +266 -0
- data/lib/launch4j/src/net/sf/launch4j/form/JreForm.jfrm +0 -0
- data/lib/launch4j/src/net/sf/launch4j/form/Messages.java +55 -0
- data/lib/launch4j/src/net/sf/launch4j/form/MessagesForm.java +183 -0
- data/lib/launch4j/src/net/sf/launch4j/form/MessagesForm.jfrm +0 -0
- data/lib/launch4j/src/net/sf/launch4j/form/SingleInstanceForm.java +141 -0
- data/lib/launch4j/src/net/sf/launch4j/form/SingleInstanceForm.jfrm +0 -0
- data/lib/launch4j/src/net/sf/launch4j/form/SplashForm.java +166 -0
- data/lib/launch4j/src/net/sf/launch4j/form/SplashForm.jfrm +0 -0
- data/lib/launch4j/src/net/sf/launch4j/form/VersionInfoForm.java +232 -0
- data/lib/launch4j/src/net/sf/launch4j/form/VersionInfoForm.jfrm +0 -0
- data/lib/launch4j/src/net/sf/launch4j/form/messages.properties +146 -0
- data/lib/launch4j/src/net/sf/launch4j/form/messages_es.properties +118 -0
- data/lib/launch4j/src/net/sf/launch4j/formimpl/AbstractAcceptListener.java +75 -0
- data/lib/launch4j/src/net/sf/launch4j/formimpl/BasicFormImpl.java +101 -0
- data/lib/launch4j/src/net/sf/launch4j/formimpl/BrowseActionListener.java +79 -0
- data/lib/launch4j/src/net/sf/launch4j/formimpl/ClassPathFormImpl.java +222 -0
- data/lib/launch4j/src/net/sf/launch4j/formimpl/ConfigFormImpl.java +100 -0
- data/lib/launch4j/src/net/sf/launch4j/formimpl/EnvironmentVarsFormImpl.java +50 -0
- data/lib/launch4j/src/net/sf/launch4j/formimpl/FileChooser.java +65 -0
- data/lib/launch4j/src/net/sf/launch4j/formimpl/GlassPane.java +67 -0
- data/lib/launch4j/src/net/sf/launch4j/formimpl/HeaderFormImpl.java +102 -0
- data/lib/launch4j/src/net/sf/launch4j/formimpl/JreFormImpl.java +166 -0
- data/lib/launch4j/src/net/sf/launch4j/formimpl/MainFrame.java +358 -0
- data/lib/launch4j/src/net/sf/launch4j/formimpl/Messages.java +55 -0
- data/lib/launch4j/src/net/sf/launch4j/formimpl/MessagesFormImpl.java +58 -0
- data/lib/launch4j/src/net/sf/launch4j/formimpl/SingleInstanceFormImpl.java +54 -0
- data/lib/launch4j/src/net/sf/launch4j/formimpl/SplashFormImpl.java +61 -0
- data/lib/launch4j/src/net/sf/launch4j/formimpl/VersionInfoFormImpl.java +63 -0
- data/lib/launch4j/src/net/sf/launch4j/formimpl/messages.properties +74 -0
- data/lib/launch4j/src/net/sf/launch4j/formimpl/messages_es.properties +56 -0
- data/lib/launch4j/src/net/sf/launch4j/messages.properties +45 -0
- data/lib/launch4j/src/net/sf/launch4j/messages_es.properties +45 -0
- data/lib/launch4j/w32api/MinGW.LICENSE.txt +25 -0
- data/lib/launch4j/w32api/crt2.o +0 -0
- data/lib/launch4j/w32api/libadvapi32.a +0 -0
- data/lib/launch4j/w32api/libgcc.a +0 -0
- data/lib/launch4j/w32api/libkernel32.a +0 -0
- data/lib/launch4j/w32api/libmingw32.a +0 -0
- data/lib/launch4j/w32api/libmsvcrt.a +0 -0
- data/lib/launch4j/w32api/libshell32.a +0 -0
- data/lib/launch4j/w32api/libuser32.a +0 -0
- data/lib/launch4j/web/bullet.gif +0 -0
- data/lib/launch4j/web/changelog.html +356 -0
- data/lib/launch4j/web/docs.html +585 -0
- data/lib/launch4j/web/index.html +128 -0
- data/lib/launch4j/web/launch4j-use.gif +0 -0
- data/lib/launch4j/web/launch4j.gif +0 -0
- data/lib/launch4j/web/links.html +73 -0
- data/lib/launch4j/web/style.css +159 -0
- data/lib/options.rb +101 -0
- data/lib/platform.rb +28 -0
- data/lib/rawr.rb +178 -0
- data/lib/rawr_bundle.rb +26 -0
- data/lib/rawr_version.rb +3 -0
- data/lib/web_bundler.rb +114 -0
- data/lib/zip/ioextras.rb +155 -0
- data/lib/zip/stdrubyext.rb +111 -0
- data/lib/zip/tempfile_bugfixed.rb +195 -0
- data/lib/zip/zip.rb +1848 -0
- data/lib/zip/zipfilesystem.rb +609 -0
- data/lib/zip/ziprequire.rb +90 -0
- data/tasks/ann.rake +81 -0
- data/tasks/bones.rake +21 -0
- data/tasks/gem.rake +121 -0
- data/tasks/manifest.rake +49 -0
- data/tasks/notes.rake +28 -0
- data/tasks/post_load.rake +39 -0
- data/tasks/rdoc.rake +51 -0
- data/tasks/rubyforge.rake +57 -0
- data/tasks/setup.rb +269 -0
- data/tasks/spec.rake +63 -0
- data/tasks/svn.rake +48 -0
- data/tasks/test.rake +38 -0
- data/test/unit/app_bundler_spec.rb +65 -0
- data/test/unit/bundler_spec.rb +27 -0
- data/test/unit/generator_spec.rb +49 -0
- data/test/unit/jar_builder_spec.rb +5 -0
- data/test/unit/options_spec.rb +97 -0
- data/test/unit/platform_spec.rb +29 -0
- data/test/unit/spec_helpers.rb +22 -0
- data/test/unit/web_bundler_spec.rb +83 -0
- metadata +501 -0
@@ -0,0 +1,232 @@
|
|
1
|
+
package net.sf.launch4j.form;
|
2
|
+
|
3
|
+
import com.jeta.forms.components.separator.TitledSeparator;
|
4
|
+
import com.jgoodies.forms.layout.CellConstraints;
|
5
|
+
import com.jgoodies.forms.layout.FormLayout;
|
6
|
+
import java.awt.BorderLayout;
|
7
|
+
import java.awt.Container;
|
8
|
+
import java.awt.Dimension;
|
9
|
+
import javax.swing.Box;
|
10
|
+
import javax.swing.ImageIcon;
|
11
|
+
import javax.swing.JCheckBox;
|
12
|
+
import javax.swing.JLabel;
|
13
|
+
import javax.swing.JPanel;
|
14
|
+
import javax.swing.JTextField;
|
15
|
+
|
16
|
+
public abstract class VersionInfoForm extends JPanel
|
17
|
+
{
|
18
|
+
protected final JCheckBox _versionInfoCheck = new JCheckBox();
|
19
|
+
protected final JLabel _fileVersionLabel = new JLabel();
|
20
|
+
protected final JTextField _fileVersionField = new JTextField();
|
21
|
+
protected final TitledSeparator _addVersionInfoSeparator = new TitledSeparator();
|
22
|
+
protected final JLabel _productVersionLabel = new JLabel();
|
23
|
+
protected final JTextField _productVersionField = new JTextField();
|
24
|
+
protected final JLabel _fileDescriptionLabel = new JLabel();
|
25
|
+
protected final JTextField _fileDescriptionField = new JTextField();
|
26
|
+
protected final JLabel _copyrightLabel = new JLabel();
|
27
|
+
protected final JTextField _copyrightField = new JTextField();
|
28
|
+
protected final JLabel _txtFileVersionLabel = new JLabel();
|
29
|
+
protected final JTextField _txtFileVersionField = new JTextField();
|
30
|
+
protected final JLabel _txtProductVersionLabel = new JLabel();
|
31
|
+
protected final JTextField _txtProductVersionField = new JTextField();
|
32
|
+
protected final JLabel _productNameLabel = new JLabel();
|
33
|
+
protected final JTextField _productNameField = new JTextField();
|
34
|
+
protected final JLabel _originalFilenameLabel = new JLabel();
|
35
|
+
protected final JTextField _originalFilenameField = new JTextField();
|
36
|
+
protected final JLabel _internalNameLabel = new JLabel();
|
37
|
+
protected final JTextField _internalNameField = new JTextField();
|
38
|
+
protected final JLabel _companyNameLabel = new JLabel();
|
39
|
+
protected final JTextField _companyNameField = new JTextField();
|
40
|
+
|
41
|
+
/**
|
42
|
+
* Default constructor
|
43
|
+
*/
|
44
|
+
public VersionInfoForm()
|
45
|
+
{
|
46
|
+
initializePanel();
|
47
|
+
}
|
48
|
+
|
49
|
+
/**
|
50
|
+
* Adds fill components to empty cells in the first row and first column of the grid.
|
51
|
+
* This ensures that the grid spacing will be the same as shown in the designer.
|
52
|
+
* @param cols an array of column indices in the first row where fill components should be added.
|
53
|
+
* @param rows an array of row indices in the first column where fill components should be added.
|
54
|
+
*/
|
55
|
+
void addFillComponents( Container panel, int[] cols, int[] rows )
|
56
|
+
{
|
57
|
+
Dimension filler = new Dimension(10,10);
|
58
|
+
|
59
|
+
boolean filled_cell_11 = false;
|
60
|
+
CellConstraints cc = new CellConstraints();
|
61
|
+
if ( cols.length > 0 && rows.length > 0 )
|
62
|
+
{
|
63
|
+
if ( cols[0] == 1 && rows[0] == 1 )
|
64
|
+
{
|
65
|
+
/** add a rigid area */
|
66
|
+
panel.add( Box.createRigidArea( filler ), cc.xy(1,1) );
|
67
|
+
filled_cell_11 = true;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
for( int index = 0; index < cols.length; index++ )
|
72
|
+
{
|
73
|
+
if ( cols[index] == 1 && filled_cell_11 )
|
74
|
+
{
|
75
|
+
continue;
|
76
|
+
}
|
77
|
+
panel.add( Box.createRigidArea( filler ), cc.xy(cols[index],1) );
|
78
|
+
}
|
79
|
+
|
80
|
+
for( int index = 0; index < rows.length; index++ )
|
81
|
+
{
|
82
|
+
if ( rows[index] == 1 && filled_cell_11 )
|
83
|
+
{
|
84
|
+
continue;
|
85
|
+
}
|
86
|
+
panel.add( Box.createRigidArea( filler ), cc.xy(1,rows[index]) );
|
87
|
+
}
|
88
|
+
|
89
|
+
}
|
90
|
+
|
91
|
+
/**
|
92
|
+
* Helper method to load an image file from the CLASSPATH
|
93
|
+
* @param imageName the package and name of the file to load relative to the CLASSPATH
|
94
|
+
* @return an ImageIcon instance with the specified image file
|
95
|
+
* @throws IllegalArgumentException if the image resource cannot be loaded.
|
96
|
+
*/
|
97
|
+
public ImageIcon loadImage( String imageName )
|
98
|
+
{
|
99
|
+
try
|
100
|
+
{
|
101
|
+
ClassLoader classloader = getClass().getClassLoader();
|
102
|
+
java.net.URL url = classloader.getResource( imageName );
|
103
|
+
if ( url != null )
|
104
|
+
{
|
105
|
+
ImageIcon icon = new ImageIcon( url );
|
106
|
+
return icon;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
catch( Exception e )
|
110
|
+
{
|
111
|
+
e.printStackTrace();
|
112
|
+
}
|
113
|
+
throw new IllegalArgumentException( "Unable to load image: " + imageName );
|
114
|
+
}
|
115
|
+
|
116
|
+
public JPanel createPanel()
|
117
|
+
{
|
118
|
+
JPanel jpanel1 = new JPanel();
|
119
|
+
FormLayout formlayout1 = new FormLayout("FILL:7DLU:NONE,RIGHT:MAX(65DLU;DEFAULT):NONE,FILL:3DLU:NONE,FILL:60DLU:NONE,FILL:7DLU:NONE,RIGHT:DEFAULT:NONE,FILL:3DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:7DLU:NONE","CENTER:9DLU:NONE,CENTER:DEFAULT:NONE,CENTER:3DLU:NONE,CENTER:DEFAULT:NONE,CENTER:3DLU:NONE,CENTER:DEFAULT:NONE,CENTER:3DLU:NONE,CENTER:DEFAULT:NONE,CENTER:9DLU:NONE,CENTER:DEFAULT:NONE,CENTER:3DLU:NONE,CENTER:DEFAULT:NONE,CENTER:3DLU:NONE,CENTER:DEFAULT:NONE,CENTER:3DLU:NONE,CENTER:DEFAULT:NONE,CENTER:3DLU:NONE,CENTER:DEFAULT:NONE,CENTER:3DLU:NONE,CENTER:DEFAULT:NONE,CENTER:9DLU:NONE");
|
120
|
+
CellConstraints cc = new CellConstraints();
|
121
|
+
jpanel1.setLayout(formlayout1);
|
122
|
+
|
123
|
+
_versionInfoCheck.setActionCommand("Add version information");
|
124
|
+
_versionInfoCheck.setName("versionInfoCheck");
|
125
|
+
_versionInfoCheck.setText(Messages.getString("addVersionInfo"));
|
126
|
+
jpanel1.add(_versionInfoCheck,cc.xywh(4,2,5,1));
|
127
|
+
|
128
|
+
_fileVersionLabel.setIcon(loadImage("images/asterix.gif"));
|
129
|
+
_fileVersionLabel.setName("fileVersionLabel");
|
130
|
+
_fileVersionLabel.setText(Messages.getString("fileVersion"));
|
131
|
+
jpanel1.add(_fileVersionLabel,cc.xy(2,4));
|
132
|
+
|
133
|
+
_fileVersionField.setName("fileVersionField");
|
134
|
+
_fileVersionField.setToolTipText(Messages.getString("fileVersionTip"));
|
135
|
+
jpanel1.add(_fileVersionField,cc.xy(4,4));
|
136
|
+
|
137
|
+
_addVersionInfoSeparator.setName("addVersionInfoSeparator");
|
138
|
+
_addVersionInfoSeparator.setText("Additional information");
|
139
|
+
jpanel1.add(_addVersionInfoSeparator,cc.xywh(2,10,7,1));
|
140
|
+
|
141
|
+
_productVersionLabel.setIcon(loadImage("images/asterix.gif"));
|
142
|
+
_productVersionLabel.setName("productVersionLabel");
|
143
|
+
_productVersionLabel.setText(Messages.getString("productVersion"));
|
144
|
+
jpanel1.add(_productVersionLabel,cc.xy(2,12));
|
145
|
+
|
146
|
+
_productVersionField.setName("productVersionField");
|
147
|
+
_productVersionField.setToolTipText(Messages.getString("productVersionTip"));
|
148
|
+
jpanel1.add(_productVersionField,cc.xy(4,12));
|
149
|
+
|
150
|
+
_fileDescriptionLabel.setIcon(loadImage("images/asterix.gif"));
|
151
|
+
_fileDescriptionLabel.setName("fileDescriptionLabel");
|
152
|
+
_fileDescriptionLabel.setText(Messages.getString("fileDescription"));
|
153
|
+
jpanel1.add(_fileDescriptionLabel,cc.xy(2,6));
|
154
|
+
|
155
|
+
_fileDescriptionField.setName("fileDescriptionField");
|
156
|
+
_fileDescriptionField.setToolTipText(Messages.getString("fileDescriptionTip"));
|
157
|
+
jpanel1.add(_fileDescriptionField,cc.xywh(4,6,5,1));
|
158
|
+
|
159
|
+
_copyrightLabel.setIcon(loadImage("images/asterix.gif"));
|
160
|
+
_copyrightLabel.setName("copyrightLabel");
|
161
|
+
_copyrightLabel.setText(Messages.getString("copyright"));
|
162
|
+
jpanel1.add(_copyrightLabel,cc.xy(2,8));
|
163
|
+
|
164
|
+
_copyrightField.setName("copyrightField");
|
165
|
+
jpanel1.add(_copyrightField,cc.xywh(4,8,5,1));
|
166
|
+
|
167
|
+
_txtFileVersionLabel.setIcon(loadImage("images/asterix.gif"));
|
168
|
+
_txtFileVersionLabel.setName("txtFileVersionLabel");
|
169
|
+
_txtFileVersionLabel.setText(Messages.getString("txtFileVersion"));
|
170
|
+
jpanel1.add(_txtFileVersionLabel,cc.xy(6,4));
|
171
|
+
|
172
|
+
_txtFileVersionField.setName("txtFileVersionField");
|
173
|
+
_txtFileVersionField.setToolTipText(Messages.getString("txtFileVersionTip"));
|
174
|
+
jpanel1.add(_txtFileVersionField,cc.xy(8,4));
|
175
|
+
|
176
|
+
_txtProductVersionLabel.setIcon(loadImage("images/asterix.gif"));
|
177
|
+
_txtProductVersionLabel.setName("txtProductVersionLabel");
|
178
|
+
_txtProductVersionLabel.setText(Messages.getString("txtProductVersion"));
|
179
|
+
jpanel1.add(_txtProductVersionLabel,cc.xy(6,12));
|
180
|
+
|
181
|
+
_txtProductVersionField.setName("txtProductVersionField");
|
182
|
+
_txtProductVersionField.setToolTipText(Messages.getString("txtProductVersionTip"));
|
183
|
+
jpanel1.add(_txtProductVersionField,cc.xy(8,12));
|
184
|
+
|
185
|
+
_productNameLabel.setIcon(loadImage("images/asterix.gif"));
|
186
|
+
_productNameLabel.setName("productNameLabel");
|
187
|
+
_productNameLabel.setText(Messages.getString("productName"));
|
188
|
+
jpanel1.add(_productNameLabel,cc.xy(2,14));
|
189
|
+
|
190
|
+
_productNameField.setName("productNameField");
|
191
|
+
jpanel1.add(_productNameField,cc.xywh(4,14,5,1));
|
192
|
+
|
193
|
+
_originalFilenameLabel.setIcon(loadImage("images/asterix.gif"));
|
194
|
+
_originalFilenameLabel.setName("originalFilenameLabel");
|
195
|
+
_originalFilenameLabel.setText(Messages.getString("originalFilename"));
|
196
|
+
jpanel1.add(_originalFilenameLabel,cc.xy(2,20));
|
197
|
+
|
198
|
+
_originalFilenameField.setName("originalFilenameField");
|
199
|
+
_originalFilenameField.setToolTipText(Messages.getString("originalFilenameTip"));
|
200
|
+
jpanel1.add(_originalFilenameField,cc.xywh(4,20,5,1));
|
201
|
+
|
202
|
+
_internalNameLabel.setIcon(loadImage("images/asterix.gif"));
|
203
|
+
_internalNameLabel.setName("internalNameLabel");
|
204
|
+
_internalNameLabel.setText(Messages.getString("internalName"));
|
205
|
+
jpanel1.add(_internalNameLabel,cc.xy(2,18));
|
206
|
+
|
207
|
+
_internalNameField.setName("internalNameField");
|
208
|
+
_internalNameField.setToolTipText(Messages.getString("internalNameTip"));
|
209
|
+
jpanel1.add(_internalNameField,cc.xywh(4,18,5,1));
|
210
|
+
|
211
|
+
_companyNameLabel.setName("companyNameLabel");
|
212
|
+
_companyNameLabel.setText(Messages.getString("companyName"));
|
213
|
+
jpanel1.add(_companyNameLabel,cc.xy(2,16));
|
214
|
+
|
215
|
+
_companyNameField.setName("companyNameField");
|
216
|
+
jpanel1.add(_companyNameField,cc.xywh(4,16,5,1));
|
217
|
+
|
218
|
+
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5,6,7,8,9 },new int[]{ 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21 });
|
219
|
+
return jpanel1;
|
220
|
+
}
|
221
|
+
|
222
|
+
/**
|
223
|
+
* Initializer
|
224
|
+
*/
|
225
|
+
protected void initializePanel()
|
226
|
+
{
|
227
|
+
setLayout(new BorderLayout());
|
228
|
+
add(createPanel(), BorderLayout.CENTER);
|
229
|
+
}
|
230
|
+
|
231
|
+
|
232
|
+
}
|
Binary file
|
@@ -0,0 +1,146 @@
|
|
1
|
+
#
|
2
|
+
# Launch4j (http://launch4j.sourceforge.net/)
|
3
|
+
# Cross-platform Java application wrapper for creating Windows native executables.
|
4
|
+
#
|
5
|
+
# Copyright (c) 2004, 2007 Grzegorz Kowal
|
6
|
+
#
|
7
|
+
# All rights reserved.
|
8
|
+
#
|
9
|
+
# Redistribution and use in source and binary forms, with or without modification,
|
10
|
+
# are permitted provided that the following conditions are met:
|
11
|
+
#
|
12
|
+
# * Redistributions of source code must retain the above copyright notice,
|
13
|
+
# this list of conditions and the following disclaimer.
|
14
|
+
# * Redistributions in binary form must reproduce the above copyright notice,
|
15
|
+
# this list of conditions and the following disclaimer in the documentation
|
16
|
+
# and/or other materials provided with the distribution.
|
17
|
+
# * Neither the name of the Launch4j nor the names of its contributors
|
18
|
+
# may be used to endorse or promote products derived from this software without
|
19
|
+
# specific prior written permission.
|
20
|
+
#
|
21
|
+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
22
|
+
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
23
|
+
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
24
|
+
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
25
|
+
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
26
|
+
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
27
|
+
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
28
|
+
# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
29
|
+
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
30
|
+
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
31
|
+
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
32
|
+
#
|
33
|
+
|
34
|
+
log=Log
|
35
|
+
|
36
|
+
outfile=Output file:
|
37
|
+
outfileTip=Output executable file.
|
38
|
+
customProcName=Custom process name and XP style manifest
|
39
|
+
stayAlive=Stay alive after launching a GUI application
|
40
|
+
manifest=Manifest:
|
41
|
+
manifestTip=Wrapper's manifest for User Account Control, will not enable XP styles!
|
42
|
+
icon=Icon:
|
43
|
+
iconTip=Application icon.
|
44
|
+
jar=Jar:
|
45
|
+
jarTip=Application jar.
|
46
|
+
dontWrapJar=Dont't wrap the jar, launch only
|
47
|
+
cmdLine=Command line args:
|
48
|
+
cmdLineTip=Constant command line arguments passed to the application.
|
49
|
+
options=Options:
|
50
|
+
chdir=Change dir:
|
51
|
+
chdirTip=Change current directory to a location relative to the executable. Empty field has no effect, . - changes directory to the exe location.
|
52
|
+
priority=Process priority:
|
53
|
+
normalPriority=Normal
|
54
|
+
idlePriority=Idle
|
55
|
+
highPriority=High
|
56
|
+
downloadAndSupport=Java download and support
|
57
|
+
errorTitle=Error title:
|
58
|
+
errorTitleTip=Launch4j signals errors using a message box, you can set it's title to the application's name.
|
59
|
+
downloadUrl=Java download URL:
|
60
|
+
supportUrl=Support URL:
|
61
|
+
|
62
|
+
new=New
|
63
|
+
accept=Accept
|
64
|
+
remove=Remove
|
65
|
+
customClassPath=Custom classpath
|
66
|
+
classPath=Classpath:
|
67
|
+
mainClass=Main class:
|
68
|
+
editClassPath=Edit item:
|
69
|
+
importClassPath=Import attributes from a jar's manifest.
|
70
|
+
|
71
|
+
headerType=Header type:
|
72
|
+
gui=GUI
|
73
|
+
console=Console
|
74
|
+
objectFiles=Object files:
|
75
|
+
libs=w32api:
|
76
|
+
linkerOptions=Custom header - linker options
|
77
|
+
|
78
|
+
enableSingleInstance=Allow only a single instance of the application
|
79
|
+
mutexName=Mutex name
|
80
|
+
mutexNameTip=Mutex name that will uniquely identify your application.
|
81
|
+
windowTitle=Window title
|
82
|
+
windowTitleTip=Title of the GUI application window to bring up on attempt to start a next instance.
|
83
|
+
|
84
|
+
jrePath=Bundled JRE path:
|
85
|
+
jrePathTip=Bundled JRE path relative to the executable or absolute.
|
86
|
+
jreMin=Min JRE version:
|
87
|
+
jreMax=Max JRE version:
|
88
|
+
dontUsePrivateJres=Don't use private JREs
|
89
|
+
jvmOptions=JVM options:
|
90
|
+
jvmOptionsTip=Accepts everything you would normally pass to java/javaw launcher: assertion options, system properties and X options.
|
91
|
+
initialHeapSize=Initial heap size:
|
92
|
+
maxHeapSize=Max heap size:
|
93
|
+
freeMemory=% of free memory
|
94
|
+
jdkPreference=JDK/JRE preference:
|
95
|
+
addVariables=Add variables:
|
96
|
+
addVariablesTip=Add special variable or map environment variables to system properties.
|
97
|
+
exeDirVarTip=Executable's runtime directory path.
|
98
|
+
exeFileVarTip=Executable's runtime file path (directory and filename).
|
99
|
+
varsAndRegistry=Variables / registry:
|
100
|
+
envVar=Environment var:
|
101
|
+
property=Property
|
102
|
+
propertyTip=Map a variable to a system property.
|
103
|
+
option=Option
|
104
|
+
optionTip=Pass a JVM option using a variable.
|
105
|
+
|
106
|
+
setVariables=Set variables:
|
107
|
+
|
108
|
+
enableSplash=Enable splash screen
|
109
|
+
splashFile=Splash file:
|
110
|
+
splashFileTip=Splash screen file in BMP format.
|
111
|
+
waitForWindow=Wait for window
|
112
|
+
waitForWindowText=Close splash screen when an application window appears
|
113
|
+
timeout=Timeout [s]:
|
114
|
+
timeoutTip=Number of seconds after which the splash screen must close. Splash timeout may cause an error depending on splashTimeoutErr property.
|
115
|
+
timeoutErr=Signal error on timeout
|
116
|
+
timeoutErrTip=True signals an error on splash timeout, false closes the splash screen quietly.
|
117
|
+
|
118
|
+
version=Version
|
119
|
+
additionalInfo=Additional information
|
120
|
+
addVersionInfo=Add version information
|
121
|
+
fileVersion=File version:
|
122
|
+
fileVersionTip=Version number 'x.x.x.x'
|
123
|
+
productVersion=Product version:
|
124
|
+
productVersionTip=Version number 'x.x.x.x'
|
125
|
+
fileDescription=File description:
|
126
|
+
fileDescriptionTip=File description presented to the user.
|
127
|
+
copyright=Copyright:
|
128
|
+
txtFileVersion=Free form:
|
129
|
+
txtFileVersionTip=Free form file version, for example '1.20.RC1'.
|
130
|
+
txtProductVersion=Free form:
|
131
|
+
txtProductVersionTip=Free form product version, for example '1.20.RC1'.
|
132
|
+
productName=Product name:
|
133
|
+
originalFilename=Original filename:
|
134
|
+
originalFilenameTip=Original name of the file without the path. Allows to determine whether a file has been renamed by a user.
|
135
|
+
internalName=Internal name:
|
136
|
+
internalNameTip=Internal name without extension, original filename or module name for example.
|
137
|
+
companyName=Company name:
|
138
|
+
|
139
|
+
addMessages=Add custom messages
|
140
|
+
startupErr=Startup error:
|
141
|
+
bundledJreErr=Bundled JRE error:
|
142
|
+
jreVersionErr=JRE version error:
|
143
|
+
jreVersionErrTip=Launch4j will append the required version number at the end of this message.
|
144
|
+
launcherErr=Launcher error:
|
145
|
+
instanceAlreadyExistsMsg=Inst. already exists:
|
146
|
+
instanceAlreadyExistsMsgTip=Message displayed by single instance console applications if an instance already exists.
|
@@ -0,0 +1,118 @@
|
|
1
|
+
#
|
2
|
+
# Launch4j (http://launch4j.sourceforge.net/)
|
3
|
+
# Cross-platform Java application wrapper for creating Windows native executables.
|
4
|
+
#
|
5
|
+
# Copyright (c) 2004, 2007 Grzegorz Kowal, Patricio Mart�nez Ros
|
6
|
+
#
|
7
|
+
# All rights reserved.
|
8
|
+
#
|
9
|
+
# Redistribution and use in source and binary forms, with or without modification,
|
10
|
+
# are permitted provided that the following conditions are met:
|
11
|
+
#
|
12
|
+
# * Redistributions of source code must retain the above copyright notice,
|
13
|
+
# this list of conditions and the following disclaimer.
|
14
|
+
# * Redistributions in binary form must reproduce the above copyright notice,
|
15
|
+
# this list of conditions and the following disclaimer in the documentation
|
16
|
+
# and/or other materials provided with the distribution.
|
17
|
+
# * Neither the name of the Launch4j nor the names of its contributors
|
18
|
+
# may be used to endorse or promote products derived from this software without
|
19
|
+
# specific prior written permission.
|
20
|
+
#
|
21
|
+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
22
|
+
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
23
|
+
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
24
|
+
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
25
|
+
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
26
|
+
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
27
|
+
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
28
|
+
# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
29
|
+
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
30
|
+
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
31
|
+
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
32
|
+
#
|
33
|
+
|
34
|
+
log = Registro
|
35
|
+
|
36
|
+
outfile = Fichero de salida
|
37
|
+
outfileTip = Fichero ejecutable de salida.
|
38
|
+
errorTitle = T\u00EDtulo de error
|
39
|
+
errorTitleTip = Launch4j indica los errores usando una ventana de mensaje, usted puede ponerle el nombre de la aplicaci\u00F3n a esta ventana.
|
40
|
+
customProcName = Nombre personalizado del proceso
|
41
|
+
stayAlive = Mantener abierto despu\u00E9s de lanzar una aplicaci\u00F3n GUI
|
42
|
+
icon = Icono
|
43
|
+
iconTip = Icono de la aplicaci\u00F3n.
|
44
|
+
jar = Jar
|
45
|
+
jarTip = Jar de la aplicaci\u00F3n.
|
46
|
+
dontWrapJar = No empaquetar el jar, s\u00F3lo lanzar
|
47
|
+
cmdLine = Argumentos del jar
|
48
|
+
cmdLine = Argumentos de l\u00EDnea de \u00F3rdenes pasados a la aplicaci\u00F3n.
|
49
|
+
options = Opciones
|
50
|
+
chdir = Cambiar al directorio
|
51
|
+
chdirTip = Cambia el directorio actual a la localizaci\u00F3n relativa al ejecutable. Si el campo se deja vac\u00EDo, no tiene efecto, . - cambia el directorio a la localizaci\u00F3n del exe.
|
52
|
+
headerType = Tipo de cabecera
|
53
|
+
gui = GUI
|
54
|
+
console = Consola
|
55
|
+
objectFiles = Ficheros objeto
|
56
|
+
libs = w32api
|
57
|
+
linkerOptions = Cabecera personalizada - opciones del enlazador
|
58
|
+
jrePath = Ruta del JRE
|
59
|
+
jrePathTip = Ruta relativa al ejecutable del JRE.
|
60
|
+
jreMin = Versi\u00F3n m\u00EDnima del JRE
|
61
|
+
jreMax = Versi\u00F3n m\u00E1xima del JRE
|
62
|
+
jvmOptions = Argumentos de la JVM
|
63
|
+
jvmOptionsTip = Acepta cualquier argumento que normalmente se le pasar\u00EDa al lanzador java/javaw\: opciones assertion, propiedades de sistema y opciones X.
|
64
|
+
initialHeapSize = Tama\u00F1o inicial de la pila
|
65
|
+
maxHeapSize = Tama\u00F1o m\u00E1ximo de la pila
|
66
|
+
freeMemory=% of free memory
|
67
|
+
addVariables = A\u00F1adir variables
|
68
|
+
addVariablesTip = A\u00F1adir una variable especial o mapear variables de entorno a las propiedades del sistema.
|
69
|
+
exeDirVarTip = Ruta del directorio del ejecutable.
|
70
|
+
exeFileVarTip = Ruta del fichero ejecutable (directorio y nombre del fichero).
|
71
|
+
other = Otra
|
72
|
+
otherTip = Mapear una variable de entorno a una propiedad del sistema.
|
73
|
+
otherVarTip = Variable de entorno que mapear.
|
74
|
+
add = A\u00F1adir
|
75
|
+
specifyVar = Especificar variable de entorno que a\u00F1adir.
|
76
|
+
enableSplash = Activar pantalla de bienvenida
|
77
|
+
splashFile = Imagen
|
78
|
+
splashFileTip = Imagen en formato BMP para la pantalla de bienvenida.
|
79
|
+
waitForWindow = Esperar la ventana
|
80
|
+
waitForWindowText = Cerrar la pantalla de bienvenida cuando aparezca una ventana de la aplicaci\u00F3n
|
81
|
+
timeout = Tiempo de espera [s]
|
82
|
+
timeoutTip = Numero de segundos despu\u00E9s de los que la pantalla de bienvenida se debe cerrar. Esta propiedad puede causar provocar un error dependiendo de la propiedad splashTimeoutErr.
|
83
|
+
timeoutErr = Se\u00F1al de error asociada al tiempo de espera
|
84
|
+
timeoutErrTip = Marcado (true) se\u00F1ala un error despu\u00E9s del tiempo de espera de la pantalla de bienvenida, no marcado (false) cierra la pantalla de bienvenida silenciosamente
|
85
|
+
addVersionInfo = A\u00F1ade informaci\u00F3n sobre la versi\u00F3n
|
86
|
+
fileVersion = Versi\u00F3n del fichero
|
87
|
+
fileVersionTip = N\u00FAmero de versi\u00F3n 'x.x.x.x'
|
88
|
+
additionalInfo = Informaci\u00F3n adicional
|
89
|
+
productVersion = Versi\u00F3n del producto
|
90
|
+
productVersionTip = N\u00FAmero de versi\u00F3n 'x.x.x.x'
|
91
|
+
fileDescription = Descripci\u00F3n del fichero
|
92
|
+
fileDescriptionTip = Descripci\u00F3n del fichero que se le muestra al usuario.
|
93
|
+
copyright = Copyright
|
94
|
+
txtFileVersion = Forma libre
|
95
|
+
txtFileVersionTip = Forma libre de versi\u00F3n, por ejemplo '1.20.RC1'.
|
96
|
+
txtProductVersion = Forma libre
|
97
|
+
txtProductVersionTip = Forma libre del producto, por ejemplo '1.20.RC1'.
|
98
|
+
productName = Nombre del producto
|
99
|
+
originalFilename = Nombre original del fichero
|
100
|
+
originalFilenameTip = Nombre original del fichero sin la ruta. Permite determinar si un fichero ha sido renombrado por un usuario.
|
101
|
+
internalName = Nombre interno
|
102
|
+
internalNameTip = Nombre interno sin extensi\u00F3n, el nombre original del fichero o el m\u00F3dulo, por ejemplo.
|
103
|
+
companyName = Nombre de la organizaci\u00F3n
|
104
|
+
|
105
|
+
addMessages=Add custom messages
|
106
|
+
startupErr=Startup error:
|
107
|
+
bundledJreErr=Bundled JRE error:
|
108
|
+
jreVersionErr=JRE version error:
|
109
|
+
jreVersionErrTip=Launch4j will append the required version number at the end of this message.
|
110
|
+
launcherErr=Launcher error:
|
111
|
+
instanceAlreadyExistsMsg=Inst. already exists:
|
112
|
+
instanceAlreadyExistsMsgTip=Message displayed by single instance console applications if an instance already exists.
|
113
|
+
|
114
|
+
enableSingleInstance=Allow only a single instance of the application
|
115
|
+
mutexName=Mutex name
|
116
|
+
mutexNameTip=Mutex name that will uniquely identify your application.
|
117
|
+
windowTitle=Window title
|
118
|
+
windowTitleTip=Title of the application window to bring up on attempt to start a next instance.
|
@@ -0,0 +1,75 @@
|
|
1
|
+
/*
|
2
|
+
Launch4j (http://launch4j.sourceforge.net/)
|
3
|
+
Cross-platform Java application wrapper for creating Windows native executables.
|
4
|
+
|
5
|
+
Copyright (c) 2004, 2007 Grzegorz Kowal
|
6
|
+
|
7
|
+
All rights reserved.
|
8
|
+
|
9
|
+
Redistribution and use in source and binary forms, with or without modification,
|
10
|
+
are permitted provided that the following conditions are met:
|
11
|
+
|
12
|
+
* Redistributions of source code must retain the above copyright notice,
|
13
|
+
this list of conditions and the following disclaimer.
|
14
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
15
|
+
this list of conditions and the following disclaimer in the documentation
|
16
|
+
and/or other materials provided with the distribution.
|
17
|
+
* Neither the name of the Launch4j nor the names of its contributors
|
18
|
+
may be used to endorse or promote products derived from this software without
|
19
|
+
specific prior written permission.
|
20
|
+
|
21
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
22
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
23
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
24
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
25
|
+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
26
|
+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
27
|
+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
28
|
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
29
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
30
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
31
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
32
|
+
*/
|
33
|
+
|
34
|
+
/*
|
35
|
+
* Created on May 1, 2006
|
36
|
+
*/
|
37
|
+
package net.sf.launch4j.formimpl;
|
38
|
+
|
39
|
+
import java.awt.Color;
|
40
|
+
import java.awt.event.ActionListener;
|
41
|
+
|
42
|
+
import javax.swing.JTextField;
|
43
|
+
|
44
|
+
import net.sf.launch4j.binding.Binding;
|
45
|
+
|
46
|
+
/**
|
47
|
+
* @author Copyright (C) 2006 Grzegorz Kowal
|
48
|
+
*/
|
49
|
+
public abstract class AbstractAcceptListener implements ActionListener {
|
50
|
+
final JTextField _field;
|
51
|
+
|
52
|
+
public AbstractAcceptListener(JTextField f, boolean listen) {
|
53
|
+
_field = f;
|
54
|
+
if (listen) {
|
55
|
+
_field.addActionListener(this);
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
protected String getText() {
|
60
|
+
return _field.getText();
|
61
|
+
}
|
62
|
+
|
63
|
+
protected void clear() {
|
64
|
+
_field.setText("");
|
65
|
+
_field.requestFocusInWindow();
|
66
|
+
}
|
67
|
+
|
68
|
+
protected void signalViolation(String msg) {
|
69
|
+
final Color bg = _field.getBackground();
|
70
|
+
_field.setBackground(Binding.INVALID_COLOR);
|
71
|
+
MainFrame.getInstance().warn(msg);
|
72
|
+
_field.setBackground(bg);
|
73
|
+
_field.requestFocusInWindow();
|
74
|
+
}
|
75
|
+
}
|
@@ -0,0 +1,101 @@
|
|
1
|
+
/*
|
2
|
+
Launch4j (http://launch4j.sourceforge.net/)
|
3
|
+
Cross-platform Java application wrapper for creating Windows native executables.
|
4
|
+
|
5
|
+
Copyright (c) 2004, 2007 Grzegorz Kowal
|
6
|
+
|
7
|
+
All rights reserved.
|
8
|
+
|
9
|
+
Redistribution and use in source and binary forms, with or without modification,
|
10
|
+
are permitted provided that the following conditions are met:
|
11
|
+
|
12
|
+
* Redistributions of source code must retain the above copyright notice,
|
13
|
+
this list of conditions and the following disclaimer.
|
14
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
15
|
+
this list of conditions and the following disclaimer in the documentation
|
16
|
+
and/or other materials provided with the distribution.
|
17
|
+
* Neither the name of the Launch4j nor the names of its contributors
|
18
|
+
may be used to endorse or promote products derived from this software without
|
19
|
+
specific prior written permission.
|
20
|
+
|
21
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
22
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
23
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
24
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
25
|
+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
26
|
+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
27
|
+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
28
|
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
29
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
30
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
31
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
32
|
+
*/
|
33
|
+
|
34
|
+
/*
|
35
|
+
* Created on May 1, 2006
|
36
|
+
*/
|
37
|
+
package net.sf.launch4j.formimpl;
|
38
|
+
|
39
|
+
import javax.swing.JFileChooser;
|
40
|
+
import javax.swing.JRadioButton;
|
41
|
+
import javax.swing.event.ChangeEvent;
|
42
|
+
import javax.swing.event.ChangeListener;
|
43
|
+
|
44
|
+
import net.sf.launch4j.FileChooserFilter;
|
45
|
+
import net.sf.launch4j.binding.Bindings;
|
46
|
+
import net.sf.launch4j.config.Config;
|
47
|
+
import net.sf.launch4j.form.BasicForm;
|
48
|
+
|
49
|
+
/**
|
50
|
+
* @author Copyright (C) 2006 Grzegorz Kowal
|
51
|
+
*/
|
52
|
+
public class BasicFormImpl extends BasicForm {
|
53
|
+
|
54
|
+
public BasicFormImpl(Bindings bindings, JFileChooser fc) {
|
55
|
+
bindings.add("outfile", _outfileField)
|
56
|
+
.add("dontWrapJar", _dontWrapJarCheck)
|
57
|
+
.add("jar", _jarField)
|
58
|
+
.add("manifest", _manifestField)
|
59
|
+
.add("icon", _iconField)
|
60
|
+
.add("cmdLine", _cmdLineField)
|
61
|
+
.add("errTitle", _errorTitleField)
|
62
|
+
.add("downloadUrl", _downloadUrlField, Config.DOWNLOAD_URL)
|
63
|
+
.add("supportUrl", _supportUrlField)
|
64
|
+
.add("chdir", _chdirField)
|
65
|
+
.add("priorityIndex", new JRadioButton[] { _normalPriorityRadio,
|
66
|
+
_idlePriorityRadio,
|
67
|
+
_highPriorityRadio })
|
68
|
+
.add("customProcName", _customProcNameCheck)
|
69
|
+
.add("stayAlive", _stayAliveCheck);
|
70
|
+
|
71
|
+
_dontWrapJarCheck.addChangeListener(new DontWrapJarChangeListener());
|
72
|
+
|
73
|
+
_outfileButton.addActionListener(new BrowseActionListener(true, fc,
|
74
|
+
new FileChooserFilter("Windows executables (.exe)", ".exe"),
|
75
|
+
_outfileField));
|
76
|
+
_jarButton.addActionListener(new BrowseActionListener(false, fc,
|
77
|
+
new FileChooserFilter("Jar files", ".jar"), _jarField));
|
78
|
+
_manifestButton.addActionListener(new BrowseActionListener(false, fc,
|
79
|
+
new FileChooserFilter("Manifest files (.manifest)", ".manifest"),
|
80
|
+
_manifestField));
|
81
|
+
_iconButton.addActionListener(new BrowseActionListener(false, fc,
|
82
|
+
new FileChooserFilter("Icon files (.ico)", ".ico"), _iconField));
|
83
|
+
}
|
84
|
+
|
85
|
+
private class DontWrapJarChangeListener implements ChangeListener {
|
86
|
+
|
87
|
+
public void stateChanged(ChangeEvent e) {
|
88
|
+
boolean dontWrap = _dontWrapJarCheck.isSelected();
|
89
|
+
if (dontWrap) {
|
90
|
+
_jarLabel.setIcon(loadImage("images/asterix-o.gif"));
|
91
|
+
_jarLabel.setText(Messages.getString("jarPath"));
|
92
|
+
_jarField.setToolTipText(Messages.getString("jarPathTip"));
|
93
|
+
} else {
|
94
|
+
_jarLabel.setIcon(loadImage("images/asterix.gif"));
|
95
|
+
_jarLabel.setText(Messages.getString("jar"));
|
96
|
+
_jarField.setToolTipText(Messages.getString("jarTip"));
|
97
|
+
}
|
98
|
+
_jarButton.setEnabled(!dontWrap);
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|