The word return

MAy i know what does the word return do in the java programming.At the same time may i know how can i let the program run again after it ends without re-running the program?

hmmm.. quite true..but i am still a student. i know i
should be ashame..but..oh well.. thank you anywayListen, sorry, I certainly did not mean any insult to you, or to discourage you. On the contrary, go for it! But brush up on the fundamental constructs first I should think. And from what you've written so far, I don't read anything for you to be ashamed of either.
I don't really have a sense for what you need to do. Normally, if you want to run something or perform a given task X number of times, you run it in a loop of some kind ... could be a for or a while loop, or could be recursion. If on the other hand you simply want to run it 2X ... then simply call it twice ... whatever it is that yo uare calling. HTH
~Bill

Similar Messages

  • BUG: Searching for the word "united" in Contacts returns far too many results

    To recreate this bug:
    1. I open the Contacts App on my iPhone 5 running iOS 6.0.1.
    2. In the search field within the app, I search for the word "united." (For example, if I am trying to located the address book card for United Airlines).
    3. Instead of showing me just the results of companies/people that have the word "united" in their name or notes field, the app returns almost every single one of my contacts as a search result, EVEN THOUGH THESE PEOPLE DO NOT HAVE THE WORD "UNITED" IN THEIR NAME, DESCRIPTION, OR NOTES FIELD.
    I think this might be happening because I have used the iOS feature of connecting my Contact App with Facebook.  Because of this, many of my contacts have the word "unified contact info" in their description. Although this doesn't entirely explain why searching for the word "united" would show "unified contact info" contacts, the Facebook/Contacts App connection may have something to do with this bug.
    Regardless, if I search for the word "united" on my iPhone, the Contact App still returns almost every single contact as a search result, even though the word "united" cannot be found within those contacts.

    I think it is because the system adds "United States of America" to every address by default.
    You need to search using different parameters, for example, "Airlines".

  • How to return the word Breakfast if today is Sunday between 6AM and 10AM?

    Hello
    I'm trying to figure this formula that makes a cell return the word Breakfast if it is currently between 6AM and 10AM on a Sunday. However if it is currently between 6AM and 10AM on a Monday it would return the word Brunch for example.
    Any suggestion?
    Thank you

    Alex,
    Here's an approach.
    The expression in B is:
    =IF(AND(TIMEVALUE(A)>6÷24 ,TIMEVALUE(A)<10÷24,WEEKDAY(A)=1),  "Breakfast",IF(AND(TIMEVALUE(A)>6÷24 ,TIMEVALUE(A)<10÷24,WEEKDAY(A)=2),"Brunch", "Other"))
    For this to work in real time, substitute NOW() for A in the expressions.
    Jerry

  • Calculated key figures are returning the word "ERROR"

    Hi All,
    the calculated key figures which i used in one query are displaying the word  "ERROR" at the end of the results as part of each cells formatting.But when i copied the same query to my system then its not showing the word error and even i created one more query which is a replica of the first one and then also iam not getting the error .
    what might be the cause of this issue . kindly suggest me how to control the word error in the out put
    regards,
    jayakrishna

    Hi,
    you can control the way BW displays exceptions with customizing (SPRO) transaction RSCUSTV4.
    identify differences of these settings in your systems and apply them accordingly.
    hope this helps...
    Olivier.

  • When e-mail is sent from ipad, return address show up to recipient w/ the word "hi" in front of it making hi & address all one word.  E-mail bounces back to them when they try to send something to me. I have two e-mails, one w/ local ph co, which should

    I have two e-mail addresses, one w/ my local ph com, which should be my primary one & one w/ yahoo.  When I send e-mail via ipad, the word hi apears before my e-address, making the word hi and my address one word.  When recipient tries to e-mail me back, mail bonces back to them.  Help, Please! 

    I have two e-mail addresses, one w/ my local ph com, which should be my primary one & one w/ yahoo.  When I send e-mail via ipad, the word hi apears before my e-address, making the word hi and my address one word.  When recipient tries to e-mail me back, mail bonces back to them.  Help, Please! 

  • Why are my emails to my friends returned as Spam because they include the word PRAYER.

    I have a Ministry that includes 150 people that joined my Ministry and I have been sending these people two emails per month for several years using Verizon email. Now all of a sudden all of my emails are being blocked by Verizon because they have determined these messages sent to people that have requested them, as Spam. Is this because they contain the word PRAYER.
    I do not send SPAM!!
    {edited for privacy}

    I highly doubt that you are being flagged for spam because of the word "Prayer". Few things could be causing this. One, you could have sent to many emails in a 24 hours period so its blocked you, There is a limit or you get flagged for spam. Two, your inbox is full so nothing can be sent/recieved because there is no room for anything to go (all folder's count as storage, inbox, outbox,sent, etc.) check the cap at bottom left while in your webmail to see if you hit your quota. Three, your address may have been blacklisted for unforeseen reasons. I would definately give 1-800-verizon a call and let their specialist take a look to investigate the reported username that is beeing (blocked). Hope that helps a little bit. Sorry for the troubles that you are having.

  • How do you edit a field to either be HH:MM or the word 'All'

    I have a form field where the user can either enter the time (HH:MM) in 24 hour format or the word All (case insensitive).
    I have the HH:MM validation working fine, but don't see how to also add in the user to be able to enter the word 'All'.
    Here's what I have:
    <span id="theTime">
        <stripes:text name="filterSelectedProcessTime" id="filterSelectedProcessTime" maxlength="5" />
        <span class="textfieldInvalidFormatMsg">invalid format: must be HH:MM or ALL</span>
    </span>
    <script type="text/javascript">
        var datex = new Spry.Widget.ValidationTextField("theTime", "time", {format:"HH:mm", isRequired:false, validateOn:["blur", "change"], useCharacterMasking:true});
    </script>
    Any help will be greatly appreciated.

    It's an internal app so I can't get you access thru our firewall.
    Wish I could, but can't.
    Thanks for all your help so far.
    I can see all kind of uses for this in our forms, so its just curious why it matters where it's placed.
    If I put the form JavaScript before the form, it doesn't even recognize the custom_validation and doesn't do any Spry processing.
    Without the custom_validation function involved, it works fine.
    Here's what I have in the form:

    span id="theTime">  
    <stripes:text name="filterSelectedProcessTime" id="filterSelectedProcessTime" maxlength="5" />  
    <span class="textfieldInvalidFormatMsg">invalid format: use HH:MM or ALL</span>  
    </span>
    After the ending form tag, I have:
    < script type="text/javascript">
     function custom_validation(value, options) {var 
    theLength = value.length; 
    if(/^all$/i.test(value)) {return true 
    }else if 
    (theLength != 5) {return false 
    }else 
    {return 
    Spry.Widget.ValidationTextField.ValidationDescriptors.time.validation(value, options); 
    var 
    datex = new Spry.Widget.ValidationTextField("theTime", "custom", {format:"HH:mm", isRequired:true, validateOn:["blur", "change"], validation: custom_validation});
    </ script>

  • RoboHelp 8 vs. 9 - Search Functionality Comparison and "All of the Words" vs. "Any of the Words"

    Greetings!
    Our organization focuses a lot on the accuracy of our searches, which is a necessity when we have hundreds of very lengthy topics (no matter how well organized they are).
    I finally completed a detailed comparison of the search functionality of 8 and 9 and came to the realization that 8 is a disaster, while with 9 things get better, but there's still TONS of room for improvement.  I have reported this to Adobe and so far there has been no official response. There are many blogs on here related to the search functionality, but I thought it may be a good idea to try to sum some of them up. I do hope that someone somewhere at Adobe runs into this and shares with all of us why Adobe's Search functionality is still in the 20th century!
    I hope this helps everyone else who is curious to know about how the tool's search functions work and whether it's worth upgrading from 8 to 9 at this point. I have included some examples which are in a way internal to us, but they will give you a good idea of what to expect and I'm quite confident you'll be able to recreate them on your side in seconds.
    I also wanted to ask a question or two, and if anyone can assist, that would be greatly appreciated:
    Currently if we search for several words at once (not exact phrase), both 8 and 9 perform an "Any of the words" search which always returns too many results. Does anyone know a way to change the default to an "All of the words" search? For years I have not encountered a tool out there that doesn't have the option to modify this, alas with RoboHelp 8 and 9, we can't find a way to do it (with or without modifying the source code).
    Out of curiosity, are there any other tools out there which offer Conditional Tag (or similar) functionality and which behave better than RoboHelp? (easier to maintain, less buggy, web interface, etc)?
    RoboHelp 8 vs 9 - Search Functionality Comparison Table with some Examples:
    Search Example              
    RoboHelp 8     
    RoboHelp 9        
    Expected Results
    (based on industry standards)
    1. Searching for Exact Phrase "Correspondent Banking"
    Such a search returns topics which contain "Correspondent Banking" and "Correspondent Bank". The last one is included because "Bank" is the root of "Banking". The topics that contain the exact phrase appear at the bottom. When we click on any of them, we're not automatically taken to phrase so we have to scroll and look for it or use CTR+F.
    Identical behavior except that when we click on the topics which contain the exact phrase, we're taken straight to it.
    When we hear "exact" we expect "exact" and nothing else. Unfortunately, both versions keep searching for the roots of each word as well and incorrectly display those results at the top. Adobe has made it clear that this is a part of their functionality, BUT this is something we would not expect to see for exact phrase searches that are in quotes.
    2. A Non-Exact phrase search of "Geographical Limits of market area"
    The tool automatically performs an "Any of the Words" search instead of an "All of the Words" search. This is also related to the question I asked above this table. As you can imagine, this is returning almost every topic and it becomes virtually impossible to find what we're looking for. It even returns topics which contain "of" and nothing else.
    Identical behavior
    There to be an option which allows us to choose what the default search would be - "Any of the words" vs. "All of the Words"
    3. Exact Phrase search of "low-score" with a dash
    None of the topics that were returned contain the phrase. As some of you know, RH8 has problems with special characters, including dashes.
    RH9 returned only the topic that which contains the phrase and we were taken straight to it when we open it.
    The expectation is to see exactly what RH9 currently offers. Unfortunately 8 has a big problem with these types of searches.
    4. Exact Phrase search of "2.4"
    This is similar to the one above. Adobe doesn't like periods as well. It doesn't not find any of the topics which contain this phrase. In our case, this is a section number and sometimes people want a quick way to get to a specific section or sub-section.
    We were hoping that this will be fixed with 9, just the way they fixed the dashes. Unfortunately, still ZERO results returned.
    Expectation is for the topics which contain that exact phrase to be returned, no matter whether there's any special character inbetween.
    5. Exact Phrase search of "300,000" or $300,000"
    The tool only returned several random topics which contain "000" as part of larger numbers. The topic that contains "300,000" was not on that list, even though it also contains "000".
    Identical behavior
    Expectation is for topics that contain the exact amount to be returned, no matter if there is a coma or a dollar sign anywhere within the phrase.
    6. Exact Phrase Search of "525-B5". Goal was to have a special character, a letter and numbers.
    ZERO Results returned.
    Only the docs that contain the phrase were returned and nothing else. It seems that this this was addressed in version 9 and now it behaves as expected.
    Expectation is only for the docs that contain the exact phrase to be returned.
    7. Exact phase search of "log" in order to test the Substring Functionality
    Here's an extract from Adobe's Support Site:
    “Substring search (WebHelp/Pro, FlashHelp/Pro) - If you enable this feature, a search for "log" returns topics containing the words "catalog" and "logarithm." Substring search takes longer than whole-string search.”
    So with that in mind, we decided to test if turning the substring searches on and off does exactly as advertised, unfortunately the answer was NO. We even used an example almost idnetical to what Adobe provided on their site.
    With Substring Searches disabled, we searched for the word "log". Unfortunately it returned words like "logbook" and methodology". How is that possible?
    Identical behavior
    Our expectation would be only for docs that contain"log" to be returned, no matter whether substring is enabled or disabled. In our case it was disabled.

    Hi there
    Out of curiosity, why is it that you expect to hear from Adobe? I'm hoping it's not simply because you posted here. Certainly we have Adobe folks that visit here and we are thankful for that, but it isn't to be expected.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Search - doesn't find the word entered, doesn't link to the word entered

    Hi all,
    Using TCS2 on Windows 7 64-bit - linked FM file to RH. Generating WebHelp (primary layout).
    The SEARCH functionality in RH doesn't seem to work terribly well and I'm wondering if I'm just missing something.
    For example: I have chapters about creating a New Grant. In the search, i enter the words "new grant" >> in quotations, just like that.
    Search returns any topics which have the words NEW or GRANT (I have sub-string enabled; I've tried it with and without this enabled with the same result).
    In addition, in the search pannel where the name of the topics containing the words NEW or GRANT are listed, if I click on the topic name, it takes me to the start of the topic, not to the instances of the words NEW or GRANT.
    I have 2 issues:
    1- If I search for "new grant" I would expect to only see results with both words, not instances of new, grant, or both. Is this something missing? Or a setting?
    2- If I click on the topic name in the search pane, I'd like to be taken to the location within that topic where the found instance of my search words are. Again, is this something missing or a setting?
    I should note that I have heard of ZoomSearch and will read the information about it, but I'm hoping that this works within RH and without extraneous tools.
    Thanks!
    Adriana

    Hi folks
    Assuming that the topic is "long-ish" and the found term is out of view when you display the topic, it should cause the topic to display where it has been scrolled so the found terms are in view.
    Thanks to John Daigle who demonstrated this in the Adobe booth while at a conference.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • How can I sort the words in a document into an alphabetical list?

    How can I sort the words in a document into an alphabetical list? Thanks!

    writer888 wrote:
    How can I sort the words in a document into an alphabetical list? Thanks!
    Copy the words to the Mac's clipboard (Edit menu> Copy)
    Paste into TextEdit 
    Next open the Edit > Find > Find window in Text Edit.
    Highlight a space between two words and Edit menu > copy, paste into the Find field
    Next create a return in the middle of your text and copy that and paste into the Replace field
    Click Replace All.
    Now Edit > Select All and Edit > Copy
    Open a Spreadsheet program with Sort ability and paste into the second column cell from the top
    place a "a" into the top column cell, select the entire colum
    Sort desending order
    Now if you need it out of spreadsheet format, then your going to need to copy just the data cells (not the entire column to avoid problems) and Paste "Special" as unformatted text into a word processing program
    If you need to get rid of the Returns, do the opposite you did in Text Edit, replace the Returns with Spaces
    A chore, but it's rare one needs to sort words into alaphabetical order.
    FYI, I used TextEdit and the free LibreOffice (Spreadsheet and Word Processing) for the above effects.

  • How can I find the words which spans across end of line to next line in pdf ?

    I am using Acrobat Adobe X Pro version for our form development and maintanence. I am writting a Acrobat JAVA batch script which reads through all the words and execute spell check and reports the mispelled words in a excel sheet. Since I am running this script in batch mode for more than 1000 pdfs - I am getting many words joined together. When I looked in to those pdfs all such words are looking okay because it is appearing in end of right margin and the next word is in the next line. Since there was no space between them it was extracted as a single word. Hence the failure.
    I used wordf = this.getPageNthWordQuads(i,j)  to get the word begin and end coordinates. when I closely observe the values are creating a rectangle and that doesnt span across lines. I got the coordinates for the regular word and the word which span acoross two lines. both of the coordinates are same.
    I think I am screwed - I have 8000 such words and no clue of how to get rid of them from the actual misspelled words.
    please help. let me know if any class /method if I call will give me the end of line or do I need to go to next layer to find this split.
    the addnot is somehow marking the words using this coordinates - please hellp me understand how this works. Thanks.
    // for all pages
    for (var i = 0; i < this.numPages; i++ )
    // For all the words
    pg += 1;
    numWords = this.getPageNumWords(i);
    for ( j = 0; j < numWords; j++)
    //get the spell check 
    ckWord = spell.checkWord(this.getPageNthWord(i,j))
    if ( ckWord != null )
    jn=0
    ml=0
    // if mispelled word found.
    wordf = this.getPageNthWordQuads(i,j)
    swordf = wordf.toString()
    var st = swordf.split(",")
    var diffx0 = parseInt(st[0])-8
    var diffx1 = parseInt(st[1])-8
    var diffx2 = parseInt(st[2])-8
    var diffx3 = parseInt(st[3])-8
    var diffx4 = parseInt(st[4])-8
    var diffx5 = parseInt(st[5])-8
    var diffx6 = parseInt(st[6])-8
    var diffx7 = parseInt(st[7])-8
    if (cWord == csword)
    jn = 1
    if ( st[1] != st[3] )
    ml = 1
    //dataLine += "\r\n write "
    else
    ml=2
    dataLine += "\r\n"+this.documentFileName
    + "\t" + this.getPageNthWord(i,j)
    + "\t" + pg
    + "\t" + j
    + "\t" + ml
    + "\t" + jn
    + "\t st[0] " + diffx0 + "\t st[1] " + diffx1 + "\t st[2] " + diffx2 + "\t st[3] " + diffx3 
    + "\t st[4] " + diffx4 + "\t st[5] " + diffx5 + "\t st[6] " + diffx6 + "\t st[7] " + diffx7 
    ck=1

    If Acrobat is reading each word part as separate words, you have a problem.
    The way I approached it in some of my tools was to check if a word ends
    with a hyphen, and if so, to check if it's the last on the line. If both
    conditions are true, combine with the next word on the next line. This is
    not fool proof, of course, as there are documents with columns are other
    structural elements that prevent this from working. Better than nothing,
    though...
    However, it is also possible that Acrobat does see both parts as parts of
    the same word. In that case, getPageNthWordQuads() will return multiple
    quads arrays. As you know, that method returns an array of quad arrays.
    There's usually only one, but in principle there could be more... Something
    to check before giving up.

  • Why can't I use the word "faces" in my url-mapping?

    I am trying to get a servlet to work for the url /faces/inloggen but I cannot get it to work. Anything without the word faces in it will work.
    I simply want this tag to work:
        <servlet-mapping>
            <servlet-name>LoginServlet</servlet-name>
            <url-pattern>/faces/inloggen</url-pattern>
        </servlet-mapping> The servlet reads a username and password from a database and should eventually redirect to the correct page.
    Does the order in which the mappings appear in the web.xml matter?

    Hm, that also means I have no faces context in my servlet, which makes it kinda hard to look in the database for the password.
    How should I go about this then? I tried using Lucas Jellema's login module but it has this weird bug which makes every username containing 'OR' impossible to use because of sqlinjection (yes, even if there's no spaces around it).
    I figured I could write my own servlet and let it handle my logins but apparently that's not how it's done. Any help would be appreciated!
    Edit:
    In the howtos I find the following comment:
    // SQL INJECTION DETECTION
    // Detects and reports SQL injection attempts. The following code logs all attempts to enter
    // SQL commands like create, drop, update, delete, insert, hexadecimal encoded characters etc.
    // and immediately returns false
    Pattern p = Pattern.compile("(?i)\\bselect|create|insert|delete|drop|update|or|%.\\d\\b");
    Matcher m = p.matcher(username);
    if (m.find())
        //someone tries to break into this application and should be tracked back
        log("SQL Injection attempt detected: username was altered to include SQL keyword: "+m.group(),LOG_AUTH);
        return false;
    All database LoginModules that perform authentication based on user and role tables contain this code snippet. The regular expression can be extended to filter even more SQL key words if needed.That's great! How do I change that regexp so that I can use usernames containing 'OR'? This is a real problem for us....
    Message was edited by:
    Wendy Tromp

  • Frozen on the words : do not disconnect

    hey guys, got another problem with my nano.
    I connected it to my computer. Al of a sudden a message
    showed on my computer : unsafely disconnected mass storage
    device (or the nano).
    After that the words : do not disconnect are frozen on my nano.
    It doesnt do anything anymore. I cant turn it off. Tried to reset,
    but it does nothing. Just displays the words : do not disconnect and stays light up.
    I'm at a loss here!! I cant even reset it !!
    Any advice? Please!!

    Hello,
    The way to safetly disconnect your iPod is by ejecting it from iTunes. If your iPod isn't showing up in the source list in iTunes, click here to learn more. If it does show up in iTunes, skip that link.
    So, in iTunes, you'll see the name of your nano. Click on the arrow that's next to its name. That's the eject button. Within a few seconds iTunes and your iPod will update, and your iPod will soon return to normal screen. It is now safe to disconnect it.
    Hope this solves it!

  • I have lost scroll bar on 1 website only since upgrade to version 19 and the words run off the page

    Only 1 website affected. Scrollbar is missing and words run off page. If I minimize the screen, then maximize, the site returns to normal. If I leave the page, refresh the page or click on a topic to read (it's a sports message board) I lose the scrollbar again until I minimize-maximize. I have disabled all add-ons 1 at a time and all together. That doesn't help. Any suggestions? Other Firefox users are apparently not having this problem on the same website.

    Are you running any add-ons that might change the appearance of the page, e.g., add-ons that block ads, Flash, scripts, etc.?
    Sometimes you notice glitches in Firefox related to graphics card driver incompatibilities. To rule that out, you could disable hardware graphics acceleration. You usually need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
    orange Firefox button ''or'' classic Tools menu > Options > Advanced
    On the "General" mini-tab, uncheck the box for "Use hardware acceleration when available"
    After restarting Firefox, do you notice any difference?

  • How I can catch the word that was spoken in a string??

    Hi
    i'm doing a java aplication with speech recognition jsapi and i want know how  i can convert tag form FinalRuleResult  to string??
    i want  catch the word that was spoken in a string to  evaluate the string in the sentences if                               
    this is the code that i have developed:
    public static void main(String[] args)
         {prueba inst = new prueba();
                   inst.setVisible(true);
              try {
                   RecognizerModeDesc descripcion = new RecognizerModeDesc(null, Boolean.TRUE);
                   SpeechEngineChooser chooser = SpeechEngineChooser.getRecognizerDialog(descripcion);
                   chooser.show();
                   descripcion = chooser.getRecognizerModeDesc();
                   reconocedor = Central.createRecognizer(descripcion);
                   reconocedor.addEngineListener(new TestEngineListener());
                   RecognizerAudioAdapter raud = new TestAudioListener();
                   reconocedor.getAudioManager().addAudioListener(raud);
                   reconocedor.allocate();
                   reconocedor.waitEngineState(Recognizer.ALLOCATED);
                   RuleSequence secuencia = new RuleSequence();
                   RuleTag comando1 = new RuleTag(new RuleToken("vol"),"VOL");
                   RuleTag comando2 = new RuleTag(new RuleToken("channel"),"CHANNEL");
                   RuleTag comando3 = new RuleTag(new RuleToken("end"),"END");
                   RuleTag comando4 = new RuleTag(new RuleToken("up"),"UP");
                   RuleTag comando5 = new RuleTag(new RuleToken("down"),"DOWN");
                   RuleAlternatives comandos = new RuleAlternatives();
                   comandos.append(comando1);
                   comandos.append(comando2);
                   comandos.append(comando3);
                   secuencia.append(comandos);
                   RuleGrammar gramatica = reconocedor.newRuleGrammar("basepatrones");
                   gramatica.setRule("testRule",secuencia,true);
                   gramatica.setEnabled(true);
                   reconocedor.suspend();
                   reconocedor.commitChanges();
                   reconocedor.waitEngineState(Recognizer.LISTENING);
                   reconocedor.requestFocus();
                   reconocedor.resume();
                   reconocedor.addResultListener(new ResultAdapter() {
                        public void resultAccepted(final ResultEvent e)
                             try {
                                  FinalRuleResult r = (FinalRuleResult)(e.getSource());
                                  System.out.println("Obtenido el resultado "+r);
                                  String tags[] = r.getTags();
    if(tags == null) return;
                        //comparacion de :::     
    // in this point i want catch the word that was spoken in a string to evaluate the string in the sentences if                               
                                  if(tags[0].equals("VOL"))
                                       JOptionPane.showMessageDialog(null,"has selecciuonado el volumen");
                                       jLabel1.setIcon(new ImageIcon(getClass().getClassLoader().getResource("control/controltv+.gif")));
                                       enviar("s");     
                                  if(tags[0].equals("CHANNEL"))
                                            JOptionPane.showMessageDialog(null,"QUIERES CAMBIAR CANAL???");
                                            jLabel1.setIcon(new ImageIcon(getClass().getClassLoader().getResource("control/controlt0.gif")));
                                            enviar("c");
                                  if(tags[0].equals("END"))
                                  JOptionPane.showMessageDialog(null,"SESION DE RECONOCIMIENTO TERMINADA");
                                  jLabel1.setIcon(new ImageIcon(getClass().getClassLoader().getResource("control/controlt1.gif")));
                                  System.exit(-1);
                                  else return;
                             } catch(Exception e1) {}
              } catch (Exception e) {
                   e.printStackTrace();
                   System.exit(-1); }
         }

    I donot know about Java Speech API.
    But it is possible to recognize with Sphinx API.
    you get it from [http://cmusphinx.sourceforge.net/sphinx4/]

Maybe you are looking for

  • Please help need help restoring my Itunes library because of fatal PC crash

    Wondering if there's any hope out there, turned on my PC last night and the useless piece of #"!! Crashed on me throwing out error messages about it's kernal, I've tried everything to get it to boot enough that I could log in on safe mode and make a

  • Creating Appication Package that runs just a command line?

    Hi, We are trying to uninstall the endpoint protection client that we inadvertently pushed out to a few machines. Can we configure an application package with no source that just runs the command line as shown on the target computer in the target col

  • Can Configuration

    Hi, I have an error with the Can configuration, someone her already had? Ports in the max are not shown. Thanks befaiz Attachments: Can.zip ‏114 KB

  • In GRC CUP for UAR,Reason for Rejection

    Hi, What is the standard reason for rejection Reason code and description. Thanks Mash

  • IChat not connecting due to BT Vision?

    Hi, I recently installed BT Vision into my home, since then my iChat video conferencing hasn't been able to make any connection!!! Any one out there with similar difficulities or any workaround? BT Vision streams video on demand using broadband to my