NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
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 (DisplayRendererJ3D)display.getDisplayRenderer(); 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? Thanks, -Mike
visad
archives: