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

7
LINES

< > BotCompany Repo | #1015498 // sliderWithValueLabel

JavaX fragment (include)

static JPanel sliderWithValueLabel(final JSlider slider) {
  final JLabel label = jlabel(str(slider.getValue()) + " ");
  onChange(slider, r {
    setText(label, str(slider.getValue()) + " ");
  });
  ret westAndCenter(label, slider);
}

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: #1015498
Snippet name: sliderWithValueLabel
Eternal ID of this version: #1015498/2
Text MD5: 22195c6141c2d16038e071dca6485525
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-15 03:13:20
Source code size: 242 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 398 / 366
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)