Title Back Colour Keyoti Title Line Title Curve
Blue Box Top

Multiple component check on click of button - RapidSpell Desktop Java - Forum

Welcome Guest Search | Active Topics | Log In | Register

Options
evans
#1 Posted : Thursday, August 30, 2012 5:09:12 AM
Rank: Member

Groups: Registered

Joined: 8/30/2012
Posts: 1
I have many textarea and editorpane, i want the GUIspellcheck to be triggered on a button click. The spellcheckGUI should check one component to another highlighting the words seamlessly.

I am trying to check this in trial version, please suggest how this can be incorporated.

approach used

rg=new rapidspellcheckGUI();
rg.check(TA1)
rg.check(TA2)

or

rg=new rapidspellcheckGUI();
rg.check(TA1)
rg1=new rapidspellcheckGUI();
rg.check(TA2)

both didnt give expected result.

Jim
#2 Posted : Thursday, August 30, 2012 6:49:12 PM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,669
Location: Canada
Hi you can make the dialog modal, like this (which will mean that check() doesn't immediately return, which is the problem currently)

rg = new RapidSpellGUIDialog( owner, true );
rg.check(TA1);
rg.check(TA2);

Note that it uses RapidSpellGUIDialog and not RapidSpellGUI. Also it expects 'owner' which should be the JFrame or Dialog of your main app.

Best
Jim

-your feedback is helpful to other users, thank you!

Evaluation Downloads
-your feedback is helpful to other users, thank you!


Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.




About | Contact | Site Map | Privacy Policy

Copyright © 2002- Keyoti Inc.