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

10
LINES

< > BotCompany Repo | #1003547 // showInTopRightCorner

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2109L/14K).

static JWindow showInTopRightCorner(Component c) {
  ret swing(() -> {
    new JWindow w;
    w.add(c);
    w.pack();
    moveToTopRightCorner(w);
    w.setVisible(true);
    ret w;
  });
}

Author comment

Began life as a copy of #1003544

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003547
Snippet name: showInTopRightCorner
Eternal ID of this version: #1003547/2
Text MD5: 3f7b4e7655b0e86c2ec061ffec4c69ae
Transpilation MD5: 8f8cde4db7951f1b576d9f50c9e1fcf1
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-30 12:53:03
Source code size: 198 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 727 / 1123
Version history: 1 change(s)
Referenced in: [show references]