🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #19544

SOS from a newbie in JAVA

#19544
From: Thorsten KRUSCHKE
Date: Wed, 21 Jan 1998 00:00
36 lines
1425 bytes
Dear  rescuer,

convinced that the only way to create interesting
web-pages is to use java and javascript, i bought
a book in order to learn it. but as a total
beginner in programming i can't write even the
easiest applet"helloworld"(see "p.s." below) and i
don't understand why. when i try to compile it, i
get the following error message:

helloWorld.java, Line 7: Method
setBackround(java.awt.color) not found in class
helloWorld.
>>  setBackround  (Color.yellow);
>>                ^

if there is someone out there who could help me, i
would be enchanted. Thank's a lot.

faithfully yours 

thorsten
--------------------------------------------
p.s.:
import java.applet.*;
import java.awt.*;

public class helloWorld extends Applet {
Label helloLabel = new Label ("Yo, you lookin' at
me?");
public void init (){
setBackround (Color.yellow);
add (helloLabel);
}
}
Technical Details
Message-ID: <6a5ucu$kbq$2@peuplier.wanadoo.fr>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,7e8335e61670d01,start
X-Google-Attributes: gidf74b3,public
From: "Thorsten KRUSCHKE" <thorsten.kruschke@wanadoo.fr>
Subject: SOS from a newbie in JAVA
Date: 1998/01/21
Message-ID: <6a5ucu$kbq$2@peuplier.wanadoo.fr>
X-Deja-AN: 318147512
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="iso-8859-1"
Organization: Wanadoo - (Client of French Internet Provider)
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language