First, I'd recommend having your class extend a JPanel (or at least JComponent) and do all your painting by overriding the paintComponent method (make sure to call super.paintComponent). Next, see...