首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 创建一个jtextcomponent,创造ntspellcheck实例,然后看着你的拼写你的类型检查!

创建一个jtextcomponent,创造ntspellcheck实例,然后看着你的拼写你的类型检查!

资 源 简 介

NTSpellCheck highlights misspelled words as you type them. Instructions when using NetBeans IDE 6.0 or above: 1)Download and save NTSpellCheck.jar from Downloads 2)Right click on the project which will use NTSpellCheck 3)Click on Properties 4)Click on Libraries (located to the left of the dialog) 5)Click on the Compile tab, then click the Add JAR/Folder button 6)Navigate to the location where you saved NTSpellCheck.jar and double-click it 7)In your source file, add the following import: import NTSpellCheck.NTSpellCheck 8)When you need to spell check a JTextComponent, create an instance of NTSpellCheck with the following constructor (Note that it throws an IOException): NTSpellCheck(JTextComponent tc, File dictionaryFile, boolean checkSpelling, boolean man

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.238795s