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

12
LINES

< > BotCompany Repo | #1015185 // showTempWindowInTopRightCorner

JavaX fragment (include)

please include function flatInfoBox.

static JWindow showTempWindowInTopRightCorner(JComponent c) {
  ret showTempWindowInTopRightCorner(c, flatInfoBox_defaultTime);
}

static JWindow showTempWindowInTopRightCorner(final JComponent c, final double seconds) {
  if (isHeadless()) null;
  final JWindow window = showWindowInTopRightCorner(c);
  disposeWindowAfter(iround(seconds*1000), window);
  ret window;
}

Author comment

Began life as a copy of #1015141

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: #1015185
Snippet name: showTempWindowInTopRightCorner
Eternal ID of this version: #1015185/1
Text MD5: 8bcf4062a0732b531b8c0539ef98ac84
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-10 16:10:50
Source code size: 419 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 301 / 341
Referenced in: [show references]