Re: refreshing 3D display

Hi 

We're having the same problem I believe. In our program we have an option that 
let's someone viewing something in 2D automatically view it in 3D so we remove 
the 2D display and add a 3D display to the JFrame and recreate the objects but 
the 3D display nevers shows up and the only way to trigger the update is 
resizing the frame, then it comes up. 

bye!

Andres Acero

----- Mensaje original -----
De: Bill Hibbard <billh@xxxxxxxxxxxxx>
Fecha: Miércoles, Agosto 6, 2003 5:00 am
Asunto: Re: refreshing 3D display

> Hi Rakesh,
> 
> >                I have implemented a popup menu for 
> DisplayImplJ3D.The menu works fine but display is not restored 
> when i am done with popup menu.Gray spot appears on display area 
> where popup menu was triggered..
> >               Is there any way to refresh the display?
> 
> This probably has something to do with the Java3D renderer
> Thread being notified by AWT of the popup event. If I iconize
> a DisplayImplJ3D Frame and then open it up again, it
> re-renders fine. Similarly if I obscure a DisplayImplJ3D Frame
> with another window, then bring it back to the top. In these
> cases the Java3D renderer is being notified by AWT of the
> events. Also, I have seen people use DisplayImpls in JTabPanes
> successfully.
> 
> If you can supply a simple test program that demonstrates the
> problem, I'll run it.
> 
> Cheers,
> Bill
> 
> 


  • 2003 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: