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

12
LINES

< > BotCompany Repo | #1000893 // popup function

JavaX fragment (include)

static void popup(final Throwable throwable) {
  popupError(throwable);
}

static void popup(final S msg) {
  print(msg);
  SwingUtilities.invokeLater(new Runnable() {
    public void run() {
      JOptionPane.showMessageDialog(null, msg);
    }
  });
}

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: 682 / 974
Referenced in: [show references]