🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #7684

Re: JTable CellRenderer Quetion

#7684
From: John McGrath TeamB
Date: Thu, 28 Dec 2000 06:08
28 lines
1734 bytes
On Sun, 24 Dec 2000 17:11:00 -0600, James A. Schulz wrote:

> but the compiler complains about the last line saying:
> 
> "Applet1.java": Error #: 215 : invalid method declaration;
>    return type required at line 76, column 29
> "Applet1.java": Error #: 203 : illegal start of type at
>    line 76, column 30
> 
> What am I doing wrong?

I assume that you have only posted selected snippets from your code.  
If this is not the case, then the setDefaultRenderer() call is not 
within a method, so the compiler is trying to interpret it as a 
declaration.

If this is the case, then it is likely that your error is somewhere in 
the code that you did not include, which makes it impossible to say 
where the problem is.

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <MPG.14b49e66609c4485989df1@forums.borland.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mail
References: <925vkp$luo7@bornews.inprise.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,78ede608538ed371
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2000-12-27 22:06:56 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mail
From: John McGrath  [TeamB] <ng-b@JPMcGrath.net>
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: JTable CellRenderer Quetion
Date: Thu, 28 Dec 2000 01:08:05 -0500
Organization: Another Netscape Collabra Server User
Lines: 29
Message-ID: <MPG.14b49e66609c4485989df1@forums.borland.com>
References: <925vkp$luo7@bornews.inprise.com>
NNTP-Posting-Host: dslcv1-60.fast.net
X-Newsreader: MicroPlanet Gravity v2.30