Libraryless. Compilation Failed (4738L/26K).
!7 p-awt { JLabel label = new JLabel("TEST"); //imageIcon("#1005616")); new JWindow w; w.add(label); w.pack(); w.setLocation(150, getScreenHeight()-40); w.setAlwaysOnTop(true); // translucency magic //w.setOpacity(0.5f); // JDK 7+ label.setOpaque(false); //w.setBackground(new Color(0, 0, 0, 0)); com.sun.awt.AWTUtilities.setWindowOpaque(w, false); w.setVisible(true); }
Began life as a copy of #1005620
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, jmyaexzvplwz, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1013336 |
Snippet name: | Bad Translucent Window Test using com.sun.awt.AWTUtilities.setWindowOpaque [doesn't work] |
Eternal ID of this version: | #1013336/6 |
Text MD5: | 036cffb3e1e058c52d7aafb4ddf4b140 |
Transpilation MD5: | 609635c20438cd8ac5974f5604d023ce |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-09 16:21:02 |
Source code size: | 421 bytes / 19 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 431 / 524 |
Version history: | 5 change(s) |
Referenced in: | -