Ping & DNS - updated with new look and Ping home screen widget
Joined: Nov 21, 2006
I added the following main to the previous code
the program runs creating an Orange rectangle inside a frame,,,thanks. I had thought that it would work if we called the paintComponent() from within main. What is the reason that it dosen't work that way?
Joined: Mar 22, 2005
You shouldn't call paintComponent directly - Swing does that for you.