Libraryless. Click here for Pure Java version (2943L/17K).
1 | svoid addToContainerWithConstraint(Container a, Component b, O constraint) {
|
2 | if (a != null && b != null) swing {
|
3 | a.add(b, constraint); |
4 | } |
5 | } |
Began life as a copy of #1009806
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1031434 |
| Snippet name: | addToContainerWithConstraint |
| Eternal ID of this version: | #1031434/2 |
| Text MD5: | a444644165ad91dbcc466f1f4fbabd2a |
| Transpilation MD5: | 300a3f34236caf109a1111baf546c610 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-06-12 09:10:11 |
| Source code size: | 150 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 394 / 537 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |