Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-users] refresh ViewPart

HI!

I have a question...

I have a class (named class A for example) that extends IViewPart.
It contains a Frame and this frame contains a JPanel.

In another view (named class B), there is an action that adds a JPanel inside the view A.
But the view A is not refreshed so the panel is not visible, until I resize the view A; when I resize the view A, the panel appears.

How can I refresh the IViewPart view??
I've tried with: redraw(); update(); repaint();    on Frame and JPanel but nothing happens.

Thanks!!

Back to the top