dcsimg
Repaint() doesn't works
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Lore_Ciccio
Posted On:   Friday, July 19, 2002 02:42 AM

I have a Table in a Panel. The contents of the Table change. I call the repaint() of the Panel, because in the paint() of the Panel I construct the Table with the right values. It' doesn't do anything. If i call the revalidate() it repaints the panel with always the same values. If I open a new frame the values in the table are correct.
what should i do?

Re: Repaint() doesn't works

Posted By:   Axel_Richter  
Posted On:   Friday, July 19, 2002 03:16 AM

Why do you override the method paint()in the Panel? A Panel is a Container. You must add nevertheless only the Table as component to the Container "Panel".



The design of the Table you may put in the Constructor of the Panel.
About | Sitemap | Contact