net.sf.launch4j.binding.Bindings Java Examples
The following examples show how to use
net.sf.launch4j.binding.Bindings.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: VersionInfoFormImpl.java From jmkvpropedit with BSD 2-Clause "Simplified" License | 6 votes |
public VersionInfoFormImpl(Bindings bindings, JFileChooser fc) { _languageCombo.setModel(new DefaultComboBoxModel(LanguageID.sortedValues())); bindings.addOptComponent("versionInfo", VersionInfo.class, _versionInfoCheck) .add("versionInfo.fileVersion", _fileVersionField) .add("versionInfo.productVersion", _productVersionField) .add("versionInfo.fileDescription", _fileDescriptionField) .add("versionInfo.internalName", _internalNameField) .add("versionInfo.originalFilename", _originalFilenameField) .add("versionInfo.productName", _productNameField) .add("versionInfo.txtFileVersion", _txtFileVersionField) .add("versionInfo.txtProductVersion", _txtProductVersionField) .add("versionInfo.companyName", _companyNameField) .add("versionInfo.copyright", _copyrightField) .add("versionInfo.trademarks", _trademarksField) .add("versionInfo.languageIndex", _languageCombo, VersionInfo.DEFAULT_LANGUAGE_INDEX) ; }
Example #2
Source File: ClassPathFormImpl.java From jmkvpropedit with BSD 2-Clause "Simplified" License | 6 votes |
public ClassPathFormImpl(Bindings bindings, JFileChooser fc) { bindings.addOptComponent("classPath", ClassPath.class, _classpathCheck) .add("classPath.mainClass", _mainclassField) .add("classPath.paths", _classpathList); _fileChooser = fc; ClasspathCheckListener cpl = new ClasspathCheckListener(); _classpathCheck.addChangeListener(cpl); cpl.stateChanged(null); _classpathList.setModel(new DefaultListModel()); _classpathList.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION); _classpathList.addListSelectionListener(new ClasspathSelectionListener()); _newClasspathButton.addActionListener(new NewClasspathListener()); _acceptClasspathButton.addActionListener( new AcceptClasspathListener(_classpathField)); _removeClasspathButton.addActionListener(new RemoveClasspathListener()); _importClasspathButton.addActionListener(new ImportClasspathListener()); _classpathUpButton.addActionListener(new MoveUpListener()); _classpathDownButton.addActionListener(new MoveDownListener()); }
Example #3
Source File: HeaderFormImpl.java From jmkvpropedit with BSD 2-Clause "Simplified" License | 6 votes |
public HeaderFormImpl(Bindings bindings) { _bindings = bindings; _bindings.add("headerTypeIndex", new JRadioButton[] { _guiHeaderRadio, _consoleHeaderRadio, _jniGuiHeaderRadio, _jniConsoleHeaderRadio }) .add("headerObjects", "customHeaderObjects", _headerObjectsCheck, _headerObjectsTextArea) .add("libs", "customLibs", _libsCheck, _libsTextArea); _guiHeaderRadio.setActionCommand(Config.GUI_HEADER); _consoleHeaderRadio.setActionCommand(Config.CONSOLE_HEADER); _jniGuiHeaderRadio.setActionCommand(Config.JNI_GUI_HEADER_32); _jniConsoleHeaderRadio.setActionCommand(Config.JNI_CONSOLE_HEADER_32); ActionListener headerTypeActionListener = new HeaderTypeActionListener(); _guiHeaderRadio.addActionListener(headerTypeActionListener); _consoleHeaderRadio.addActionListener(headerTypeActionListener); _jniGuiHeaderRadio.addActionListener(headerTypeActionListener); _jniConsoleHeaderRadio.addActionListener(headerTypeActionListener); _headerObjectsCheck.addActionListener(new HeaderObjectsActionListener()); _libsCheck.addActionListener(new LibsActionListener()); }
Example #4
Source File: HeaderFormImpl.java From beast-mcmc with GNU Lesser General Public License v2.1 | 6 votes |
public HeaderFormImpl(Bindings bindings) { _bindings = bindings; _bindings.add("headerTypeIndex", new JRadioButton[] { _guiHeaderRadio, _consoleHeaderRadio, _jniGuiHeaderRadio, _jniConsoleHeaderRadio }) .add("headerObjects", "customHeaderObjects", _headerObjectsCheck, _headerObjectsTextArea) .add("libs", "customLibs", _libsCheck, _libsTextArea); _guiHeaderRadio.setActionCommand(Config.GUI_HEADER); _consoleHeaderRadio.setActionCommand(Config.CONSOLE_HEADER); _jniGuiHeaderRadio.setActionCommand(Config.JNI_GUI_HEADER_32); _jniConsoleHeaderRadio.setActionCommand(Config.JNI_CONSOLE_HEADER_32); ActionListener headerTypeActionListener = new HeaderTypeActionListener(); _guiHeaderRadio.addActionListener(headerTypeActionListener); _consoleHeaderRadio.addActionListener(headerTypeActionListener); _jniGuiHeaderRadio.addActionListener(headerTypeActionListener); _jniConsoleHeaderRadio.addActionListener(headerTypeActionListener); _headerObjectsCheck.addActionListener(new HeaderObjectsActionListener()); _libsCheck.addActionListener(new LibsActionListener()); }
Example #5
Source File: ClassPathFormImpl.java From beast-mcmc with GNU Lesser General Public License v2.1 | 6 votes |
public ClassPathFormImpl(Bindings bindings, JFileChooser fc) { bindings.addOptComponent("classPath", ClassPath.class, _classpathCheck) .add("classPath.mainClass", _mainclassField) .add("classPath.paths", _classpathList); _fileChooser = fc; ClasspathCheckListener cpl = new ClasspathCheckListener(); _classpathCheck.addChangeListener(cpl); cpl.stateChanged(null); _classpathList.setModel(new DefaultListModel()); _classpathList.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION); _classpathList.addListSelectionListener(new ClasspathSelectionListener()); _newClasspathButton.addActionListener(new NewClasspathListener()); _acceptClasspathButton.addActionListener( new AcceptClasspathListener(_classpathField)); _removeClasspathButton.addActionListener(new RemoveClasspathListener()); _importClasspathButton.addActionListener(new ImportClasspathListener()); _classpathUpButton.addActionListener(new MoveUpListener()); _classpathDownButton.addActionListener(new MoveDownListener()); }
Example #6
Source File: VersionInfoFormImpl.java From beast-mcmc with GNU Lesser General Public License v2.1 | 6 votes |
public VersionInfoFormImpl(Bindings bindings, JFileChooser fc) { _languageCombo.setModel(new DefaultComboBoxModel(LanguageID.sortedValues())); bindings.addOptComponent("versionInfo", VersionInfo.class, _versionInfoCheck) .add("versionInfo.fileVersion", _fileVersionField) .add("versionInfo.productVersion", _productVersionField) .add("versionInfo.fileDescription", _fileDescriptionField) .add("versionInfo.internalName", _internalNameField) .add("versionInfo.originalFilename", _originalFilenameField) .add("versionInfo.productName", _productNameField) .add("versionInfo.txtFileVersion", _txtFileVersionField) .add("versionInfo.txtProductVersion", _txtProductVersionField) .add("versionInfo.companyName", _companyNameField) .add("versionInfo.copyright", _copyrightField) .add("versionInfo.trademarks", _trademarksField) .add("versionInfo.languageIndex", _languageCombo, VersionInfo.DEFAULT_LANGUAGE_INDEX) ; }
Example #7
Source File: ClassPathFormImpl.java From PyramidShader with GNU General Public License v3.0 | 6 votes |
public ClassPathFormImpl(Bindings bindings, JFileChooser fc) { bindings.addOptComponent("classPath", ClassPath.class, _classpathCheck) .add("classPath.mainClass", _mainclassField) .add("classPath.paths", _classpathList); _fileChooser = fc; ClasspathCheckListener cpl = new ClasspathCheckListener(); _classpathCheck.addChangeListener(cpl); cpl.stateChanged(null); _classpathList.setModel(new DefaultListModel()); _classpathList.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION); _classpathList.addListSelectionListener(new ClasspathSelectionListener()); _newClasspathButton.addActionListener(new NewClasspathListener()); _acceptClasspathButton.addActionListener( new AcceptClasspathListener(_classpathField)); _removeClasspathButton.addActionListener(new RemoveClasspathListener()); _importClasspathButton.addActionListener(new ImportClasspathListener()); _classpathUpButton.addActionListener(new MoveUpListener()); _classpathDownButton.addActionListener(new MoveDownListener()); }
Example #8
Source File: BasicFormImpl.java From PyramidShader with GNU General Public License v3.0 | 5 votes |
public BasicFormImpl(Bindings bindings, JFileChooser fc) { bindings.add("outfile", _outfileField) .add("dontWrapJar", _dontWrapJarCheck) .add("jar", _jarField) .add("manifest", _manifestField) .add("icon", _iconField) .add("cmdLine", _cmdLineField) .add("errTitle", _errorTitleField) .add("downloadUrl", _downloadUrlField, Config.DOWNLOAD_URL) .add("supportUrl", _supportUrlField) .add("chdir", _chdirField, ".") .add("priorityIndex", new JRadioButton[] { _normalPriorityRadio, _idlePriorityRadio, _highPriorityRadio }) .add("stayAlive", _stayAliveCheck) .add("restartOnCrash", _restartOnCrashCheck); _dontWrapJarCheck.addChangeListener(new DontWrapJarChangeListener()); _outfileButton.addActionListener(new BrowseActionListener(true, fc, new FileChooserFilter("Windows executables (.exe)", ".exe"), _outfileField)); _jarButton.addActionListener(new BrowseActionListener(false, fc, new FileChooserFilter("Jar files", ".jar"), _jarField)); _manifestButton.addActionListener(new BrowseActionListener(false, fc, new FileChooserFilter("Manifest files (.manifest)", ".manifest"), _manifestField)); _iconButton.addActionListener(new BrowseActionListener(false, fc, new FileChooserFilter("Icon files (.ico)", ".ico"), _iconField)); }
Example #9
Source File: BasicFormImpl.java From jmkvpropedit with BSD 2-Clause "Simplified" License | 5 votes |
public BasicFormImpl(Bindings bindings, JFileChooser fc) { bindings.add("outfile", _outfileField) .add("dontWrapJar", _dontWrapJarCheck) .add("jar", _jarField) .add("manifest", _manifestField) .add("icon", _iconField) .add("cmdLine", _cmdLineField) .add("errTitle", _errorTitleField) .add("downloadUrl", _downloadUrlField, Config.DOWNLOAD_URL) .add("supportUrl", _supportUrlField) .add("chdir", _chdirField, ".") .add("priorityIndex", new JRadioButton[] { _normalPriorityRadio, _idlePriorityRadio, _highPriorityRadio }) .add("stayAlive", _stayAliveCheck) .add("restartOnCrash", _restartOnCrashCheck); _dontWrapJarCheck.addChangeListener(new DontWrapJarChangeListener()); _outfileButton.addActionListener(new BrowseActionListener(true, fc, new FileChooserFilter("Windows executables (.exe)", ".exe"), _outfileField)); _jarButton.addActionListener(new BrowseActionListener(false, fc, new FileChooserFilter("Jar files", ".jar"), _jarField)); _manifestButton.addActionListener(new BrowseActionListener(false, fc, new FileChooserFilter("Manifest files (.manifest)", ".manifest"), _manifestField)); _iconButton.addActionListener(new BrowseActionListener(false, fc, new FileChooserFilter("Icon files (.ico)", ".ico"), _iconField)); }
Example #10
Source File: JreFormImpl.java From jmkvpropedit with BSD 2-Clause "Simplified" License | 5 votes |
public JreFormImpl(Bindings bindings, JFileChooser fc) { _jdkPreferenceCombo.setModel(new DefaultComboBoxModel(new String[] { Messages.getString("jdkPreference.jre.only"), Messages.getString("jdkPreference.prefer.jre"), Messages.getString("jdkPreference.prefer.jdk"), Messages.getString("jdkPreference.jdk.only")})); _runtimeBitsCombo.setModel(new DefaultComboBoxModel(new String[] { Messages.getString("runtimeBits.64"), Messages.getString("runtimeBits.64And32"), Messages.getString("runtimeBits.32And64"), Messages.getString("runtimeBits.32")})); bindings.add("jre.path", _jrePathField) .add("jre.bundledJre64Bit", _bundledJre64BitCheck) .add("jre.bundledJreAsFallback", _bundledJreAsFallbackCheck) .add("jre.minVersion", _jreMinField) .add("jre.maxVersion", _jreMaxField) .add("jre.jdkPreferenceIndex", _jdkPreferenceCombo, Jre.DEFAULT_JDK_PREFERENCE_INDEX) .add("jre.runtimeBitsIndex", _runtimeBitsCombo, Jre.DEFAULT_JDK_PREFERENCE_INDEX) .add("jre.initialHeapSize", _initialHeapSizeField) .add("jre.initialHeapPercent", _initialHeapPercentField) .add("jre.maxHeapSize", _maxHeapSizeField) .add("jre.maxHeapPercent", _maxHeapPercentField) .add("jre.options", _jvmOptionsTextArea); _varCombo.setModel(new DefaultComboBoxModel(new String[] { "EXEDIR", "EXEFILE", "PWD", "OLDPWD", "JREHOMEDIR", "HKEY_CLASSES_ROOT", "HKEY_CURRENT_USER", "HKEY_LOCAL_MACHINE", "HKEY_USERS", "HKEY_CURRENT_CONFIG" })); _varCombo.addActionListener(new VarComboActionListener()); _varCombo.setSelectedIndex(0); _propertyButton.addActionListener(new PropertyActionListener()); _optionButton.addActionListener(new OptionActionListener()); _envPropertyButton.addActionListener(new EnvPropertyActionListener(_envVarField)); _envOptionButton.addActionListener(new EnvOptionActionListener(_envVarField)); }
Example #11
Source File: MessagesFormImpl.java From jmkvpropedit with BSD 2-Clause "Simplified" License | 5 votes |
public MessagesFormImpl(Bindings bindings) { Msg m = new Msg(); bindings.addOptComponent("messages", Msg.class, _messagesCheck) .add("messages.startupErr", _startupErrTextArea, m.getStartupErr()) .add("messages.bundledJreErr", _bundledJreErrTextArea, m.getBundledJreErr()) .add("messages.jreVersionErr", _jreVersionErrTextArea, m.getJreVersionErr()) .add("messages.launcherErr", _launcherErrTextArea, m.getLauncherErr()) .add("messages.instanceAlreadyExistsMsg", _instanceAlreadyExistsMsgTextArea, m.getInstanceAlreadyExistsMsg()); }
Example #12
Source File: SplashFormImpl.java From jmkvpropedit with BSD 2-Clause "Simplified" License | 5 votes |
public SplashFormImpl(Bindings bindings, JFileChooser fc) { bindings.addOptComponent("splash", Splash.class, _splashCheck) .add("splash.file", _splashFileField) .add("splash.waitForWindow", _waitForWindowCheck, true) .add("splash.timeout", _timeoutField, "60") .add("splash.timeoutErr", _timeoutErrCheck, true); _splashFileButton.addActionListener(new BrowseActionListener(false, fc, new FileChooserFilter("Bitmap files (.bmp)", ".bmp"), _splashFileField)); }
Example #13
Source File: VersionInfoFormImpl.java From PyramidShader with GNU General Public License v3.0 | 5 votes |
public VersionInfoFormImpl(Bindings bindings, JFileChooser fc) { bindings.addOptComponent("versionInfo", VersionInfo.class, _versionInfoCheck) .add("versionInfo.fileVersion", _fileVersionField) .add("versionInfo.productVersion", _productVersionField) .add("versionInfo.fileDescription", _fileDescriptionField) .add("versionInfo.internalName", _internalNameField) .add("versionInfo.originalFilename", _originalFilenameField) .add("versionInfo.productName", _productNameField) .add("versionInfo.txtFileVersion", _txtFileVersionField) .add("versionInfo.txtProductVersion", _txtProductVersionField) .add("versionInfo.companyName", _companyNameField) .add("versionInfo.copyright", _copyrightField); }
Example #14
Source File: HeaderFormImpl.java From PyramidShader with GNU General Public License v3.0 | 5 votes |
public HeaderFormImpl(Bindings bindings) { _bindings = bindings; _bindings.add("headerTypeIndex", new JRadioButton[] { _guiHeaderRadio, _consoleHeaderRadio }) .add("headerObjects", "customHeaderObjects", _headerObjectsCheck, _headerObjectsTextArea) .add("libs", "customLibs", _libsCheck, _libsTextArea); _guiHeaderRadio.addChangeListener(new HeaderTypeChangeListener()); _headerObjectsCheck.addActionListener(new HeaderObjectsActionListener()); _libsCheck.addActionListener(new LibsActionListener()); }
Example #15
Source File: JreFormImpl.java From PyramidShader with GNU General Public License v3.0 | 5 votes |
public JreFormImpl(Bindings bindings, JFileChooser fc) { _jdkPreferenceCombo.setModel(new DefaultComboBoxModel(new String[] { Messages.getString("jdkPreference.jre.only"), Messages.getString("jdkPreference.prefer.jre"), Messages.getString("jdkPreference.prefer.jdk"), Messages.getString("jdkPreference.jdk.only")})); _runtimeBitsCombo.setModel(new DefaultComboBoxModel(new String[] { Messages.getString("runtimeBits.64"), Messages.getString("runtimeBits.64And32"), Messages.getString("runtimeBits.32And64"), Messages.getString("runtimeBits.32")})); bindings.add("jre.path", _jrePathField) .add("jre.bundledJre64Bit", _bundledJre64BitCheck) .add("jre.bundledJreAsFallback", _bundledJreAsFallbackCheck) .add("jre.minVersion", _jreMinField) .add("jre.maxVersion", _jreMaxField) .add("jre.jdkPreferenceIndex", _jdkPreferenceCombo, Jre.DEFAULT_JDK_PREFERENCE_INDEX) .add("jre.runtimeBitsIndex", _runtimeBitsCombo, Jre.DEFAULT_JDK_PREFERENCE_INDEX) .add("jre.initialHeapSize", _initialHeapSizeField) .add("jre.initialHeapPercent", _initialHeapPercentField) .add("jre.maxHeapSize", _maxHeapSizeField) .add("jre.maxHeapPercent", _maxHeapPercentField) .add("jre.options", _jvmOptionsTextArea); _varCombo.setModel(new DefaultComboBoxModel(new String[] { "EXEDIR", "EXEFILE", "PWD", "OLDPWD", "JREHOMEDIR", "HKEY_CLASSES_ROOT", "HKEY_CURRENT_USER", "HKEY_LOCAL_MACHINE", "HKEY_USERS", "HKEY_CURRENT_CONFIG" })); _varCombo.addActionListener(new VarComboActionListener()); _varCombo.setSelectedIndex(0); _propertyButton.addActionListener(new PropertyActionListener()); _optionButton.addActionListener(new OptionActionListener()); _envPropertyButton.addActionListener(new EnvPropertyActionListener(_envVarField)); _envOptionButton.addActionListener(new EnvOptionActionListener(_envVarField)); }
Example #16
Source File: MessagesFormImpl.java From PyramidShader with GNU General Public License v3.0 | 5 votes |
public MessagesFormImpl(Bindings bindings) { Msg m = new Msg(); bindings.addOptComponent("messages", Msg.class, _messagesCheck) .add("messages.startupErr", _startupErrTextArea, m.getStartupErr()) .add("messages.bundledJreErr", _bundledJreErrTextArea, m.getBundledJreErr()) .add("messages.jreVersionErr", _jreVersionErrTextArea, m.getJreVersionErr()) .add("messages.launcherErr", _launcherErrTextArea, m.getLauncherErr()) .add("messages.instanceAlreadyExistsMsg", _instanceAlreadyExistsMsgTextArea, m.getInstanceAlreadyExistsMsg()); }
Example #17
Source File: SplashFormImpl.java From PyramidShader with GNU General Public License v3.0 | 5 votes |
public SplashFormImpl(Bindings bindings, JFileChooser fc) { bindings.addOptComponent("splash", Splash.class, _splashCheck) .add("splash.file", _splashFileField) .add("splash.waitForWindow", _waitForWindowCheck, true) .add("splash.timeout", _timeoutField, "60") .add("splash.timeoutErr", _timeoutErrCheck, true); _splashFileButton.addActionListener(new BrowseActionListener(false, fc, new FileChooserFilter("Bitmap files (.bmp)", ".bmp"), _splashFileField)); }
Example #18
Source File: BasicFormImpl.java From beast-mcmc with GNU Lesser General Public License v2.1 | 5 votes |
public BasicFormImpl(Bindings bindings, JFileChooser fc) { bindings.add("outfile", _outfileField) .add("dontWrapJar", _dontWrapJarCheck) .add("jar", _jarField) .add("manifest", _manifestField) .add("icon", _iconField) .add("cmdLine", _cmdLineField) .add("errTitle", _errorTitleField) .add("downloadUrl", _downloadUrlField, Config.DOWNLOAD_URL) .add("supportUrl", _supportUrlField) .add("chdir", _chdirField, ".") .add("priorityIndex", new JRadioButton[] { _normalPriorityRadio, _idlePriorityRadio, _highPriorityRadio }) .add("stayAlive", _stayAliveCheck) .add("restartOnCrash", _restartOnCrashCheck); _dontWrapJarCheck.addChangeListener(new DontWrapJarChangeListener()); _outfileButton.addActionListener(new BrowseActionListener(true, fc, new FileChooserFilter("Windows executables (.exe)", ".exe"), _outfileField)); _jarButton.addActionListener(new BrowseActionListener(false, fc, new FileChooserFilter("Jar files", ".jar"), _jarField)); _manifestButton.addActionListener(new BrowseActionListener(false, fc, new FileChooserFilter("Manifest files (.manifest)", ".manifest"), _manifestField)); _iconButton.addActionListener(new BrowseActionListener(false, fc, new FileChooserFilter("Icon files (.ico)", ".ico"), _iconField)); }
Example #19
Source File: JreFormImpl.java From beast-mcmc with GNU Lesser General Public License v2.1 | 5 votes |
public JreFormImpl(Bindings bindings, JFileChooser fc) { _jdkPreferenceCombo.setModel(new DefaultComboBoxModel(new String[] { Messages.getString("jdkPreference.jre.only"), Messages.getString("jdkPreference.prefer.jre"), Messages.getString("jdkPreference.prefer.jdk"), Messages.getString("jdkPreference.jdk.only")})); _runtimeBitsCombo.setModel(new DefaultComboBoxModel(new String[] { Messages.getString("runtimeBits.64"), Messages.getString("runtimeBits.64And32"), Messages.getString("runtimeBits.32And64"), Messages.getString("runtimeBits.32")})); bindings.add("jre.path", _jrePathField) .add("jre.bundledJre64Bit", _bundledJre64BitCheck) .add("jre.bundledJreAsFallback", _bundledJreAsFallbackCheck) .add("jre.minVersion", _jreMinField) .add("jre.maxVersion", _jreMaxField) .add("jre.jdkPreferenceIndex", _jdkPreferenceCombo, Jre.DEFAULT_JDK_PREFERENCE_INDEX) .add("jre.runtimeBitsIndex", _runtimeBitsCombo, Jre.DEFAULT_JDK_PREFERENCE_INDEX) .add("jre.initialHeapSize", _initialHeapSizeField) .add("jre.initialHeapPercent", _initialHeapPercentField) .add("jre.maxHeapSize", _maxHeapSizeField) .add("jre.maxHeapPercent", _maxHeapPercentField) .add("jre.options", _jvmOptionsTextArea); _varCombo.setModel(new DefaultComboBoxModel(new String[] { "EXEDIR", "EXEFILE", "PWD", "OLDPWD", "JREHOMEDIR", "HKEY_CLASSES_ROOT", "HKEY_CURRENT_USER", "HKEY_LOCAL_MACHINE", "HKEY_USERS", "HKEY_CURRENT_CONFIG" })); _varCombo.addActionListener(new VarComboActionListener()); _varCombo.setSelectedIndex(0); _propertyButton.addActionListener(new PropertyActionListener()); _optionButton.addActionListener(new OptionActionListener()); _envPropertyButton.addActionListener(new EnvPropertyActionListener(_envVarField)); _envOptionButton.addActionListener(new EnvOptionActionListener(_envVarField)); }
Example #20
Source File: MessagesFormImpl.java From beast-mcmc with GNU Lesser General Public License v2.1 | 5 votes |
public MessagesFormImpl(Bindings bindings) { Msg m = new Msg(); bindings.addOptComponent("messages", Msg.class, _messagesCheck) .add("messages.startupErr", _startupErrTextArea, m.getStartupErr()) .add("messages.bundledJreErr", _bundledJreErrTextArea, m.getBundledJreErr()) .add("messages.jreVersionErr", _jreVersionErrTextArea, m.getJreVersionErr()) .add("messages.launcherErr", _launcherErrTextArea, m.getLauncherErr()) .add("messages.instanceAlreadyExistsMsg", _instanceAlreadyExistsMsgTextArea, m.getInstanceAlreadyExistsMsg()); }
Example #21
Source File: SplashFormImpl.java From beast-mcmc with GNU Lesser General Public License v2.1 | 5 votes |
public SplashFormImpl(Bindings bindings, JFileChooser fc) { bindings.addOptComponent("splash", Splash.class, _splashCheck) .add("splash.file", _splashFileField) .add("splash.waitForWindow", _waitForWindowCheck, true) .add("splash.timeout", _timeoutField, "60") .add("splash.timeoutErr", _timeoutErrCheck, true); _splashFileButton.addActionListener(new BrowseActionListener(false, fc, new FileChooserFilter("Bitmap files (.bmp)", ".bmp"), _splashFileField)); }
Example #22
Source File: EnvironmentVarsFormImpl.java From PyramidShader with GNU General Public License v3.0 | 4 votes |
public EnvironmentVarsFormImpl(Bindings bindings) { bindings.add("variables", _envVarsTextArea); }
Example #23
Source File: SingleInstanceFormImpl.java From beast-mcmc with GNU Lesser General Public License v2.1 | 4 votes |
public SingleInstanceFormImpl(Bindings bindings) { bindings.addOptComponent("singleInstance", SingleInstance.class, _singleInstanceCheck) .add("singleInstance.mutexName", _mutexNameField) .add("singleInstance.windowTitle", _windowTitleField); }
Example #24
Source File: SingleInstanceFormImpl.java From jmkvpropedit with BSD 2-Clause "Simplified" License | 4 votes |
public SingleInstanceFormImpl(Bindings bindings) { bindings.addOptComponent("singleInstance", SingleInstance.class, _singleInstanceCheck) .add("singleInstance.mutexName", _mutexNameField) .add("singleInstance.windowTitle", _windowTitleField); }
Example #25
Source File: SingleInstanceFormImpl.java From PyramidShader with GNU General Public License v3.0 | 4 votes |
public SingleInstanceFormImpl(Bindings bindings) { bindings.addOptComponent("singleInstance", SingleInstance.class, _singleInstanceCheck) .add("singleInstance.mutexName", _mutexNameField) .add("singleInstance.windowTitle", _windowTitleField); }
Example #26
Source File: EnvironmentVarsFormImpl.java From beast-mcmc with GNU Lesser General Public License v2.1 | 4 votes |
public EnvironmentVarsFormImpl(Bindings bindings) { bindings.add("variables", _envVarsTextArea); }
Example #27
Source File: EnvironmentVarsFormImpl.java From jmkvpropedit with BSD 2-Clause "Simplified" License | 4 votes |
public EnvironmentVarsFormImpl(Bindings bindings) { bindings.add("variables", _envVarsTextArea); }