Opening a window hides JLabel
posted 10 years ago
I'm having an issue that when I open my new JFrame with my 'graph' (a picture) by the button's action listener the previous JFrame's picture of 'graph' disappears, if I move something and refresh it it works, but otherwise not. I'm trying to figure out why this is happening. This is part of a larger program, so if it's needed I'll try and make a smaller version of the code so people can see it.