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

12
LINES

< > BotCompany Repo | #1030757 // setTableFontSizes - for header and cells

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

Transpiled version (2924L) is out of date.

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

Author comment

Began life as a copy of #1007197

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1030757
Snippet name: setTableFontSizes - for header and cells
Eternal ID of this version: #1030757/4
Text MD5: ec45c70bc96803b5104fe5d87af315c5
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-03-19 14:35:14
Source code size: 300 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 241 / 352
Version history: 3 change(s)
Referenced in: [show references]