Results 1 to 4 of 4
  1. #1
    vmcg is offline Member
    Join Date
    Jul 2010
    Posts
    4
    Rep Power
    0

    Default Full Screen window over toolbar

    Is it possible to open a full screen window that even covers windows tool bar? If so any simple code examples?

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,457
    Rep Power
    25

    Default

    I think that could be an OS issue. It might not let you cover parts of the screen.
    Have you tried using the setSize() method?

  3. #3
    vmcg is offline Member
    Join Date
    Jul 2010
    Posts
    4
    Rep Power
    0

    Default

    yeah i can set it to the full height and width using setSize by getting the screen resolution, its just overlapping the toolbar that I cant get. It must be possible, how do some public places have it that their screens are full and you can't see toolbar.

  4. #4
    Michael Dunn is offline Member
    Join Date
    Jul 2008
    Posts
    62
    Rep Power
    0

    Default

    for vista/java 6, this covers the taskbar

    Java Code:
    JFrame f = new JFrame();
    GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().setFullScreenWindow(f);
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    f.setVisible(true);
    alt-F4 to close

Similar Threads

  1. Full screen problems
    By doctorned in forum New To Java
    Replies: 4
    Last Post: 12-10-2009, 09:40 AM
  2. Full-Screen Window is not supporting KeyListener
    By AnOdeToCode in forum Java 2D
    Replies: 1
    Last Post: 02-13-2009, 08:08 PM
  3. XTerm window appearing in full screen swing app
    By clarose in forum AWT / Swing
    Replies: 1
    Last Post: 11-17-2008, 10:56 PM
  4. Full screen test
    By Java Tip in forum java.awt
    Replies: 0
    Last Post: 06-23-2008, 11:24 PM
  5. Full screen
    By Jack in forum Advanced Java
    Replies: 2
    Last Post: 07-02-2007, 05:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •