Libraryless. Click here for Pure Java version (10309L/72K).
svoid dm_placeInBottomRightCorner() { Container frame = dm_frame(); Rectangle desktop = getBounds(dm_desktopPane()); if (frame != null && desktop != null) { Rectangle me = getBounds(frame); DynModule mod = dm_current(); dm_setBounds(mod, desktop.width-me.width, desktop.height-me.height, me.width, me.height); } }
Began life as a copy of #1019048
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027523 |
Snippet name: | dm_placeInBottomRightCorner |
Eternal ID of this version: | #1027523/1 |
Text MD5: | 234ce98156f64f1de0f7e6382c923508 |
Transpilation MD5: | 4d149ef5a5fd03e5b14a8146be52a1bd |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-03-22 22:29:51 |
Source code size: | 341 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 184 / 264 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |