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

17
LINES

< > BotCompany Repo | #1008240 // Try to force memory leak with HTML-styled JLabel

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

Libraryless. Click here for Pure Java version (5731L/39K/134K).

!7

static JLabel label;

p {
  swing {
    showFrame(jscroll(label = jcenteredlabel()));
    label.setFont(sansSerif(40));
  }
  awtEvery(label, 1000*30, f printCachedPainterSize);
  while licensed {
    swing {
      label.setText(hhtml(randomID()));
    }
    sleep(1);
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1008240
Snippet name: Try to force memory leak with HTML-styled JLabel
Eternal ID of this version: #1008240/5
Text MD5: e3ff439a7e84cc631f433fc7c4495d96
Transpilation MD5: 8820b4a5b6bbb45b61e30fd1ceb0a1a2
Author: stefan
Category: javax / gui
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-02 04:38:19
Source code size: 294 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 443 / 503
Version history: 4 change(s)
Referenced in: [show references]