Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: keep the rubberband on screen?

Hi Bill,

I am new to VisAD, could you please give me some help on how to write the new
class?

Thank you very much for your help.

Helen

Bill Hibbard wrote:

> Hi Helen,
>
> The release is when it generates the new Data object to
> trigger a CellImpl, as in the main() method. To get the logic
> you describe, you would have to write another class like
> RubberBandBoxRendererJ3D.java but with your new logic.
>
> Cheers,
> Bill
>
> On Mon, 22 Apr 2002, Helen Yi wrote:
>
> > Hi,
> >
> > From the reference code visad/bom/RubberBandBoxRendererJ3D.java, I am
> > able to draw a rubber band when I press my right mouse button. But if I
> > release my right mouse button, the rubber band disappears from the
> > screen.
> >
> > Could I be able to keep such rubber band  on the screen until I click on
> > the screen again at some other place?
> >
> > Thanks in advance.
> >
> >
> > Helen
> >
> >


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