Article View: borland.public.jbuilder.java.language
Article #386Re: Editing elements in an ArrayList
From: Alexey N. Solofnenko
Date: Wed, 18 May 2005 21:11
Date: Wed, 18 May 2005 21:11
26 lines
1946 bytes
1946 bytes
I am sorry. Java works with Objects, ds.getObjectAt() returns an object
reference from table model. You do not need to call setObjectAt() after
that (unless this is your way to notify JTable that the value is
changed, but it is possible to do by executing table.tableChanged(new
TableModelEvent(this, gridrow, gridrow, gridcol)); ).
- Alexey.
Richard M. Ulrich wrote:
> "Alexey N. Solofnenko" <trelony@mail.ru> wrote in message
> news:428ba393$1@newsgroups.borland.com...
>
>>Java works with whatever was returned by your table model. If you do not
>>want for the value to be copied, do not copy it.
>
>
> I don't wish to be ungrateful, but that is just a tad too cryptic for me to
> understand.
>
> R
>
>
--
Alexey N. Solofnenko {trelony at gmail.com}
home: http://trelony.cjb.net/
Technical Details
Message-ID:
<428baf90$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!pd7cy1no!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<428ba23d@newsgroups.borland.com> <428ba393$1@newsgroups.borland.com> <428ba72a@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,66edc0329a6a0d42 X-Google-Attributes: gidf74b3,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 18 May 2005 14:11:46 -0700 From: "Alexey N. Solofnenko" <trelony@mail.ru> User-Agent: Mozilla Thunderbird 1.0+ (Windows/20050515) MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language Subject: Re: Editing elements in an ArrayList References: <428ba23d@newsgroups.borland.com> <428ba393$1@newsgroups.borland.com> <428ba72a@newsgroups.borland.com> In-Reply-To: <428ba72a@newsgroups.borland.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 208.200.221.5 Message-ID: <428baf90$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1116450704 208.200.221.5 (18 May 2005 14:11:44 -0700) Lines: 26 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!pd7cy1no!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail