Re: moving (JTable) columns




"Roedy Green" <my_email_is_posted_on_my_website@xxxxxxxxxxxxxx> wrote in message
news:ja1io193949kj85itt6jutleq8briu8jhc@xxxxxxxxxx
> On Sat, 26 Nov 2005 13:46:43 -0500, ":-o" <fcrutch@xxxxxxxxxxxx>
> wrote, quoted or indirectly quoted someone who said :
>
>>I'm using a JTable (with headers) and I press a button and the cells are
>>filled
>>with data from a source I specify.
>
> When you use the column reorder, your datamodel should be unaffected.
> By any chance, are you pouring data into different slots on column
> reorder?
>

I think I know whats happening. I have a constants file with final public
static definitions and within this
file, I have an final public static array which controls the columns that the
s/w is locked into, which I'll need to redesign.

final public static String[] columns {"SSN", "LastName", "FirstName", etc......}

such that when I do a findColumn (after column movement), this is where it
hiccups.

Thanks.


> Canadian Mind Products, Roedy Green.
> http://mindprod.com Java custom programming, consulting and coaching.


.


Quantcast