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

8
LINES

< > BotCompany Repo | #1020978 // setProgressBarValue

JavaX fragment (include)

1  
svoid setProgressBarValue(JProgressBar bar, int value) {
2  
  swingCall(bar, 'setValue, value);
3  
}
4  
5  
svoid setProgressBarValue(JProgressBar bar, int value, int total) {
6  
  setProgressBarTotal(bar, total);
7  
  setProgressBarValue(bar, value);
8  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020978
Snippet name: setProgressBarValue
Eternal ID of this version: #1020978/2
Text MD5: ee26353b68d0911211fb6d9003442c24
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-25 20:58:20
Source code size: 242 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 300 / 363
Version history: 1 change(s)
Referenced in: [show references]