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

11
LINES

< > BotCompany Repo | #1018969 // infoBoxPanel - show infobox and return panel (e.g. for onClick)

JavaX fragment (include)

1  
static JComponent infoBoxPanel(S text) {
2  
  ret getInfoBoxPanel(infoBox(text));
3  
}
4  
5  
static JComponent infoBoxPanel(S text, double seconds) {
6  
  ret getInfoBoxPanel(infoBox(text, seconds));
7  
}
8  
9  
static JComponent infoBoxPanel(Throwable e) {
10  
  ret getInfoBoxPanel(infoBox(e));
11  
}

Author comment

Began life as a copy of #1006833

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1018969
Snippet name: infoBoxPanel - show infobox and return panel (e.g. for onClick)
Eternal ID of this version: #1018969/4
Text MD5: dd5c9addc7be409112568f6f6542d34a
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-18 16:23:22
Source code size: 281 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 308 / 353
Version history: 3 change(s)
Referenced in: [show references]