Solved

Writing to a Text Field

Posted on 1998-09-01
4
170 Views
Last Modified: 2010-03-30
I want to learn if it could be possible to write something to a TextField by by the program for example results of an equation .If so , how can i write ,need source codes.Thank you.
0
Comment
Question by:murat080598
  • 2
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
msmolyak earned 10 total points
ID: 1223096
Simply use

myTextField.setText("Text")

command.
0
 

Author Comment

by:murat080598
ID: 1223097
Ok, and if i want to change this continuously as much as my programs result changes ,what must i add?
0
 
LVL 5

Expert Comment

by:msmolyak
ID: 1223098
You probably call this method as many times as you need. I am not sure what you mean by "continuously".
0
 

Author Comment

by:murat080598
ID: 1223099
Hi msmolyak ,
did ou receive my mail?
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
The viewer will learn how to implement Singleton Design Pattern in Java.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now