Don't add components or do any program logic inside of a paint or paintComponent method. These methods are for painting and painting only. Instead add your components, add your ActionListeners and do...