problem with repainted split pane

i have a JPanel within a JSplitPane and within it a JPanel..

i have a function whice stretches the size of the JPanel...but the SplitPane seems to call repaint() an extra 2 times which causes the JPanel to be returned to it's original size..

Is there a way i can stop this extra repaint with strange results?

any help would be much appreciated

thanks

Chris

[415 byte] By [chrisioannou22] at [2007-9-26 1:13:48]
# 1
can you post some code?
darrelln at 2007-6-29 0:11:26 > top of Java-index,Archived Forums,Swing...