Re: JTable: How to memorize the width of the columns ?
- From: "johnmmcparland" <johnmmcparland@xxxxxxxxxxxxxx>
- Date: 28 Aug 2006 05:43:58 -0700
Dado wrote:
How can I force my application to memorize the column width, so that I don't
need to set the column with every time I start app?
I'm guessing you change your table width when you've run your
application so here's what to do;
1. add code in so that when the column width has finished being
changed, the program writes this to a file.
2. run your program and change your column widths.
3. change your program to read in the file with the widths and set
column widths accordingly.
hope this helps
.
- Follow-Ups:
- References:
- Prev by Date: Move scrollbar from a JButton
- Next by Date: csv to jTable
- Previous by thread: JTable: How to memorize the width of the columns ?
- Next by thread: Re: JTable: How to memorize the width of the columns ?
- Index(es):