Libraryless. Click here for Pure Java version (6605L/37K).
static JFrame makeUndecoratedFrame(S title, O content) { ret swing(() -> { JFrame frame = new JFrame(title); frame.setUndecorated(true); Component wrapped = wrap(content); if (wrapped != null) frame.getContentPane().add(wrapped); frame.setBounds(defaultNewFrameBounds()); ret frame; }); }
Began life as a copy of #1000921
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033421 |
Snippet name: | makeUndecoratedFrame |
Eternal ID of this version: | #1033421/1 |
Text MD5: | 687f9166b95742bae8bd55fdd7efeb5a |
Transpilation MD5: | c1eea8d31fc7b7b7356cdd1ecbb56855 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-27 10:02:39 |
Source code size: | 332 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 188 / 270 |
Referenced in: | [show references] |