Article View: borland.public.jbuilder.java.swing
Article #9801JTable Resize problems with JDK 1.2
From: Jean-Paul Bouzigues
Date: Mon, 31 Jan 2000 00:00
Date: Mon, 31 Jan 2000 00:00
24 lines
1267 bytes
1267 bytes
Hi, I update a JDK 1.1 applet to JDK 1.2 version, with JBuilder 3.0 Enterprise. J've got the next problem (I haven't got this problem with JDK 1.1 applet): For a JTable dynamics columns reasons, i use: - a class X which implements the TableModel class, - and a class Y which extends the classe X, where i use a fireTableStructureChanged(). The problem is that my JTable columns are not resized (I use the JBuilder 3.0 AppletViewer). I am very surprised because i use the AUTO_RESIZE_ALL_COLUMNS property. I tried invalidate(), validate(), repaint() calls but it is KO. For informations, when i manually resize my appletViewer screen , all is OK. What is the solution? Does anybody meet such a problem with JDK 1.2 ? Thanks a lot. Best Regards, JPaul Bouzigues.
Technical Details
Message-ID:
<8741jv$1kk6@bornews.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,fe25bda32a2aace3,start X-Google-Attributes: gid111d45,public From: "Jean-Paul Bouzigues" <jbouzigu@capgemini.fr> Subject: JTable Resize problems with JDK 1.2 Date: 2000/01/31 Message-ID: <8741jv$1kk6@bornews.borland.com> X-Deja-AN: 579872824 Organization: Another Netscape Collabra Server User X-Mimeole: Produced By Microsoft MimeOLE V4.72.3612.1700 Newsgroups: borland.public.jbuilder.java.swing