Libraryless. Click here for Pure Java version (302L/3K/10K).
!752 p { GraphicsDevice gd = GraphicsEnvironment.getLocalGraphicsEnvironment() .getDefaultScreenDevice(); if (!gd.isFullScreenSupported()) fail("No full-screen mode supported!"); final new JFrame window; window.add(jflow(jlabel("Hello world"), jPreferWidth(200, new JTextField), jbutton("Close", r { window.dispose(); }))); gd.setFullScreenWindow(window); }
Began life as a copy of #1004495
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: | #1004497 |
Snippet name: | Full-Screen Test 2 - this one works fine! Exitable with Alt+F4, at least here it does so |
Eternal ID of this version: | #1004497/1 |
Text MD5: | e7798d49abdffa2bef6322929dabad08 |
Transpilation MD5: | 576509bc7a23e26a2b9ec48cd823279f |
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:41:47 |
Source code size: | 399 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 611 / 695 |
Referenced in: | [show references] |