|
-
Calculation in several variables
Hello, I need help in this scenario:
I have 5 jTextFields: A, B, C, D, E
A's value is 5
B's value will be C+2,
C's value will be A+D,
D's value is 6
E's value will be A+B,
if the calculation is ran against those, the result will be:
A's value is 5
B's value will be 13 (C+2)
C's value will be 11 (A+D)
D's values is 6
E's values will be 18 (A+B)
now the question is, how can I produce such result?
the calculation will be triggered whenever an KeyReleased happened in A (e.g. I put value 5 inside A JTextField) and
D fields (e.g. I put value 6 inside D JTextField)
thank you,
Similar Threads
-
Replies: 9
Last Post: 09-19-2005, 08:54 AM
-
Replies: 0
Last Post: 06-28-2001, 09:59 AM
-
Replies: 0
Last Post: 06-14-2001, 06:16 PM
-
By Patrick Ireland in forum .NET
Replies: 0
Last Post: 04-26-2001, 10:01 PM
-
By Patrick Ireland in forum .NET
Replies: 3
Last Post: 04-26-2001, 02:50 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks