forked from Coded/SIPRP
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
603 B
34 lines
603 B
package siprp;
|
|
|
|
import javax.swing.text.JTextComponent;
|
|
|
|
|
|
public class SpellChecker
|
|
{
|
|
|
|
private static SpellChecker instance = null;
|
|
|
|
// private final EvoSpellChecker spellChecker;
|
|
|
|
private SpellChecker()
|
|
{
|
|
// this.spellChecker = new EvoSpellChecker( Dictionary.PT_PT );
|
|
}
|
|
|
|
public static SpellChecker getInstance()
|
|
{
|
|
if( instance == null )
|
|
{
|
|
instance = new SpellChecker();
|
|
}
|
|
return instance;
|
|
}
|
|
|
|
public void attachSpellCheckToComponent( JTextComponent fieldTextMedida )
|
|
{
|
|
// TODO Auto-generated method stub
|
|
// spellChecker.attachSpellCheckToComponent( fieldTextMedida )
|
|
}
|
|
|
|
}
|