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

12
LINES

< > BotCompany Repo | #1004637 // messageBox

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (5048L/28K).

static void messageBox(final S msg) {
  print(msg);
  swing {
    JOptionPane.showMessageDialog(null, msg, "JavaX", JOptionPane.INFORMATION_MESSAGE);
  }
}

static void messageBox(Throwable e) {
  //showConsole();
  printStackTrace(e);
  messageBox(hideCredentials(innerException2(e)));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004637
Snippet name: messageBox
Eternal ID of this version: #1004637/8
Text MD5: 90441372822fafb1b68ba23ad638fb61
Transpilation MD5: a7b7c2f38c8001538644c09a85d765c6
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-22 20:30:31
Source code size: 299 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 577 / 605
Version history: 7 change(s)
Referenced in: [show references]