svoid replaceComponentsOfHGrid(final Container hgrid, final L<? extends Component> l) { if (hgrid == null) ret; swing { LayoutManager layout = hgrid.getLayout(); if (layout cast GridLayout) layout.setColumns(l(l)); replaceAllComponents(hgrid, l); } }
Began life as a copy of #1020868
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020871 |
Snippet name: | replaceComponentsOfHGrid |
Eternal ID of this version: | #1020871/4 |
Text MD5: | ef9065dd563ba2bea502dbb673816da8 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-01-06 16:23:52 |
Source code size: | 275 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 261 / 309 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |