Testing Swing GUIs with JUnit
by Kevin Dangoor
William C. Wake wrote an article way back in January 2000 about unit testing Swing GUIs with JUnit. No other package required. I’m not particular about unit testing the layout of the frames, but writing unit tests to ensure that things work functionally (you click button A and result B happens) seems worthwhile.
We use JFCUnit which is an extension of JUnit for out UI Unit testing. I would suggest you have a look.
/S