Libraryless. Click here for Pure Java version (7940L/46K).
1 | static JButton jImageButton(S imageID, O action) {
|
2 | ret jimageButton(imageID, action); |
3 | } |
4 | |
5 | // button without action |
6 | static JButton jImageButton(S imageID) {
|
7 | ret jimageButton(imageID); |
8 | } |
9 | |
10 | static JButton jImageButton(Image image, S toolTip, Runnable action) {
|
11 | ret jimageButton(image, toolTip, action); |
12 | } |
13 | |
14 | static JButton jImageButton(S imageID, S toolTip, Runnable action) {
|
15 | ret jimageButton(imageID, toolTip, action); |
16 | } |
Began life as a copy of #1006831
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1010281 |
| Snippet name: | jImageButton - synonym of jimageButton |
| Eternal ID of this version: | #1010281/5 |
| Text MD5: | ebe0ab522c28be31d4caa2ef58552175 |
| Transpilation MD5: | 84a14825c722c3efb47ddc16f0002621 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-03-07 19:18:27 |
| Source code size: | 438 bytes / 16 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 669 / 880 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |