Libraryless. Click here for Pure Java version (4251L/23K).
1 | // component can be a custom-painted JComponent |
2 | static JWindow showAlwaysOnTopTranslucentWindow(Rect bounds, Color backgroundWithAlpha, JComponent component default null) {
|
3 | ret swing(() -> {
|
4 | JWindow f = makeAlwaysOnTopTranslucentWindow(bounds, backgroundWithAlpha, component); |
5 | f.setVisible(true); |
6 | vmBus_send newAlwaysOnTopWindow(f); |
7 | ret f; |
8 | }); |
9 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
| Snippet ID: | #1032087 |
| Snippet name: | showAlwaysOnTopTranslucentWindow - works on Ubuntu 20 |
| Eternal ID of this version: | #1032087/13 |
| Text MD5: | 0fc9c4f45b8917e5c8421a236a29c8d6 |
| Transpilation MD5: | b0ba56f1ca942399614f7b7908315bd3 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-08-11 14:54:36 |
| Source code size: | 373 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 473 / 565 |
| Version history: | 12 change(s) |
| Referenced in: | [show references] |