What code are you using to create and display these JPanels?
What type of output do you expect to get from a paintComponent method in an otherwise empty class?
Type: Posts; User: jps
What code are you using to create and display these JPanels?
What type of output do you expect to get from a paintComponent method in an otherwise empty class?
What do you mean "A different code" runs.
What do you mean "the previous code that wouldn't stop running"
I do not see anything wrong with either class posted, what seems to be the problem?
What...