1 | static JScrollPane setScrollPaneBackground(Color c, JScrollPane sp) { |
2 | if (sp != null && c != null) swing { sp.getViewport().setBackground(c); } |
3 | ret sp; |
4 | } |
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: | 256 / 309 |
Version history: | 3 change(s) |
Referenced in: | [show references] |