Recommended reading: Lesson: Performing Custom Painting (The Java™ Tutorials > Creating a GUI With JFC/Swing)

Just to make Norm's advice (which is spot on correct) more concrete, I'll give you a...