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).

1  
static void messageBox(final S msg) {
2  
  print(msg);
3  
  swing {
4  
    JOptionPane.showMessageDialog(null, msg, "JavaX", JOptionPane.INFORMATION_MESSAGE);
5  
  }
6  
}
7  
8  
static void messageBox(Throwable e) {
9  
  //showConsole();
10  
  printStackTrace(e);
11  
  messageBox(hideCredentials(innerException2(e)));
12  
}

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: 643 / 693
Version history: 7 change(s)
Referenced in: [show references]