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

12
LINES

< > BotCompany Repo | #1015185 // showTempWindowInTopRightCorner

JavaX fragment (include)

1  
please include function flatInfoBox.
2  
3  
static JWindow showTempWindowInTopRightCorner(JComponent c) {
4  
  ret showTempWindowInTopRightCorner(c, flatInfoBox_defaultTime);
5  
}
6  
7  
static JWindow showTempWindowInTopRightCorner(final JComponent c, final double seconds) {
8  
  if (isHeadless()) null;
9  
  final JWindow window = showWindowInTopRightCorner(c);
10  
  disposeWindowAfter(iround(seconds*1000), window);
11  
  ret window;
12  
}

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