Entries with no category
I've spent the past few days looking up Java window transitions that work with Swing components & containers (JFrame, JPanel, etc.). Yes, there are packages such as JavaFX which includes a Timeline & Transition framework. I also came across these: Trident: Project Kenai — We're More Than Just a Forge FRC: Filthy Rich Clients (find the Animation jar (org.jdesktop.animation)) However, I've been impatient lately ...
Writing Better Java Code This is a compilation of advice on writing more efficient Java code. Whenever I find more I'll add them to the list. If you spot something fishy do say so, so that I will correct it. Faster code: 1. Use integer instead of long (long is a 64bit integer, most processors are 32bit so operations can run 2-4 times faster with an int) 2. Use local variables instead of class members 3. Use shorthand when evaluation booleans Java Code: return ...
return
Updated 12-27-2011 at 11:26 PM by ozzyman