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

15
LINES

< > BotCompany Repo | #1006833 // infoBox - synonym of infoMessage - show info message in top-right corner

JavaX fragment (include)

static JWindow infoBox(O text) {
  ret infoMessage(strOrNull(text));
}

static JWindow infoBox(S text) {
  ret infoMessage(text);
}

static JWindow infoBox(S text, double seconds) {
  ret infoMessage(text, seconds);
}

static JWindow infoBox(Throwable e) {
  ret infoMessage(e);
}

Author comment

Began life as a copy of #1006245

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006833
Snippet name: infoBox - synonym of infoMessage - show info message in top-right corner
Eternal ID of this version: #1006833/4
Text MD5: 87509a6db8467328b91052464d1a0753
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-18 15:17:39
Source code size: 294 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 769 / 934
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1009597 - infoBox_lower - show info box below top one
#1015132 - quickInfoBox - reuse the same info box - TODO
#1018969 - infoBoxPanel - show infobox and return panel (e.g. for onClick)