Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

12
LINES

< > BotCompany Repo | #1030785 // setTableFontSizesAndRowHeight - auto-adapt row height too

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2979L/17K).

1  
static JTable setTableFontSizesAndRowHeight(float size, JTable table) {
2  
  if (table == null) null;
3  
  swing {
4  
    setTableFontSizes(size, table);
5  
    setRowHeight(table, fontSizeToRowHeight(size, table));
6  
  }
7  
  ret table;
8  
}
9  
10  
static JTable setTableFontSizesAndRowHeight(JTable table, float size) {
11  
  ret setTableFontSizesAndRowHeight(size, table);
12  
}

Author comment

Began life as a copy of #1030757

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030785
Snippet name: setTableFontSizesAndRowHeight - auto-adapt row height too
Eternal ID of this version: #1030785/1
Text MD5: ad3fab143c8444edd1f1567dca09ada7
Transpilation MD5: f177be7e3b7b1ea3515686cff35fe2ae
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-03-25 18:02:33
Source code size: 358 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 104 / 167
Referenced in: [show references]