1 | static void tableColumnPreferWidth(JTable table, int columnIdx, int width) {
|
2 | table.getColumnModel().getColumn(columnIdx).setPreferredWidth(width); |
3 | } |
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: | 741 / 722 |
| Referenced in: | [show references] |