🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

table model...

#12455
From: rfilgue
Date: Tue, 05 Jan 1999 00:00
23 lines
1490 bytes
Hi there,

I have a problem here. I need to display a table with categories and sub
categories. Also for each row I have an object I will use to check the
accuracy and correctness of the information being input. The point is I only
know this model underlying the table at run time. So I will build a class
called dataTable wich will have an attribute called model, this model may be
different each time.

I come accross two options here:
1) make dataTable extend some graphical class and display it directly on a
panel, or...
2) make a method that returns a graphical table to be displayed

do you find any inconviniences with any of them (I mean, a priori).
Some disscusion about this may be very useful to me.

I'll be using Swing.

thanks in advance...

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    
Technical Details
Message-ID: <76tq05$llp$1@nnrp1.dejanews.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,641669b3bb104012,start
X-Google-Attributes: gid111d45,public
From: rfilgue@cinterfor.org.uy
Subject: table model...
Date: 1999/01/05
Message-ID: <76tq05$llp$1@nnrp1.dejanews.com>
X-Deja-AN: 429094755
X-Http-Proxy: 1.0 x5.dejanews.com:80 (Squid/1.1.22) for client 164.73.66.33
Organization: Deja News - The Leader in Internet Discussion
X-Article-Creation-Date: Tue Jan 05 19:43:01 1999 GMT
Newsgroups: borland.public.jbuilder.java.swing
X-Http-User-Agent: Mozilla/4.5 [en] (Win95; I)