Re: Fullscreen Display


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.setSize( d );
    f.setVisible( true );
-- snap ---

Another attemp is described on
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

Hope that will help.


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