I don't think it should be necessary to override the output method, that is
why I added this line
> this.addElement(border);
though I was wrong.
I think it should probably be super.addElement(border);
But if you like your way, go with it.
John McNally
----- Original Message -----
From: John Ky <[EMAIL PROTECTED]>
To: ECS <[EMAIL PROTECTED]>
Sent: Monday, February 07, 2000 5:33 PM
Subject: Re: Composite Elements
> Hi List:
>
> John McNally, I greatly appreciate your help.
> I used your code and with a little tinkering, it
> works perfectly.
>
> Although instead of the line:
>
>
> in the constructor, I had to add this method:
>
> public void output(java.io.PrintWriter out)
> {
> border.output(out);
> }
>
> to get it to output properly.
>
> Is this proper?
>
> Thanks again.
> (and Jeff also)
>
> John
>
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
>
> --
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
>
--
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]