-1

我对 Java 很陌生。我想使用全屏形式的代码。我希望它适用于所有操作系统。我找到了一个使用 AWT 的代码,但是 AWT 在 Linux 中不起作用。

我需要一个不使用 AWT 的代码。

4

1 回答 1

1

Although statement "AWT does not work in Linux" sounds very strange I have to mention that you indeed need more than AWT to create full screen application in java. Take a look on the tutorial http://docs.oracle.com/javase/tutorial/uiswing/misc/trans_shaped_windows.html

that explains a lot of nice techniques including full screen windows. Search for full-screen (with dash) in this article.

于 2013-07-09T09:08:52.553 回答