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

7
LINES

< > BotCompany Repo | #1023916 // dm_button

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

Libraryless. Click here for Pure Java version (2815L/18K).

static JButton dm_button(S methodName) {
  ret dm_button(methodName, humanizeLabel(methodName));
}

static JButton mapMethodLike dm_button(S methodName, S buttonText) {
  ret jThreadedButton(buttonText, dm_methodNameAsRunnable(methodName));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023916
Snippet name: dm_button
Eternal ID of this version: #1023916/2
Text MD5: 7cc661dbc79991d93693c2a14c07d8fa
Transpilation MD5: 7ae64e7b4d400b2d1ec4ca847608808a
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-23 22:30:05
Source code size: 248 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 247 / 368
Version history: 1 change(s)
Referenced in: [show references]