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).

static JTable setTableFontSizesAndRowHeight(float size, JTable table) {
  if (table == null) null;
  swing {
    setTableFontSizes(size, table);
    setRowHeight(table, fontSizeToRowHeight(size, table));
  }
  ret table;
}

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

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: 100 / 160
Referenced in: [show references]