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.
Hi, to get a fullscreen view of a VisAD application try the following attempt: -- snipp -- ... Toolkit tk = Toolkit.getDefaultToolkit(); Dimension d = tk.getScreenSize(); JFame f = new JFrame( "title" ); f.setUndecorated( true ); /* Hide menu bars and border */ f.getContentPane().add( display.getComponent() ); f.pack(); f.setSize( d ); f.setVisible( true ); ... -- snap --- Another attemp is described on http://www.j3d.org/faq/running.html#fullscreen. It's using the Window object which got innately no menu bars and border but this attempt got a major performance lag on SGI/Irix in combination with VisAD (or Java3D... I'am not sure if it's Java3D or VisAD issue). On a Windows OS this attempt works fine too - or my computer is fast enough. :-) If you got a JFrame anyway, you should try first the JFrame method setUndecorated(true). Hope that will help. Reagard, Finn
visad
archives: