static FontMetrics componentFontMetrics(JComponent c) { Font font = getFont(c); ret font == null ? null : swing(func -> FontMetrics { c.getFontMetrics(font) }); }
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: | #1024210 |
Snippet name: | componentFontMetrics |
Eternal ID of this version: | #1024210/1 |
Text MD5: | e6bf0b44bbd1cb2c68086148b5a314f1 |
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 12:10:48 |
Source code size: | 169 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 262 / 312 |
Referenced in: | [show references] |