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

5
LINES

< > BotCompany Repo | #1035161 // setSliderMax

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

Libraryless. Click here for Pure Java version (7630L/43K).

svoid setSliderMax(JSlider slider, int max) {
  if (slider != null) swing {
    slider.setMaximum(max);
  }
}

Author comment

Began life as a copy of #1031903

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035161
Snippet name: setSliderMax
Eternal ID of this version: #1035161/1
Text MD5: 8abe97cbd81e671d2aaa6d17bbffa6c3
Transpilation MD5: 215a4c1959202d790e25d1f0ba5bba23
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-04-02 22:12:51
Source code size: 113 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 135 / 191
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)