Maneesh Godbole wrote:Most probably you are missing the call to super.paintComponent()
If that doesn't fix the problem post your SSCCE code like Campbell suggested.
I didnt start to work on the GUI yet. I am using netBeans as you can see in the code-generated below. The only thing the program does is display lines that represents a map, using gps coordinates.
Every time i resize the window, or open a new window in front of it, all the drawing is gone.
Oh, and one more question, how can i transform the label that i've draw on into a image, so i can work on the pixels to zoom it and etc.