Home > Default > Getting the text from a text area

Getting the text from a text area

October 11Hits:0
Advertisement
I have a application and I wish to take in text typed in from the user into a textArea and then send it into a method however I need to be able to send this information to a static method which accesses a HashTable and then searches for the text inputted by the user word by word. However the getText() wont allow me to access it in a static method and Im not sure of a way around this.
I know I propably haven't explained this very well but any help you can provide is appreciated

Answers

OK im going to try and explain a little better.
The main method is currently constructing a HashTable which is then accessed by other methods within the program. Due to this any methods using the HashTable as I understand it must be static. However some of the methods also require input from the user which is entered into a text box in the application. To access this information the method can't be static.
However when i have a method such as this
private static void sendMessage(HashTable theTable, String readMessage)
now as you can see I need to be able to pass it a string and the table.
Problem: How the hell do I do this its driving me nuts.

Read other 6 answers

Tags:

Related Articles

  • Text optionsOctober 11

    Hi all, i had a question regarding when writing something with the text option in photoshop, you then have the option of making it smooth, strong, sharp, crisp. What do these options do to the text? i cant really notice the difference, is there a rec

  • How Open And Print Proc C Genrated Text File Based Report ON BrowserOctober 11

    Dear Sir I have my old 6i forms from which i runs some Pro*c programmers with the help of HOST() command ,and then that generates a normal text file as a resultant report like file name "kha10" which i can easily open with any text client ,,, no

  • Automatic PO creation of free text PROctober 11

    Hi! We have all our PRs in free text since we are not yet using material master. One of our purchase organization will only order from one vendor and they will enter that vendor and price in the PR. Is it possible to create a PO automatically from th

  • IF Condition in RTF Help textOctober 11

    Hi, I have RTF template which contains the field to display the column name. Below are my help text. COLUMN1 is my XML tag and displaying AQUA color in my excel output. <?COLUMN1?><xsl:attribute xdofo:ctx="block" name="background-c

  • Text value is not getting displayed in Query designer !!October 11

    Dear experts.., i have created a new query in query designer using my info provider and then selected one field in default value and then trying to restrict that particular field while selecting the restriction in query designer am getting the exact

  • Which is best app to convert voice memos to text?October 11

    There must be a way to import iPhone 5s voice memos, some 20 minutes long into editable text. Recommendations would be appreciated.SORRY! WHAT I MEANT TO ASK WAS "I WANT TO EXPORT  YOUTUBE & FACEBOOK VIDEOS TO ITUNES. WHAT IS THE BEST APP. TO USE

  • Receiving null and [Receiving text] SMSOctober 11

    Hi, Strange things on some SMS: I receive one correctly but a the end there is the text "[Receiving text]" Then I receive a second SMS only containing null Why is that ? Thanks.You coded: if (line == null) eof = true; else do something else; //

  • On Android 4.2.2 on a Nexus7 tablet - No Firefox button and most text entry fields do not work at allOctober 11

    I installed Firefox 19.0.2 and appears to be ok, but I don't see a Firefox button anywhere, so I cannot access any of the functions that it controls, such as bookmarks, which is why I installed it! The ASUS Nexus 7 tablet shows up as a supported plat

  • My downloaded text sounds do not show up under the sounds tab in settings after installing 8.1.1. can someone help me please?October 11

    i downloaded a couple text tones and since installing 8.1.1, they will not show up under the sounds tab. in fact, they do not show up in my recent purchases on itunes, but when i go to buy them again, it says that i have already bought this tone. I j

  • How to provide text formatting options to user from a text fieldOctober 11

    Hi, My requirement is - in the interactive form, a comments field needs to be provided where user should be able to enter text with formatting options like Headers indentations bold/italic bullet points and numbers Once user enters the formatted text

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 0.519 s.