Updating a JPanel after it has been reinitiated
posted 9 years ago
I have a JPanel in my application that has to be replaced entirely. See updateInputPanel(). It works the way I did it. But I'm not happy with it. Is there a way how to use repaint() or revalidate in my situation?