🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: New to Java

#15105
From: Scott Metzner
Date: Thu, 08 Jul 1999 00:00
30 lines
1250 bytes
Fred.  you made the "s" on "setText" capitalized.  rememmber java is case
sensitive.

it should look like this:  statusBar.setText(a);

later

Scott

"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
Technical Details
Message-ID: <37850CEF.27A6A3B@flash.net>
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: Scott Metzner <smajic@flash.net>
Subject: Re: New to Java
Date: 1999/07/08
Message-ID: <37850CEF.27A6A3B@flash.net>
X-Deja-AN: 498825158
Content-Transfer-Encoding: 7bit
References: <7lge23$17e8@forums.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Sandia National Laboratories
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language