Article View: be.comp.programming
Article #2921Re: Java
From: Joris Janssens
Date: Thu, 04 Mar 2004 18:39
Date: Thu, 04 Mar 2004 18:39
34 lines
2006 bytes
2006 bytes
Joris Janssens <flotspe@xhtml.invalid> wrote in
news:Xns94A2C6DCA44C2flotspexhtmlinvalid@195.130.132.70:
> "Christian R" <Christian.Rosseel@pandora.be> wrote in news:kbH1c.22721
> $2h4.1761391@phobos.telenet-ops.be:
>
>> Dag Kristoffel,
>>
>> Bedankt voor het antwoord.
>> Sorry hoor, maar ik ben nog maar een beginner.
>> Ik heb uw voorbeeld uitgeprobeerd, maar helaas zonder succes.
>
> zet bovenaan je java-bestand eens
>
> import java.io.*;
>
> die BufferedReader en InputStreamReader komen uit die namespace
of je gebruikt swing :)
import javax.swing.JOptionPane;
String invoer=JOptionPane.showInputDialog("invoer: ");
JOptionPane.showMessageDialog(null,invoer);
dialoogvensterkes in je commandprompt :)
--
Joris "flotspe" Janssens
http://www.xhtml.be/inferno/
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
Technical Details
Message-ID:
<Xns94A2C8042A242flotspexhtmlinvalid@195.130.132.70>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!feed.news.tiscali.de!news1.nefonline.de!newsrouter.london1.eu.level3.net!level3eu!ossa.telenet-ops.be!phobos.telenet-ops.be.POSTED!not-for-mailReferences:
<L7v1c.22352$vJ3.1454111@phobos.telenet-ops.be> <RlD1c.22566$5U3.1748055@phobos.telenet-ops.be> <kbH1c.22721$2h4.1761391@phobos.telenet-ops.be> <Xns94A2C6DCA44C2flotspexhtmlinvalid@195.130.132.70>Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: fcea4,d0fef567aa4ddcfb X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2004-03-04 10:39:41 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!feed.news.tiscali.de!news1.nefonline.de!newsrouter.london1.eu.level3.net!level3eu!ossa.telenet-ops.be!phobos.telenet-ops.be.POSTED!not-for-mail Newsgroups: be.comp.programming Subject: Re: Java From: Joris Janssens <flotspe@xhtml.invalid> References: <L7v1c.22352$vJ3.1454111@phobos.telenet-ops.be> <RlD1c.22566$5U3.1748055@phobos.telenet-ops.be> <kbH1c.22721$2h4.1761391@phobos.telenet-ops.be> <Xns94A2C6DCA44C2flotspexhtmlinvalid@195.130.132.70> Organization: xhtml.be Message-ID: <Xns94A2C8042A242flotspexhtmlinvalid@195.130.132.70> User-Agent: Xnews/5.04.25 Reply-To: flotspe@xhtml.be Lines: 34 Date: Thu, 04 Mar 2004 18:39:40 GMT NNTP-Posting-Host: 213.224.68.127 X-Complaints-To: abuse@telenet.be X-Trace: phobos.telenet-ops.be 1078425580 213.224.68.127 (Thu, 04 Mar 2004 19:39:40 MET) NNTP-Posting-Date: Thu, 04 Mar 2004 19:39:40 MET