Article View: borland.public.jbuilder.java.language
Article #15104Re: New to Java
From: Scott Metzner
Date: Thu, 08 Jul 1999 00:00
Date: Thu, 08 Jul 1999 00:00
32 lines
1336 bytes
1336 bytes
Okay fred, I noticed that when you said: statusBar.setText(a); the "s" on
"set" was capitalized. this is what the function should look like.
void setCaption() {
String a = "Welcome";
statusBar.setText(a);
}
~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:
<37850CB0.B2C069E0@flash.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<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: <37850CB0.B2C069E0@flash.net> X-Deja-AN: 498825157 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