Adding a title to a 3D display

How can I add (non-rotating) text to a VisAD DisplayImplJ3D?

I have been trying to do this using some modified code that I found on
the VisAD list.  Here is the code:

    DisplayRendererJ3D dr
    VisADCanvasJ3D canvas = dr.getCanvas();
    J3DGraphics2D g2d = canvas.getGraphics2D();
    g2d.drawString("My title",50,50);

This code compiles and everything... but it does not put anything on the
display... is there something i need to do after adding the text to
actually update the visAD display?


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