1 | static JProgressBar showProgressWindow(double maxValue) { |
2 | ret showProgressWindow(null, maxValue); |
3 | } |
4 | |
5 | static JProgressBar showProgressWindow(S text, double maxValue) { |
6 | JProgressBar bar = jProgressBarWithText(iround(maxValue)); |
7 | swingCall(bar, 'setString, text); |
8 | centerFrame(packFrameVertically(500, showFrame(text, bar))); |
9 | ret bar; |
10 | } |
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: | #1020974 |
Snippet name: | showProgressWindow |
Eternal ID of this version: | #1020974/5 |
Text MD5: | 7aa010c114d918f628704a3fd1d6e20f |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-21 14:44:52 |
Source code size: | 350 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 321 / 359 |
Version history: | 4 change(s) |
Referenced in: | [show references] |