static void tableColumnPreferWidth(JTable table, int columnIdx, int width) { table.getColumnModel().getColumn(columnIdx).setPreferredWidth(width); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1003893 |
| Snippet name: | tableColumnPreferWidth |
| Eternal ID of this version: | #1003893/1 |
| Text MD5: | ef92b9ca553a493db30af5c138b691f5 |
| Author: | stefan |
| Category: | javax swing |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-07-29 18:10:24 |
| Source code size: | 152 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 740 / 721 |
| Referenced in: | #1003895 - tableColumnMaxWidth #1006654 - Standard functions list 2 (LIVE, continuation of #761) |