Article View: borland.public.jbuilder.java.swing
Article #12785Re: Help for Multi- Column Headers
From: Ramanan Varadarajan
Date: Mon, 16 Nov 1998 00:00
Date: Mon, 16 Nov 1998 00:00
30 lines
1403 bytes
1403 bytes
Thanks Anne for the code:
Still I have some problem understanding the code...
the code, when executed, does'nt seem to be
drawing multi column headers....
FakeHRenderer sets the border by calling
setBorder(new Border() { implementation of an abstract method
"paintBorder"});
but when is this paintBorder called?! ... I see no point unless it is
called either
implicit or explicit.... although there is call like:
cm.getColumn(1).setHeaderRenderer (FakeHRenderer's object) ... this
makes
nothing spl... even when i remove it the GUI looks same
the screen looks like
A B C D
a b c d
but what i want is A B
a b c d e f g h
Any Help Appreciated.
Thanks a lot for u r time
Ramanan
Technical Details
Message-ID:
<3650B527.D9BBB38D@lancomp.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36508139.FF5BC875@lancomp.com> <72pnbp$qj918@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,51cc939a690d7916 X-Google-Attributes: gid111d45,public From: Ramanan Varadarajan <rvaradar@lancomp.com> Subject: Re: Help for Multi- Column Headers Date: 1998/11/16 Message-ID: <3650B527.D9BBB38D@lancomp.com> X-Deja-AN: 412508604 Content-Transfer-Encoding: 7bit References: <36508139.FF5BC875@lancomp.com> <72pnbp$qj918@forums.borland.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: LAN & Computer Integrators, Inc. Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing