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


Groups > comp.lang.java.programmer > #28261

Problem with for

X-Received by 10.236.134.98 with SMTP id r62mr8801619yhi.14.1398621301037; Sun, 27 Apr 2014 10:55:01 -0700 (PDT)
X-Received by 10.140.50.83 with SMTP id r77mr4943qga.15.1398621300965; Sun, 27 Apr 2014 10:55:00 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!ih12no485234qab.1!news-out.google.com!dz10ni23711qab.1!nntp.google.com!cm18no6854237qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.java.programmer
Date Sun, 27 Apr 2014 10:55:00 -0700 (PDT)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=189.55.10.249; posting-account=MadmwQoAAAB0-Gj-ZRrUY9cVddAF-fDq
NNTP-Posting-Host 189.55.10.249
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <e2c90ffd-b887-4257-8924-e1734d75de0a@googlegroups.com> (permalink)
Subject Problem with for
From Venom Lust <lucas__bertollo@hotmail.com>
Injection-Date Sun, 27 Apr 2014 17:55:00 +0000
Content-Type text/plain; charset=ISO-8859-1
X-Received-Bytes 1591
X-Received-Body-CRC 360097381
Xref csiph.com comp.lang.java.programmer:28261

Show key headers only | View raw


    public void writeText(String text)
    {
        char tmpchar;
        int a = text.length();
        for(int i = 0 ; i < text.length();i++);
        {
            jTextArea1.setText(jTextArea1.getText() + text.charAt(i));
            try {            
                Thread.sleep(500);
            } catch (InterruptedException ex) {
                Logger.getLogger(IJFMain.class.getName()).log(Level.SEVERE, null, ex);
            }
        }


it says at text.charAt(i) that i doesnt exists and at for it says something like supress warning empty statement.

anyone knows whats happening?

Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Problem with for Venom Lust <lucas__bertollo@hotmail.com> - 2014-04-27 10:55 -0700
  Re: Problem with for Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-04-27 14:04 -0400
    Re: Problem with for lipska the kat <lipskathekat@example.com> - 2014-04-27 20:07 +0100
      Re: Problem with for leif.roar@invalid.com (Leif Roar Moldskred) - 2014-04-27 15:56 -0500
  Re: Problem with for lipska the kat <lipskathekat@example.com> - 2014-04-27 19:15 +0100
    Re: Problem with for Venom Lust <lucas__bertollo@hotmail.com> - 2014-04-27 11:29 -0700
    Re: Problem with for Venom Lust <lucas__bertollo@hotmail.com> - 2014-04-27 11:31 -0700
    Re: Problem with for Venom Lust <lucas__bertollo@hotmail.com> - 2014-04-27 11:34 -0700
  Re: Problem with for Venom Lust <lucas__bertollo@hotmail.com> - 2014-04-27 11:17 -0700
  Re: Problem with for Roedy Green <see_website@mindprod.com.invalid> - 2014-04-27 16:22 -0700

csiph-web