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


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

Re: '{' expected

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!transit3.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail
From "Lew" <lew@THRWHITE.remove-dii-this>
Subject Re: '{' expected
Message-ID <26ydnSsPMpf3wvLbnZ2dnUVZ_rjinZ2d@comcast.com> (permalink)
X-Comment-To comp.lang.java.gui
Newsgroups comp.lang.java.gui
In-Reply-To <1181703775.478818.158120@o11g2000prd.googlegroups.com>
References <1181703775.478818.158120@o11g2000prd.googlegroups.com>
Content-Type text/plain; charset=IBM437
Content-Transfer-Encoding 8bit
X-Gateway time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92]
Lines 52
Date Wed, 27 Apr 2011 15:35:29 GMT
NNTP-Posting-Host 96.60.20.240
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1303918529 96.60.20.240 (Wed, 27 Apr 2011 10:35:29 CDT)
NNTP-Posting-Date Wed, 27 Apr 2011 10:35:29 CDT
Organization TDS.net
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.gui:1811

Show key headers only | View raw


  To: comp.lang.java.gui
pacvek@aol.com wrote:
> On Jun 12, 7:53 pm, Lew <l...@lewscanon.nospam> wrote:
>> pac...@aol.com wrote:
>>> /*
>>> MortgagePaymentCalculatorCR1.java
>>> */
>>> import java.text.DecimalFormat;
>>> public class MortgagePaymentCalculatorCR1.java:3:{
>> This is just plain wrong.  You don't put colons or periods in class names.
>>
>> What are you using to teach you the language?  Doesn't it explain what the
>> valid characters are for Java identifiers?
>>
>> --
>> Lew
> 
> I think I missed that one, I'm really not very good at this, I got rid
> of the colons and periods and now I'm getting
> 
> ';' expected
> ']' expected
> <identifier> expected
> ']' expected
> <identifier> expected
> ']' expected
> <identifier> expected
> ']' expected
> <identifier> expected
> ']' expected
> <identifier> expected
> ']' expected
> <identifier> expected
> <identifier> expected
> illegal start of type
> <identifier> expected
> <identifier> expected
> <identifier> expected
> <identifier> expected
> <identifier> expected

Once again, *copy* and paste the *entire* error message, along with the SSCCE 
(simple, self-contained correct (compilable) example) that causes it.  We 
can't keep guessing at what the trouble is with incomplete information.

-- 
Lew

---
 * 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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

'{' expected "pacvek" <pacvek@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
  Re: '{' expected "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
    Re: '{' expected "pacvek" <pacvek@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
  Re: '{' expected "Lew" <lew@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
    Re: '{' expected "pacvek" <pacvek@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
      Re: '{' expected "Lew" <lew@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
        Re: '{' expected "pacvek" <pacvek@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
          Re: '{' expected "Lew" <lew@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
          Re: '{' expected "pacvek" <pacvek@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
            Re: '{' expected "Lew" <lew@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
      Re: '{' expected "RedGrittyBrick" <redgrittybrick@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
        Re: '{' expected "Lew" <lew@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
  Re: '{' expected "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
  Re: '{' expected "kaldrenon" <kaldrenon@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
    Re: '{' expected "Aziz" <aziz@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
      Re: '{' expected "JT" <jt@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
        Re: '{' expected "pacvek" <pacvek@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
          Re: '{' expected "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000

csiph-web