🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Simple Question on textFieldControls

#19534
From: Dan French
Date: Wed, 21 Jan 1998 00:00
18 lines
1059 bytes


I want to develop a simple calculation applet that takes user (numeric)
input from a textFieldControl and simply displays the answer in a second
textFieldControl.  In other words, in textFieldControl1 the user is to
enter the number of square feet he or she wants to "finish" (this is a
floor finish calculator), and the applet will display the number of gallons
needed for the job in textFieldControl2.

The equation is simple; textFieldControl1 * 1500 = textFieldControl2.  What
is the best way to accomplish this?  I can't seem to figure out how to get
integers entered into textFieldControls into math formulas.

please help

Dan French
email@macroworks.com
Technical Details
Message-ID: <01bd265e$21ab55e0$9d7f85cd@default>
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,b923409e270ff821,start
X-Google-Attributes: gidf74b3,public
From: "Dan French" <user@msn.com>
Subject: Simple Question on textFieldControls
Date: 1998/01/21
Message-ID: <01bd265e$21ab55e0$9d7f85cd@default>
X-Deja-AN: 317970795
Organization: macroworks
Newsgroups: borland.public.jbuilder.java.language