static JTextField setTextFieldFontSize(JTextField tf, int size) { tf.setFont(tf.getFont().deriveFont((float) size)); ret tf; } static JTextField setTextFieldFontSize(int size, JTextField tf) { ret setTextFieldFontSize(tf, size); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1007147 |
Snippet name: | setTextFieldFontSize |
Eternal ID of this version: | #1007147/3 |
Text MD5: | 3cd26c1e3038f2c46d3c75897f32aaeb |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-03-16 00:32:31 |
Source code size: | 246 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 475 / 505 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1007197 - setFontSize |