Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7065749
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:59:39+00:00 2026-05-28T04:59:39+00:00

I have a problem to run Java application in full screen mode on openSUSE

  • 0

I have a problem to run Java application in full screen mode on “openSUSE 11.4 (x86_64)”. I am using Java 1.6.0_26-b03.

I have try to run two examples of full screen application:

  1. Example from Oracle site: Display Mode Test.
  2. JDarkRoom.jar (simple text editor) downloaded from Codealchemists.

In both cases I have a Linux Task bar visible over the application. It must be something with system settings/configuration?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T04:59:39+00:00Added an answer on May 28, 2026 at 4:59 am

    You should be able to go “really full screen” with GraphicsDevice.setFullScreenWindow (window). However, due to bugs in the most popular Java runtimes, this may not work on systems running certain “broken” versions in the 1.6 = Java 6 series. I haven’t tested this thoroughly, so it may be that the patch hasn’t propagated out to the general populace, yet.

    https://bugs.java.com/bugdatabase/view_bug?bug_id=7057287

    Background/Theory

    OK, so here goes for too much information, and not enough help… Here’s a bit of why this didn’t work right…

    There is no Linux Desktop

    Linux-based operating systems on PC-type machines, as well as other Unices (with a partial exception for MacOSX), normally use the X Window System (aka X11). Under X, you have an X Server (usually, something kinda like a “video driver”) and clients that connect to it, more often than not, from the same machine (loopback).

    The layout and placement of windows is controlled by a special client program, called the Window Manager. It’s responsible for decorating the windows (e.g. drawing title bars or resize handles) and positioning them.

    Your program would be an X client. It can request — but not demand — placement on the screen at a certain position, or a certain size. Various Window Managers are more (or less) prone to giving you what you want.

    Except, most desktops play nicely (sometimes)

    Now, by far, most Linux desktops use the Gnome Desktop, with a strong second place for the K Desktop, and a few others are in fairly wide use. What’s “nice” is that both of these desktop environments (as well as some others, like XFCE for low-end PC’s) conform to the FreeDesktop.org Window Manager Hints standards.

    (Super-over-simplification:) Typically, there will be Panels on one or more edges of the screen. Usually, there’s just one, across the top, but there are many variations. These Panel areas are not considered “part of the screen,” so the Window Manager tells your application, “no, that’s outside of the area in which you’re allowed to play; this screen is not 1920×1080, it’s only 1890×1080.” Of course, that could be totally different arrangement than what you’d anticipated when you wrote your app, and you might be on my netbook with a physical screen of 800×480 pretending to be only 780×480.

    For 99% of apps, that’s great. Windows don’t get in the way of the Panels, so you can always reach the Panel for critical controls, like hitting Mute or switching to another program or something.

    These “hints” allow you to request that your top-level windows get treated specially. For example, you can request that you get no title bar — or a reduced, “palette” type title bar; you can request to be skipped on the window list or task bar or activities overview or whatever other interface might be used to show the active windows; or, you can request to go really full-screen, and push everything else out of the way, even panels.

    The spec is here: http://standards.freedesktop.org/wm-spec/wm-spec-latest.html

    And the Fail:

    Basically, the window manager hints specification wasn’t being followed correctly by Sun/Oracle (or Red Hat, who copied off Sun/Oracle, or probably IBM, because they probably did the same, but I don’t see anybody complaining about them)…

    Although, I do see some griping back and forth about whether it’s a bug (specifically) with the K Desktop Environment’s window manager (KWin), as apparently this bug only shows up in K, and not in Gnome, XFCE, and friends.

    Work-Around

    Aside from patching your Java runtimes (and/or your customers’), the only real fix would be to use the platform-specific Java libraries (perhaps grab the underlying AWT objects using reflection… eww…) and set the proper window hints, yourself.

    Yes, that’s gross…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm just starting out with learning Java, and have run into a problem. When
When I try to run Java application, I receive the following error: Exception in
I have a Java application and a NSIS script . I need to run
We currently have an Java application that can be deployed on clients or run
I'm working on a live video Java application, and have run into the common
I have a Java application which should run on a server machine in the
We recently started using Eclipse to develop our java application and have been running
I have a java application that can be run as a JFrame or as
I have made a Java application with Java 1.7 my problem is that it
I have a problem: if i run this test in NUnit ,it works Board

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.