Re: How can I change between displaying 2D or 3D objects

Hi Erik,
I do the same thing in my application. The way I do it is : I firstly remove
the 2D objetc from displayPanel( JPanel in my application) and add 3D
object. But to be able to do this, You should have two different classes one
is for 2D and the other is for 3D.
Good Luck!*
Yakup.
----- Original Message -----
From: "Erik Leistner" <Erik.Leistner@xxxxxxxxxxx>
To: <visad-list@xxxxxxxxxxxxx>
Sent: Thursday, March 14, 2002 11:06 AM
Subject: How can I change between displaying 2D or 3D objects


> Hello,
>
> I want to display 2D or 3D objects.
> My main problem: I display a 2D-Object with displayImplJ2D and want to
> display a new 3D-Object with displayImplJ3D.
> Can I change between displayImplJ2D and displayImplJ3D
> or can I tell the 3D-Display to look like a 2D-Display
> or is there a posibility to reinitialize the displayImpl?
>
> Greetings Erik
>