Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #2631

Re: rotating text problem

From "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
Subject Re: rotating text problem
Message-ID <799df3ab03038@uwe> (permalink)
Newsgroups comp.lang.java.gui
References <4710628b$0$24403$5fc3050@news.tiscali.nl>
Date 2011-04-27 15:40 +0000
Organization TDS.net

Show all headers | View raw


  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?
<http://www.physci.org/codes/sscce.html>

-- 
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

Back to comp.lang.java.gui | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: rotating text problem "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
  Re: rotating text problem "John Burton" <john.burton@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
  Re: rotating text problem "Bruintje Beer" <bruintje.beer@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
    Re: rotating text problem "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
      Re: rotating text problem "Lew" <lew@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000

csiph-web