Libraryless. Click here for Pure Java version (772L/6K/25K).
1 | !752 |
2 | |
3 | static JFrame frame; |
4 | static JLabel l; |
5 | static BufferedImage theimage; |
6 | |
7 | p { |
8 | theimage = scaleImage(loadBufferedImage("#1004501"), 1.5); |
9 | l = jcenterimage(theimage); |
10 | l.setOpaque(true); |
11 | l.setBackground(Color.black); |
12 | onDoubleClick(l, r { frame.dispose() }); |
13 | frame = showFullScreen(l); |
14 | |
15 | effect(); |
16 | } |
17 | |
18 | svoid effect { |
19 | awtIfNecessary { |
20 | invertImage(theimage); |
21 | l.repaint(); |
22 | swingAfter(frame, 0, r { |
23 | invertImage(theimage); |
24 | l.repaint(); |
25 | swingAfter(frame, 4500, "effect"); |
26 | }); |
27 | } |
28 | } |
Began life as a copy of #1004505
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: | #1004507 |
Snippet name: | Peppermint Logo Full-Screen, Testing Effects |
Eternal ID of this version: | #1004507/1 |
Text MD5: | c8f020d573b7940f38537abf29dddce4 |
Transpilation MD5: | d3d17afdca77e8c05565e4aaf566a50e |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-08-18 23:16:42 |
Source code size: | 550 bytes / 28 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 545 / 657 |
Referenced in: | [show references] |