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

5
LINES

< > BotCompany Repo | #1028901 // jLabelWithButtonsAndSideMargin

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

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

// _ = text, runnable, text, runnable, ...
// use e.g. maxToShow := 2 to hide all but 2 buttons in a pop-down menu
static JPanel jLabelWithButtonsAndSideMargin(S text, O... _) {
  ret withSideMargin(jLabelWithButtons(text, _));
}

Author comment

Began life as a copy of #1026643

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1028901
Snippet name: jLabelWithButtonsAndSideMargin
Eternal ID of this version: #1028901/1
Text MD5: 9dd42221dfe38edf4672c2a1becfd442
Transpilation MD5: 3076e372847b970e0eb4b226b0f299d4
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-11 13:12:22
Source code size: 233 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 163 / 215
Referenced in: [show references]