All Downloads are FREE. Search and download functionalities are using the official Maven repository.

examples.ui.kit.UIKitExample Maven / Gradle / Ivy

There is a newer version: 6.0.0
Show newest version
package examples.ui.kit;

import br.com.etyllica.Etyllica;
import br.com.etyllica.awt.SVGColor;
import br.com.etyllica.commons.context.Application;
import br.com.etyllica.ui.theme.ThemeManager;
import br.com.etyllica.theme.etyllic.EtyllicTheme;
import examples.ui.kit.application.UIKitApplication;

public class UIKitExample extends Etyllica {

	private static final long serialVersionUID = 1L;

	public UIKitExample() {
		super(640, 480);
	}

	public static void main(String[] args){
		UIKitExample example = new UIKitExample();
		example.init();
	}

	@Override
	public Application startApplication() {
		ThemeManager.getInstance().setTheme(new EtyllicTheme());
		//ThemeManager.getInstance().setTheme(new MaterialTheme());
		ThemeManager.getInstance().getTheme().setShadow(false);
		ThemeManager.getInstance().getTheme().setBaseColor(SVGColor.DEEP_SKY_BLUE);
		ThemeManager.getInstance().getTheme().setTextColor(SVGColor.WHITE);

		return new UIKitApplication(w,h);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy