static JScrollPane setScrollPaneBackground(Color c, JScrollPane sp) { if (sp != null && c != null) swing { sp.getViewport().setBackground(c); } ret sp; }
Began life as a copy of #1024204
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1024205 |
Snippet name: | setScrollPaneBackground - set background color where no component is showing |
Eternal ID of this version: | #1024205/4 |
Text MD5: | fe0048f0b232facdf5e6612e4bc04637 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-26 11:43:00 |
Source code size: | 160 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 257 / 310 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |