🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Using JTable in JB3.5

#8181
From: Bradford C. Miller
Date: Wed, 11 Oct 2000 00:00
18 lines
1376 bytes
I'm a Java newbie, but am an experienced Delphi developer. The
translation to the JBuilder IDE, is not going well for me at all.
Example: I'm trying to put a JTable onto a frame. Seems simple.

NOT.

I looked at some of the sample code for JTable, and copy and pasted the
code into JB and eventually got the app to run. It showed my table, and
all was good. However, I can't see how to do this actually using the
IDE. I dislike the fact that dropping a JTable doesn't do anything, and
there are no useful properties like RowCount, ColCount, etc. I see that
I need to have a TableModel defined, but am unsure as to where I would
actually declare this. ARrrrrrrgh. 

Java just seems much more difficult than Delphi....:( 

And that's ignoring the concept of "Layout managers" which I actually
understand and can deal with.
Technical Details
Message-ID: <39E4D0BB.CC628234@spicedhamawayaol.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,4c07b84da84bcfeb,start
X-Google-Attributes: gid111d45,public
From: "Bradford C. Miller" <millerb235@spicedhamawayaol.com>
Subject: Using JTable in JB3.5
Date: 2000/10/11
Message-ID: <39E4D0BB.CC628234@spicedhamawayaol.com>
X-Deja-AN: 680302812
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Trace: 11 Oct 2000 13:37:00 -0800, 207.199.194.12
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing