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

12
LINES

< > BotCompany Repo | #1000893 // popup function

JavaX fragment (include)

1  
static void popup(final Throwable throwable) {
2  
  popupError(throwable);
3  
}
4  
5  
static void popup(final S msg) {
6  
  print(msg);
7  
  SwingUtilities.invokeLater(new Runnable() {
8  
    public void run() {
9  
      JOptionPane.showMessageDialog(null, msg);
10  
    }
11  
  });
12  
}

Author comment

Began life as a copy of #2000367

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1000893
Snippet name: popup function
Eternal ID of this version: #1000893/1
Text MD5: 513438c4184357fcc9eb59e4006249f1
Author: stefan
Category: javax functions
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-09-05 19:25:11
Source code size: 264 bytes / 12 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 778 / 1086
Referenced in: [show references]