I have an application based on a JFrame that contains many sub JPanels that are often resized. I also will let the user create popup JDialogs that will contain a JPanel that exposes some functionallity. While these JDialogs will initially render property as Swing components should, when I start to move a scroll bar or enter text into a jlabel, the entire JDialog’s area will clear to black. The only way to get it to redisplay is to either explicity repaint a component (mouseover a JBunnon, for instance) or destroy and recreate the JDialog.
Is there some way around this? I thought JDialogs were supposed to be heavyweight?