static JPanel jSectionWithFont(Font font, Component c) { ret jSectionWithFont(font, "", c); } static JPanel jSectionWithFont(final Font font, fS title, final Component c) { ret swing(func -> JPanel { JPanel p = jSection(title, c); ((TitledBorder) p.getBorder()).setTitleFont(font); ret p; }); } static JPanel jSectionWithFont(Font font, S title) { ret jSectionWithFont(font, title, jpanel()); }
Began life as a copy of #1020286
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1030186 |
| Snippet name: | jSectionWithFont - jSection with title |
| Eternal ID of this version: | #1030186/1 |
| Text MD5: | 99831480dddeadd76b4b263016186385 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-11-12 15:20:54 |
| Source code size: | 432 bytes / 15 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 429 / 467 |
| Referenced in: | [show references] |