Article View: borland.public.jbuilder.java.swing
Article #9506RE: Newbe: JTable QUestion
From: Gustavo Lopez
Date: Sun, 05 Mar 2000 00:00
Date: Sun, 05 Mar 2000 00:00
60 lines
2039 bytes
2039 bytes
I GOT IT TO WORK!!!! Don't know why... But I changed from JBuilder (On Windows) to a Sun Workstation and it works... If any can explain... it would be very educative.... Thnks Gustavo Lopez Gustavo Lopez <tuolden@rice.edu> escribi๏ฟฝ en el mensaje de noticias 89qt2p$rn63@bornews.borland.com... > Hi.... > > I know this is a stupid question .. and I have found many answers (inclusive > code) but it still does not work... > > Ok... let me explain .. I just want to add a table... that I could latter > modify (add/delete/sort) its content.. and most IMPORTANT... > want to be able to view its column name... > > For the modification part .. I read that I need to define a > abstractTableClass... or something of the sort... I have not gotten to this > part yet. > > I am using a Frame for this "practice example" ... maybe that could be the > problem..... maybe I need a panel for this to work. > But aren't they the same? > Either way as a FAQ... showed... > > Why doesn't my JTable show the column names? > Although JTable has the column information, it only shows the column headers > when the table is put into a JScrollPane: > > panel.add(new JScrollPane(myJTable)) > ..... > > But I tried this without the panel... > > just > this.add(new JScrollPane(myJTable)) // where this is a extended Frame > Class... > > Doesn't work... Why? beats me.... > > HELP... > I don't know what I am doing wrong... > > Thnks > Gustavo Lopez > > >
Technical Details
Message-ID:
<89u38u$ph3@bornews.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<89qt2p$rn63@bornews.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111d45,97faa2859843de5d X-Google-Attributes: gid111d45,public From: "Gustavo Lopez" <tuolden@rice.edu> Subject: RE: Newbe: JTable QUestion Date: 2000/03/05 Message-ID: <89u38u$ph3@bornews.borland.com> X-Deja-AN: 593463692 References: <89qt2p$rn63@bornews.borland.com> X-Priority: 3 X-Mimeole: Produced By Microsoft MimeOLE V5.00.2615.200 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.swing