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

5
LINES

< > BotCompany Repo | #1034446 // jToggleButton

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

Libraryless. Click here for Pure Java version (5412L/30K).

static JToggleButton jToggleButton(S text, Runnable action) {
  var btn = basicJToggleButton(text);
  addActionListener(btn, action);
  ret btn;
}

Author comment

Began life as a copy of #1003297

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034446
Snippet name: jToggleButton
Eternal ID of this version: #1034446/4
Text MD5: 69f105933f1a2bca20d9a868b25a46aa
Transpilation MD5: 6fd1a268d58216956f6355e1921d7755
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-07 22:48:12
Source code size: 150 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 74 / 131
Version history: 3 change(s)
Referenced in: [show references]