net.sf.launch4j.config.Splash Java Examples

The following examples show how to use net.sf.launch4j.config.Splash. 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: SplashFormImpl.java    From beast-mcmc with GNU Lesser General Public License v2.1 5 votes vote down vote up
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 #2
Source File: RcBuilder.java    From beast-mcmc with GNU Lesser General Public License v2.1 5 votes vote down vote up
private void addSplash(Splash splash) {
	if (splash == null) {
		return;
	}

	addTrue(SHOW_SPLASH, true);
	addTrue(SPLASH_WAITS_FOR_WINDOW, splash.getWaitForWindow());
	addText(SPLASH_TIMEOUT, String.valueOf(splash.getTimeout()));
	addTrue(SPLASH_TIMEOUT_ERR, splash.isTimeoutErr());
	addBitmap(SPLASH_BITMAP, splash.getFile());
}
 
Example #3
Source File: SplashFormImpl.java    From PyramidShader with GNU General Public License v3.0 5 votes vote down vote up
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 #4
Source File: RcBuilder.java    From PyramidShader with GNU General Public License v3.0 5 votes vote down vote up
private void addSplash(Splash splash) {
	if (splash == null) {
		return;
	}

	addTrue(SHOW_SPLASH, true);
	addTrue(SPLASH_WAITS_FOR_WINDOW, splash.getWaitForWindow());
	addText(SPLASH_TIMEOUT, String.valueOf(splash.getTimeout()));
	addTrue(SPLASH_TIMEOUT_ERR, splash.isTimeoutErr());
	addBitmap(SPLASH_BITMAP, splash.getFile());
}
 
Example #5
Source File: SplashFormImpl.java    From jmkvpropedit with BSD 2-Clause "Simplified" License 5 votes vote down vote up
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 #6
Source File: RcBuilder.java    From jmkvpropedit with BSD 2-Clause "Simplified" License 5 votes vote down vote up
private void addSplash(Splash splash) {
	if (splash == null) {
		return;
	}

	addTrue(SHOW_SPLASH, true);
	addTrue(SPLASH_WAITS_FOR_WINDOW, splash.getWaitForWindow());
	addText(SPLASH_TIMEOUT, String.valueOf(splash.getTimeout()));
	addTrue(SPLASH_TIMEOUT_ERR, splash.isTimeoutErr());
	addBitmap(SPLASH_BITMAP, splash.getFile());
}
 
Example #7
Source File: AntConfig.java    From beast-mcmc with GNU Lesser General Public License v2.1 4 votes vote down vote up
public void addSplash(Splash splash) {
	checkNull(getSplash(), "splash");
	setSplash(splash);
}
 
Example #8
Source File: AntConfig.java    From PyramidShader with GNU General Public License v3.0 4 votes vote down vote up
public void addSplash(Splash splash) {
	checkNull(getSplash(), "splash");
	setSplash(splash);
}
 
Example #9
Source File: AntConfig.java    From jmkvpropedit with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public void addSplash(Splash splash) {
	checkNull(getSplash(), "splash");
	setSplash(splash);
}