Transpiled version (5045L) is out of date.
1 | svoid revalidateIncludingFullCenterContainer(Component c) {
|
2 | if (c == null) ret; |
3 | swing {
|
4 | c.revalidate(); |
5 | var parent = c.getParent(); |
6 | printVars ifdef revalidateIncludingFullCenterContainer_debug("revalidateIncludingFullCenterContainer", +c, +parent);
|
7 | |
8 | if (parent != null && parent.getLayout() instanceof GridBagLayout) {
|
9 | printVars ifdef revalidateIncludingFullCenterContainer_debug("revalidateIncludingFullCenterContainer", +parent);
|
10 | parent.revalidate(); |
11 | } |
12 | } |
13 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1034429 |
| Snippet name: | revalidateIncludingFullCenterContainer - revalidate that also handles components contained in jscroll_center |
| Eternal ID of this version: | #1034429/7 |
| Text MD5: | 0c399152370a0d5d903f255eacf90778 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-03-24 15:05:22 |
| Source code size: | 512 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 413 / 555 |
| Version history: | 6 change(s) |
| Referenced in: | [show references] |