πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #8958

Re: JTable bean & model

#8958
From: Xavier Cholous
Date: Thu, 15 Jun 2000 00:00
40 lines
1905 bytes
I have tried it (using my own extension of class AbstractTableModel), the
model created appears in the inspector but when selecting it tells me
that it can't instantiate an interface, an exception is raised and the
tableModel is not binded :

Did I miss something ?

Thanks for your help.




P.L. <pl@pl.nl> a οΏ½crit dans le message : 3948ab0a.0@news.fontys.nl...
> You have to connect  a instance of  datamodel to a new attribute in the
> class(extends JFrame?). Automatically the JTable inspector picks it up and
> then you can select the model item.
>
> It's usefull to add data to the datamodel (inspect the Java API how to)
> before the JTable instance is created and added to your JFrame.
>
> succes
> Patrick
>
>
> "Xavier Cholous" <xavier.cholous@nettoll.com> wrote in message
> news:8ia90t$oig$1@reader1.fr.uu.net...> Hello,
> >
> > I am using JBuilder 3.0. I design my GUI with Swing Beans.
> > For the JTable, the inspector shows an empty model item list.
> > How should I set my own model for the JTable in order it to appear into
> the
> > available choices of the model item of my JTable inspector?
> >
> > Thanks for help.
> >
> > Regards.
> >
> >
>
>
Technical Details
Message-ID: <8iao6a$5e8$1@reader1.fr.uu.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8ia90t$oig$1@reader1.fr.uu.net> <3948ab0a.0@news.fontys.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,d1dcc133a5619674
X-Google-Attributes: gid111d45,public
From: "Xavier Cholous" <xavier.cholous@nettoll.com>
Subject: Re: JTable bean & model
Date: 2000/06/15
Message-ID: <8iao6a$5e8$1@reader1.fr.uu.net>
X-Deja-AN: 634892123
References: <8ia90t$oig$1@reader1.fr.uu.net> <3948ab0a.0@news.fontys.nl>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
X-Complaints-To: abuse@fr.uu.net
X-Trace: reader1.fr.uu.net 961078282 5576 212.155.143.61 (15 Jun 2000 14:11:22 GMT)
Organization: UUNET
X-MSMail-Priority: Normal
NNTP-Posting-Date: 15 Jun 2000 14:11:22 GMT
Newsgroups: borland.public.jbuilder.java.swing