Article View: borland.public.jbuilder.java.swing
Article #12943Re: JTable with JBuilder2
From: Richard Wilkman
Date: Fri, 09 Oct 1998 00:00
Date: Fri, 09 Oct 1998 00:00
65 lines
2803 bytes
2803 bytes
Madhu: JFC, like JBCL is model-view. The view (visual part) doesn't contain data, etc. Data (the model) is where header info is stored. JBCL components do this for you, JFC does not (though we'll continue to work with Javasoft to make JFC items more "designer friendly"). The general philosophy behind Swing components is that everything is done from code. That's why paints don't happen automaticly, etc. The assumption is that you're writing every line and will do some action when you want to. -Rich Madhu wrote: > > Dave > Is there in no way we can drop the header column from the GUI?????? > I take it from your suggestion that I need to code that part of GUI building. > Thanks > Madhu > > Dave Brown wrote: > > > Below is an example of how to get access to columns. I assume you mean > > the header column. > > > > TableColumnModel columnModel = m_jtableVariable.getColumnModel(); > > > > columnModel.getColumn(0).doSomething(); > > > > Dave Brown > > > > In article <361D2A5D.13FA1042@cdc.gov>, mvc9@cdc.gov says... > > > Hi All > > > I am trying to drag and drop a table component in my applet. > > > I can see a JTable component but there was no JColumn to be seen like in > > > VAJ2.0 > > > Am I missing something or do u have to code the columns part of it > > > urself. > > > I want use the Swing components from Sun only, not jb classes. > > > I am using JBuilder client/server suite which came in with Java Report > > > mag to evaluate it for our project. > > > How do I build a table component completely in JBuilder? > > > I could do it pretty easily in VAJ. > > > Any pointers would be a great help > > > Thanks > > > Madhu > > > > > > -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rich Wilkman Senior Quality Assurance Engineer Borland JBuilder Team If you see something that looks like an opinion up there, it's mine and mine alone. Mail sent to me from the newsgroups won't bounce but will be ignored. If I have time, I'll respond, but you have a better chance if you confine your posts to the newsgroups =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<361E7A6A.F4579D0B@inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<361D2A5D.13FA1042@cdc.gov> <MPG.1087f890e93aece398968e@forums.borland.com> <361E56FA.C5B2F03E@cdc.gov>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,f772e6bddef0db5e X-Google-Attributes: gid111d45,public From: Richard Wilkman <rwilkman@inprise.com> Subject: Re: JTable with JBuilder2 Date: 1998/10/09 Message-ID: <361E7A6A.F4579D0B@inprise.com> X-Deja-AN: 399487725 Content-Transfer-Encoding: 7bit References: <361D2A5D.13FA1042@cdc.gov> <MPG.1087f890e93aece398968e@forums.borland.com> <361E56FA.C5B2F03E@cdc.gov> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing