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.

static JTable setTableFontSizes(float size, JTable table) {
  if (table == null) null;
  swing {
    setFontSize(table.getTableHeader(), size);
    setFontSize(table, size);
  }
  ret table;
}

static JTable setTableFontSizes(JTable table, float size) {
  ret setTableFontSizes(size, table);
}

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: 242 / 352
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1030785 - setTableFontSizesAndRowHeight - auto-adapt row height too