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

5
LINES

< > BotCompany Repo | #1006282 // showControlButton - convenience method for showing a single button in the controls area

JavaX fragment (include)

static JButton showControlButton(S text, O runnable) {
  JButton btn = jbutton(text, runnable);
  showControls(jCenteredLine(btn));
  ret btn;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006282
Snippet name: showControlButton - convenience method for showing a single button in the controls area
Eternal ID of this version: #1006282/1
Text MD5: b4e5ef80f64670635b17e66a9f8946c8
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-26 15:10:40
Source code size: 148 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 487 / 498
Referenced in: [show references]