🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #802

Re: applet validate()

#802
From: Paul Murray
Date: Sat, 22 Apr 2000 00:00
28 lines
1827 bytes
"Luke" <luke@chipcity.com.au> wrote in message
news:5dbL4.8160$5D.18272@ozemail.com.au

> Hi,
>
> I have a working applet.
> I want to change a textfield value and use that to redraw/validate the
> applet.
>
> How do I do it?
>
> any help would be gratefully recieved.

Is your applet AWT? Swing?

When you say you "want to change a textfield value", do you mean that you
want to alter it's value programmatically from inside code (eg: as the
result of a calculation or button bress), or do you mean that you want
something to happen in response to a user typing something into the textbox?

How do you mean to use the changed value to redraw the applet - what's the
connection between the value and the redraw? Are we talking like "the user
enters a coulour into the textbox and hits return, and in response I want to
redraw the display rectangle so as to show the new colour".

--------------------------------------------------------------
http://www.users.bigpond.com/pmurray
ICQ: 26066755
Technical Details
Message-ID: <xHOM4.7352$E4.15089@newsfeeds.bigpond.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <5dbL4.8160$5D.18272@ozemail.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10a146,2563d1c07ea4fa5f
X-Google-Attributes: gid10a146,public
X-Google-Thread: 10d6db,2563d1c07ea4fa5f
X-Google-Attributes: gid10d6db,public
From: "Paul Murray" <pmurray@nospam.bigpond.com>
Subject: Re: applet validate()
Date: 2000/04/22
Message-ID: <xHOM4.7352$E4.15089@newsfeeds.bigpond.com>
X-Deja-AN: 614836878
References: <5dbL4.8160$5D.18272@ozemail.com.au>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
X-Trace: newsfeeds.bigpond.com 956544861 139.134.123.215 (Mon, 24 Apr 2000 12:54:21 EST)
Organization: Telstra BigPond Internet Services (http://www.bigpond.com)
X-MSMail-Priority: Normal
NNTP-Posting-Date: Mon, 24 Apr 2000 12:54:21 EST
Newsgroups: aus.computers.java,comp.lang.java.programmer