How do I get the results of 2 text fields and put the output into another ?

I have 2 text fields that multiply off of each other.
My question is, is there a way to get the result of this and put it into another text field? And from that result get another result? Or do I have to get the results from a textarea?

I have 2 text fields that multiply off of each other.I assume this really means you want to have something else multiply the contents of the two text fields. When you are using an object-oriented language, it is helpful if you consider what objects are responsible for what actions. Loose descriptions lead to confusion.
My question is, is there a way to get the result of
this and put it into another text field? And from
that result get another result? Or do I have to get
the results from a textarea?Assuming that your "text field" is a Swing text component (and not, say, an HTML text field) then it has a getText() method that returns the contents as a String. If you plan to multiply this by something then you'll want to convert it to an int or a double or maybe a BigInteger or a BigDecimal object. Are we on the right track here?

Similar Messages

  • Come one I already asked, how do i get it to accept my serial numbers and use the thing

    It is improssible to use th is th ing,....... for the third time ........................How do I get it to accept my serial numbers and turn on so i can actually use it

    Hi,
    Premiere Elements has it's own forum so it may be better ask your question there.
    http://forums.adobe.com/community/premiere_elements?view=all
    In version 12, activation is done by loading the editor (Photoshop or Premiere), supplying the serial number and signing in. Do not sign out as that deactivates that installation.
    If you get a message that there is no Internet connection when there is, could be an indication that the hosts file has been modified in the past to stop Adobe contacting the authentication server - I don't know what would modify the hosts file to do that. If you do modify the hosts file, it is wise to take a copy first.
    In your case, does the serial number get rejected or the sign on?
    Brian

  • How to merge text files and put the result in a text file.

    Hi,
    I am trying to merge the files(text) using OWB and I would like to put the result in a file. Could any one please explain how to do this.
    Thanks and regards
    Gowtham Sen.

    using the unix commnad 'cat' along with the redirect '>>' will concat the files into one target
    #this will create the target file and over-write it if it existed already
    cat file1 > target
    ##Now add the rest of the files to the target, without over-writing
    cat file2 >>target
    cat file3 >>target
    cat file16 >> target
    You can then use an external table on the target file.
    A nicer way would be to user a 'for loop', but this will work fine.

  • I have one Iphone and two computers. How do i get my ringtones off of one computer and onto the other?, I have one Iphone and two computers. How do i get my ringtones off of one computer and onto the other?

    I have one Iphone, and two computers. They both have different purchases on them. One is older than the other. and one was my moms. How do i get the ringtones off of my computer and onto my moms computer to use all of them on my Iphone?

    Copy them to a cd/dvd/flash drive/external drive/etc,  then to the other computer.
    E-mail them.

  • How do i get my pictures to load i have to put the card in my printer and then the untltied thing comes up on my desktop  pictures use to would just load and now I can not figure out how to force them

    I have my card from my camera in my printer and it is blinking, the untitled box comes up on the desktop then Iphoto pops up and nothing happens at all    use to do it on its own.  How do I force this to load the pictures

    Sorry I just assumed the force was a easy thing and I have never asked a techo question before.  Hope the information below helps
    It is a Mac Intell
    Operating system is apple mac?  Not sure how to answer that quesiton
    Printer is a HP photosmart c4280 all in one
    Camera is a Sony Cyber  shot
    The untilted thing is when i put the camera card into the printer slot a box on the right hand side comes up on the desk top it is a picture of a white box with a open slot in the front and it states Untitiled.  If I take the card out this box goes away
    I am trying to download pictures.  Use to be I put the card into the printer, iphoto would open and then you could choose which new picutres you wanted to import.  Now iphoto opens up and does not show any new pictures, there is no import at the bottom right and it just sits there.    I would like to load pictures that I have taken all summer.    I do hope this helped and I worded it corretly enough that would make since...
    Thank you

  • How to read the contents of a text file and populate the data in a table ?

    Hello All,
      Can anyone advise on how to acheieve the above ? I am trying to read in a text file (CSV) and have the contents populated to the respective UI elements in a table. Any help is greatly appreciated.
    from
    Kwok Wei

    Hi,
    Let us consider you have list of names(Seperated by delimeter) in a text file and you want to display in  a table.
    1. Create Context Node "Names" and context attribute "Name"
    2. Create Table and bind to the above context.
    3.Write the following code in the "Init method.
    try{
    FileReader f =new FileReader("");
    BufferedReader r=new BufferedReader(f);
    String names=r.readLine();
    Vector Names=new Vector();
    // Use Tokenizer and store all the names i a vector//
    for(int i=0;i<Names.size();i++){
    IPrivate<<VieName>>.INameElement ele=wdContext.createNameElement();
    ele.set<<Name>>( Names.get(i).toString());
    wdContext.NodeName().addElement(ele);
    Regards, Anilkumar
    Message was edited by: Anilkumar Vippagunta

  • How can i get my macbook pro to automatically login and open the server

    I apologize if this question has been asked before.  I am new to MAC and know almost nothing about configuring them.
    I have a windows server 2003 that I am networked with.  When I boot my Macbook Pro I have to manually connect to the server.  How can I make my laptop do this automatically?

    Add it in the Users & Groups, Login Items area.

  • How do I get my wireless printer, to print homework , and from the internet on my laptop

     HP touch smart all in one printer, Model isD110a, window xp, vista, 7   did not run in computer, did not act knowledge disk
    [Personal Information Removed]

    I assume you want to connect the printer wirelessly.  First, from the front of the printer: Setup > Network > Wireless Setup Wizard.  Follow the prompts.
    Get the latest software for your printer from the "Support & Drivers" link at the top of this page.  Start the installer and when it asks, select "Network" or "Wireless" installation type.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • How do I get my old Firefox 8.0 back and replace the hated version 9.0.1?

    I don't like the new user interface and I want the old one back.

    You can get Firefox 3.6 from http://www.mozilla.com/en-US/firefox/all-older.html

  • How can I remove my old apple id from iTunes and put the new one in?

    Morning all, how can I remove my old apple Id from my I tunes account and replace it with the new apple ID, ?
    Many thanks
    Kimber. Lee

    Sign out of iTunes and sign in with the new ID. On your computer, under on of the iTunes menus, on your iPad Settings > iTunes and App Stores and tap on the Apple ID.
    Note that all apps downloaded under the previous ID are locked to that ID, and you will have to sign back onto it for any updates.

  • HT4191 How do I get my iCloud off my husbands email and put on my email?

    From my iPhone 4s my iCloud is in my husbands email. How can I change it to my email and info.

    You could just use the search feature and find:
    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device

  • Read a text file and put the text in a TextEdit UI

    I have found code sample for reading file inside webdynpro, but I can't manage to make it works with a text file on the web (ex.: "http:/.../file.txt").
    Can someone post the exact code needed for that?
    Thanks!

    Hope this post will help people doing their homeworks...
              StringBuffer tmpBuffer = new StringBuffer();
              try {
                   URL url = new URL("http://.../test.txt");
                   URLConnection urlconnection = url.openConnection();
                   long l = urlconnection.getContentLength();
                   tmpBuffer.append("Content Length = " + l);
                   BufferedReader in =
                        new BufferedReader(new InputStreamReader(url.openStream()));
                   String line;
                   while ((line = in.readLine()) != null) {
                        tmpBuffer.append("\n" + line);
                   in.close();
              } catch (Exception e) {
                   //System.out.println(e.toString());
              if (tmpBuffer != null) {
                   wdContext.currentContextElement().setZoneMessage(
                        tmpBuffer.toString());

  • Dynamically change the size of a text field.

    Is it possible to change the size of a text field depending on the amount of text in the field?
    Thanks,
    Chad

    You can find the answer from this post.
    jimmypham, ""Shrink to Fit" - Text Field capability?" #1, 18 Jul 2005 10:36 pm

  • Payment medium - Text fields shifted to the left

    Hello Experts,
    after running the payment run, the payment media is created but the text fields that are written in the files are shifted to the left.
    The files contains 4 text fields. In the first text field should be written the value LS_REF1 and in the second one the value LS_REF3
    If LSREF1 is blanc, then the value of LS_REF3 is written in the first text field.
    Is it possible to avoid that SAP shift the fields to the left? In the function module FKK_PAYM_DEDIUM_WRITE is used the FM FKK_DME_DETAILS_FILL, which shift the values.
    Cheers and thanks in advance
    Edited by: prashak80 on Jul 23, 2010 12:16 PM

    In the respective field properties (double click the field node), goto Attributes tab.  There you'll find a field 'Conv. function'.  Press F4. You'll be presented with many functions.  Scroll down and find functions starting with C.  Select the one that best suits your needs.  This is for maintaining the alignment within the field output.
    If your problem is that REF1 field is skipped when there are no values and that's what is causing the alignment as REF3 is shifted to that extent, then you need REF1 field to output at any cost irrespective of any values are present. In this case, check the status filed in the same tab.  The status field should be blank (standard).
    You can also consider Target offset field.  This will offset as many number of characters in the output field.  You might have to play with these settings.
    Hope this helps.
    Ravi.

  • How do I create a 1d array that takes a single calculation and insert the result into the first row and then the next calculation the next time the loop passes that point and puts the results in thsecond row and so on until the loop is exited.

    The attached file is work inprogress, with some dummy data sp that I can test it out without having to connect to equipment.
    The second tab is the one that I am having the problem with. the output array from the replace element appears to be starting at the index position of 1 rather than 0 but that is ok it is still show that the new data is placed in incrementing element locations. However the main array that I am trying to build that is suppose to take each new calculation and place it in the next index(row) does not ap
    pear to be working or at least I am not getting any indication on the inidcator.
    Basically what I am attempting to do is is gather some pulses from adevice for a minute, place the results for a calculation, so that it displays then do the same again the next minute, but put these result in the next row and so on until the specifiied time has expired and the loop exits. I need to have all results displayed and keep building the array(display until, the end of the test)Eventually I will have to include a min max section that displays the min and max values calculated, but that should be easy with the min max function.Actually I thought this should have been easy but, I gues I can not see the forest through the trees. Can any one help to slear this up for me.
    Attachments:
    regulation_tester_7_loops.vi ‏244 KB

    I didn't really have time to dig in and understand your program in depth,
    but I have a few tips for you that might things a bit easier:
    - You use local variables excessively which really complicates things. Try
    not to use them and it will make your life easier.
    - If you flowchart the design (very similar to a dataflow diagram, keep in
    mind!) you want to gather data, calculate a value from that data, store the
    calculation in an array, and loop while the time is in a certain range. So
    theres really not much need for a sequence as long as you get rid of the
    local variables (sequences also complicate things)
    - You loop again if timepassed+1 is still less than some constant. Rather
    than messing with locals it seems so much easier to use a shiftregister (if
    absolutely necessary) or in this case base it upon the number of iterations
    of the loop. In this case it looks like "time passed" is the same thing as
    the number of loop iterations, but I didn't check closely. There's an i
    terminal in your whileloop to read for the number of iterations.
    - After having simplified your design by eliminating unnecessary sequence
    and local variables, you should be able to draw out the labview diagram.
    Don't try to use the "insert into array" vis since theres no need. Each
    iteration of your loop calculates a number which goes into the next position
    of the array right? Pass your result outside the loop, and enable indexing
    on the terminal so Labview automatically generates the array for you. If
    your calculation is a function of previous data, then use a shift register
    to keep previous values around.
    I wish you luck. Post again if you have any questions. Without a more
    detailed understanding of your task at hand it's kind of hard to post actual
    code suggestions for you.
    -joey
    "nelsons" wrote in message
    news:[email protected]...
    > how do I create a 1d array that takes a single calculation and insert
    > the result into the first row and then the next calculation the next
    > time the loop passes that point and puts the results in thsecond row
    > and so on until the loop is exited.
    >
    > The attached file is work inprogress, with some dummy data sp that I
    > can test it out without having to connect to equipment.
    > The second tab is the one that I am having the problem with. the
    > output array from the replace element appears to be starting at the
    > index position of 1 rather than 0 but that is ok it is still show that
    > the new data is placed in incrementing element locations. However the
    > main array that I am trying to build that is suppose to take each new
    > calculation and place it in the next index(row) does not appear to be
    > working or at least I am not getting any indication on the inidcator.
    >
    > Basically what I am attempting to do is is gather some pulses from
    > adevice for a minute, place the results for a calculation, so that it
    > displays then do the same again the next minute, but put these result
    > in the next row and so on until the specifiied time has expired and
    > the loop exits. I need to have all results displayed and keep building
    > the array(display until, the end of the test)Eventually I will have to
    > include a min max section that displays the min and max values
    > calculated, but that should be easy with the min max function.Actually
    > I thought this should have been easy but, I gues I can not see the
    > forest through the trees. Can any one help to slear this up for me.

Maybe you are looking for

  • Updated my ipod touch to ios 5.1 can no longer use iMessage. Help?

    I updated my iPod Touch to the new ios 5.1 the other day and since then I am having trouble with my iMessage, th send button is constantly greyed out and when I select my other iphone/ipod imessage users it tells me that they are not registered with

  • Zen Micro Random Algorithm. What is

    I think the biggest thing with this mp3 player you need is patience. I think everyone's had something go wrong, and few have had it work flawlessly on the first time. That said; What is the deal with the DJ- Random Play all function. My micro seems t

  • How to determine Charge types in forwarding order ?

    Hi Experts, I am new to SAP TM, I am configuring the charge management. Please provide step by step configurations to determine charge types automatically in forwarding order ASAP. Thanks, Shakti

  • XMII Server availability

    Hi, I am wondering what are the possible scenarios that xMII server is unavailable to shopfloor.  I am listing some of the possibilities that I know. 1. When network is down 2. When there are some changes related to transactions, database changes ( n

  • Initialise Managed Bean

    Normally Managed Beans are Initialised on demand, but how can I initialise a Managed Bean without Value or Component Binding? Thanks for help!