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

16
LINES

< > BotCompany Repo | #1010281 // jImageButton - synonym of jimageButton

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

Libraryless. Click here for Pure Java version (7940L/46K).

static JButton jImageButton(S imageID, O action) {
  ret jimageButton(imageID, action);
}

// button without action
static JButton jImageButton(S imageID) {
  ret jimageButton(imageID);
}

static JButton jImageButton(Image image, S toolTip, Runnable action) {
  ret jimageButton(image, toolTip, action);
}

static JButton jImageButton(S imageID, S toolTip, Runnable action) {
  ret jimageButton(imageID, toolTip, action);
}

Author comment

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: 438 / 593
Version history: 4 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)