Well the Java 2D API might help you out :)

All you need to do it check that out and you'll be on you way in no time even if you know very little about Swing, because its not really required. AWT...