Repaint « JOptionPane « Java Swing Q&A





1. JOptionPane not repainting    coderanch.com

2. Cross platform issues with repaint and also JOptionPane mixed with Windows    coderanch.com

Hello All, I've been working on a program on Ubuntu and ran into a problem. I'm trying to create a control panel that will disappear then reappear. So I call contentPane.remove(JPanel jp) until I remove all the panels which hold my jbuttons then repaint but they are still displayed. I run the same code on Windows and they disappear??? Here's a ...