🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #13991

Re: IRC-chat applet in JAVA

#13991
From: timvw
Date: Sun, 06 May 2001 17:00
27 lines
1904 bytes
"Tim De Grande" <> Ik ben bezig met het schrijven van een appletje in JAVA
maar ik zit met het
> probleem dat ik niet weet hoe ik constant de gegevens van de server kan
> binnenhalen.  Ik gebrui de volgende class om de gegvens binnen te proberen
> te halen:
>
> In de hoofdclass maak ik de thread aan, start de connectie en de thread,
> maar ik krijg geen reactie...

heb onlangs zoiets gemaakt,
als je dan de thread aanmaakt,
en start in main, dan zou deze
run methode het wel moeten doen.

 public void run () {
  try {
   while (true) {
    String str = in.readLine();
    if (!str.equals("")) {
     outputArea.append(str+"\n");
    }
   }
  }
  catch(IOException e) {}
  finally {}
 }
Technical Details
Message-ID: <989168528.137264@seven.kulnet.kuleuven.ac.be>
Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!dispose.news.demon.net!demon!diablo.netcom.net.uk!netcom.net.uk!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!not-for-mail
References: <9d3cfa$c4d$1@news.planetinternet.be>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: fcea4,b9c6b25955df3efc
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2001-05-06 10:04:02 PST
Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!dispose.news.demon.net!demon!diablo.netcom.net.uk!netcom.net.uk!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!not-for-mail
From: "timvw" <timvw@kotnet.org>
Newsgroups: be.comp.programming
Subject: Re: IRC-chat applet in JAVA
Date: Sun, 6 May 2001 19:00:28 +0200
Organization: KULeuvenNet
Lines: 31
Message-ID: <989168528.137264@seven.kulnet.kuleuven.ac.be>
References: <9d3cfa$c4d$1@news.planetinternet.be>
NNTP-Posting-Host: seven.kulnet.kuleuven.ac.be
X-Trace: naxos.belnet.be 989168528 5192 134.58.127.12 (6 May 2001 17:02:09 GMT)
X-Complaints-To: abuse@belnet.be
NNTP-Posting-Date: Sun, 6 May 2001 17:02:08 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Cache-Post-Path: seven.kulnet.kuleuven.ac.be!unknown@kn-10-0-51-001.kotnet.kuleuven.ac.be
X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/)