24h-payday

Posts Tagged ‘swing’

Thinking ahead: StupidZombie 1.2

Saturday, July 18th, 2009

Yeah, release of 1.1 is one feature away and I’m thinking ahead for the 1.2 release; This one will be more focused on GUI improvements than anything else, no more functionality. Besides profiling the application with Yourkit, I plan to polish the Swing GUI by using Swing Explorer.

A quick preview of what is coming:

Use Nimbus!

Nimbus is beautiful, but will require some customizations. Good thing is that is based on Synth and everything can be tweaked using UIManager.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
		for (LookAndFeelInfo laf : 
			UIManager.getInstalledLookAndFeels()) { 
			    if ("Nimbus".equals(laf.getName())) { 
			         try {
						UIManager.setLookAndFeel(laf.getClassName());
					} catch (ClassNotFoundException e) {
						// TODO Auto-generated catch block
						e.printStackTrace();
					} catch (InstantiationException e) {
						// TODO Auto-generated catch block
						e.printStackTrace();
					} catch (IllegalAccessException e) {
						// TODO Auto-generated catch block
						e.printStackTrace();
					} catch (UnsupportedLookAndFeelException e) {
						// TODO Auto-generated catch block
						e.printStackTrace();
					} 
			    } 
			}

JavaFX GUI?

Very likely. Here I will try to come with something that looks totally awesome, less “Swingy” :). Still, the old GUI will be supported so you will have two flavors of it. Let’s see how that goes, but I expect it to be a combination of Swing + JavaFX.

More localization?

I’m thinking seriously to add more languages to StupidZombie. If the audience is global then it should, right?

OK, too much thinking, time to do some coding instead :)

Finished adding online manual browsing using default browser

Saturday, July 4th, 2009

Using Java Desktop object I enabled this functionality for the 1.1 release. Now is time to code other features.