JOrtho Sample Code

import javax.swing.*;
import com.inet.jortho.SpellChecker;
 
public class SampleApplet extends JApplet {
    @Override    public void start() {
 
        JEditorPane text = new JEditorPane();
        text.setText( "This is a simppler textt with spellingg errors." );
        add( text );
        SpellChecker.registerDictionaries( getCodeBase(),'' "en" );                
        SpellChecker.register( text );
    }
}
 

© Copyright 1996 - 2017, i-net software; All Rights Reserved.