Problem with repaint() in the panel

Hi

I have a problem in one of my screens. All screens work well with the code , but one screen shrinks when the focus on the window is lost and again comes to original after few seconds. Can u pls find me a solution. We are using all the methods for the panel to revalidate and repaint().

The screen which shrinks contain two panels with search delids and the serach results feild.

Both the panels changes their positions when focus lost and regains the positions after some time.

thanks

[519 byte] By [bryagantia] at [2007-11-27 5:22:39]
# 1
It would be better to handle the time consuming process in separate thread instead of EventDispatch.
AnanSmritia at 2007-7-12 11:48:12 > top of Java-index,Desktop,Core GUI APIs...