Link to home
Start Free TrialLog in
Avatar of johnclarke
johnclarke

asked on

Repaint Problem

Basically I have two componets that extend JPanel.  One is for graphs (called GraphPanel)and the other is a drop down container (called SelectionPanel).  When I resize the applet (running with appletviewer) the only time the SelectionPanel repaints itself is when I click on it.

How can I set this up so that it repaints on resize ?

John Clarke
Avatar of zhongbing
zhongbing

Don't mix swing conponents and AWT compents. if you didn't mix them, post more code.

u can use validate() on ur container
post ur code
ASKER CERTIFIED SOLUTION
Avatar of Ovi
Ovi

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial