Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

28
LINES

< > BotCompany Repo | #1004507 // Peppermint Logo Full-Screen, Testing Effects

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (772L/6K/25K).

!752

static JFrame frame;
static JLabel l;
static BufferedImage theimage;

p {
  theimage = scaleImage(loadBufferedImage("#1004501"), 1.5);
  l = jcenterimage(theimage);
  l.setOpaque(true);
  l.setBackground(Color.black);
  onDoubleClick(l, r { frame.dispose() });
  frame = showFullScreen(l);
  
  effect();
}

svoid effect {
  awtIfNecessary {
    invertImage(theimage);
    l.repaint();
    swingAfter(frame, 0, r {
      invertImage(theimage);
      l.repaint();
      swingAfter(frame, 4500, "effect");
    });
  }
}

Author comment

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: 543 / 654
Referenced in: [show references]