🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: New to Java

#15160
From: Rich Wilkman
Date: Thu, 01 Jul 1999 00:00
43 lines
1676 bytes
Fred:

The method would be setText(), not SetText().  Case is very important in
Java.

-Rich

"Fred C. Hill" wrote:
> 
> Using JBuilder Pro version 1
> 
> Trying an example from a Java book on adding a new method. Everything seems
> ok but when I compile I get the following message.
> 
> Error: (37) method SetText(java.lang.String) not found in class
> borland.jbcl.control.StatusBar
> 
> I can look at the statusBar.SetText method and everything appears ok.  ????
> 
>   void setCaption() {
>     String a = "Welcome";
>     statusBar.SetText(a);
>   }
> --
> Fred C. Hill
> InterVoice, Inc.
> 303-369-4100 ext 109
> fhill@intervoice.com

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Quality Assurance Manager
Borland JBuilder Team

If you see something that looks like an opinion up there,
it's mine and mine alone.

Mail sent to me from the newsgroups won't bounce but will
be ignored.  If I have time, I'll respond, but you  have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <377C0BC6.F223E46C@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7lge23$17e8@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,6ed205b148766556
X-Google-Attributes: gidf74b3,public
From: Rich Wilkman <rwilkman@inprise.com>
Subject: Re: New to Java
Date: 1999/07/01
Message-ID: <377C0BC6.F223E46C@inprise.com>
X-Deja-AN: 496230794
Content-Transfer-Encoding: 7bit
References: <7lge23$17e8@forums.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language