[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-users] refresh ViewPart
|
Hi Alberto,
guess that is more for the udig-devel list. Let's move the discussion there.
My memory tells me to suggest you to try: layout().
Let's see, I am really on a hurry to check.
Andrea
On Tue, Mar 29, 2011 at 4:47 PM, Alberto Debiasi
<debiasi.alberto@xxxxxxxxx> wrote:
> 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!!
>
> _______________________________________________
> udig-users mailing list
> udig-users@xxxxxxxxxxxxxxxxxxxxx
> http://lists.refractions.net/mailman/listinfo/udig-users
>
>