Libraryless. Click here for Pure Java version (302L/3K/10K).
1 | !752 |
2 | |
3 | p {
|
4 | GraphicsDevice gd = GraphicsEnvironment.getLocalGraphicsEnvironment() |
5 | .getDefaultScreenDevice(); |
6 | if (!gd.isFullScreenSupported()) |
7 | fail("No full-screen mode supported!");
|
8 | final new JWindow window; |
9 | window.add(jflow(jlabel("Hello world"),
|
10 | jPreferWidth(200, new JTextField), jbutton("Close", r {
|
11 | window.dispose(); |
12 | }))); |
13 | gd.setFullScreenWindow(window); |
14 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1004495 |
| Snippet name: | Full-Screen Test 1 [displays something, but you can't type] |
| Eternal ID of this version: | #1004495/1 |
| Text MD5: | b0ca41ceb9ace7044e973617b169066c |
| Transpilation MD5: | 7ed572f45ac1cc565a0dcc57302b337e |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-08-18 22:34:02 |
| Source code size: | 400 bytes / 14 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 881 / 997 |
| Referenced in: | [show references] |