I'll see how close I can get to creating a basic widget in Swing. I'll take it one step at the time and post all the code and a demo at the end.
The exercise is purely a UI one. The code marvelousness and resource usage won't be a top concern here.
Step 1 - Test app with basic widget
In this case a blue square that does nothing. In the next few steps I'll try and get it more widget like.
Looks like this:
![](http://1.bp.blogspot.com/_O_cD_lD08JM/SD2o5PmVosI/AAAAAAAAAEU/7j9T9g3KE9E/s320/Step-1,+blue+square.png)
No comments:
Post a Comment