Libraryless. Click here for Pure Java version (6700L/38K).
static JPanel comboBoxAndButton(JComboBox cb, S buttonText, IVF1<S> onEnter) { Runnable r = r { callF(onEnter, getText(cb)) }; ret centerAndEastWithMargin(onEnter(cb, r), jbutton(buttonText, r)); }
Began life as a copy of #1019371
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033579 |
Snippet name: | comboBoxAndButton (center & east) |
Eternal ID of this version: | #1033579/2 |
Text MD5: | c59059ec5ede65aa98527aadc03a4c40 |
Transpilation MD5: | fe5a75024e2a3a6c3151631ac731fdf2 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-11-04 02:18:11 |
Source code size: | 204 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 136 / 202 |
Version history: | 1 change(s) |
Referenced in: | [show references] |