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

16
LINES

< > BotCompany Repo | #1009597 // infoBox_lower - show info box below top one

JavaX fragment (include)

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

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

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

static JWindow infoBox_lower(JWindow w) {
  moveWindowDown(w, w.getHeight()+20);
  ret w;
}

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, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1009597
Snippet name: infoBox_lower - show info box below top one
Eternal ID of this version: #1009597/4
Text MD5: b88c860e1b356d90bf8cab5c6599ef45
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-09 18:34:33
Source code size: 367 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 354 / 409
Version history: 3 change(s)
Referenced in: [show references]