!7 p-substance { final JTable table = showTable(makeData()); addToWindow(table, jbutton("Update", r { Map widths = tableColumnWidthsByName(table); printStruct("Widths", widths); showTable(table, makeData()); tableSetColumnWidths_debug = true; //tableSetColumnWidths(table, widths); tableSetColumnPreferredWidths(table, widths); })); } static L makeData() { ret ll( litorderedmap("Hello" := "World", "How" := randomID()), litorderedmap("Hello" := "Boys", "How" := "Whatever")); }