Article View: borland.public.jbuilder.java.swing
Article #12101Re: Column Headers problem
From: S�bastien GRENIER
Date: Tue, 23 Feb 1999 00:00
Date: Tue, 23 Feb 1999 00:00
20 lines
1180 bytes
1180 bytes
For each column in the TableModel, you just have to set the minimum and maximum size both to the same value. J. Leroy a �crit dans le message <7ak50f$gf54@forums.borland.com>... > >George Tryfon wrote in message <7aj444$enj20@forums.borland.com>... >>Propably you create your JScrooopane like this: >>JScrollpane scrollpane = new JScrollpane (table); >> >>try to create the scrollpane as: >>JScrollPane scrollpane = JTable.createScrollPaneForTable(table); >> >This worked, but now I would like to know what I have to do to not let the >user resize the columns. > >Thanks, >J. Leroy > >
Technical Details
Message-ID:
<7aud9n$2nl5@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7ahne4$dtm8@forums.borland.com> <7aj444$enj20@forums.borland.com> <7ak50f$gf54@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111d45,28e11a5caa39ae06 X-Google-Attributes: gid111d45,public From: "S�bastien GRENIER" <sgrenier@NOSPAM.atos-group.com> Subject: Re: Column Headers problem Date: 1999/02/23 Message-ID: <7aud9n$2nl5@forums.borland.com> X-Deja-AN: 447497679 References: <7ahne4$dtm8@forums.borland.com> <7aj444$enj20@forums.borland.com> <7ak50f$gf54@forums.borland.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing