Java full screen on Linux – how do I overwrite the taskbar?

I read some related articles and googled a lot I have a problem running Java applications in full screen mode of "openSUSE 11.4 (x86_64)" I am using java 1.6 0_ 26-b03.

I tried to run two examples of full screen applications:

>Oracle website example: display mode test. > Jdarkroom downloaded from codealchemists Jar (simple text editor)

In both cases, I have a Linux taskbar visible in the application Must it be something set up / configured by the system?

to greet.

Solution

You should be able to use graphicsdevice Set fullscreenwindow to "real full screen" However, due to errors in the most popular Java runtime, this may not apply to systems running some "broken" versions in the 1.6 = Java 6 series I haven't tested it thoroughly, so maybe the patch hasn't been spread to ordinary people

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7057287

Background / theory

OK, so there's too much information here, not enough help... Here's a little why this doesn't work correctly

Failed:

Basically, the window manager prompts that sun / Oracle (or red hat, sun / Oracle or IBM may do the same) has been correctly followed by this specification, but I don't see anyone complaining about them

Although I do see some errors from the window manager (kwin) of the K Desktop Environment (especially), it is obvious that this bug only appears in K, not in gnome, xfce and friends

Flexible

In addition to patching your Java runtime (and / or your customers), the only real fix will be to use the platform specific Java library (you may use reflection... Eww... To get the basic AWT object) and set the correct window prompt yourself

Yes, it's big

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>