Eventually every Swing developer comes to a point where the borders packaged with Java Swing is considered too plain. Either you will be googling for your next border or you become adventurous and create your own border. This tutorial is for the adventurous. I will teach you how to create your own dashing border. Anyone who done web development is already familiar with the border styled with alternating lines and spaces.
Monthly Archives: January 2010
Easy animated transitions in Java Swing with TimingFrameworks
Posted by Jim
on January 8, 2010
5 comments
Creating animated transitions use to be a tedious task in Java Swing… until TimingFrameworks came along. TimingFrameworks (https://timingframework.dev.java.net/), written by Chet Haase, is a library for making Java animation and timing-based control easier. There are two good introductory articles on their website worth reading.
Crash course in animation
Below is the code to move a JFrame 100 pixels from left to right in 1 second.
How to use Swing Borders
Posted by Jim
on January 7, 2010
No comments
