Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.alt.net!news-in-01.newsfeed.easynews.com!easynews.com!easynews!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail From: "Andrew Thompson" Subject: Re: rotating text problem Message-ID: <799df3ab03038@uwe> X-Comment-To: comp.lang.java.gui Newsgroups: comp.lang.java.gui In-Reply-To: <4710628b$0$24403$5fc3050@news.tiscali.nl> References: <4710628b$0$24403$5fc3050@news.tiscali.nl> Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] Lines: 36 Date: Wed, 27 Apr 2011 15:40:15 GMT NNTP-Posting-Host: 96.60.20.240 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1303918815 96.60.20.240 (Wed, 27 Apr 2011 10:40:15 CDT) NNTP-Posting-Date: Wed, 27 Apr 2011 10:40:15 CDT Organization: TDS.net Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.gui:2631 To: comp.lang.java.gui Bruintje Beer wrote: .. >I have problem with a piece of code (see below). Why are you wasting your time, and our bandwith, posting these rubbish snippets. Not only is this incompilable because it is incomplete, but it is not even the code being used. I can infer that because.. >void paintComponent() { > Graphics2D g2 = (Graphics2D)g; D:\RotatedTextPanel.java:N: cannot find symbol symbol : variable g location: class RotatedTextPanel Graphics2D g2 = (Graphics2D)g; ^ Note also that the method you are attempting to override there, is public. Why not progress this by posting an SSCCE? -- Andrew Thompson http://www.athompson.info/andrew/ Message posted via JavaKB.com http://www.javakb.com/Uwe/Forums.aspx/java-gui/200710/1 --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24