swing - Character by character reading the input from JEditorPane in Java -


i trying create html editor. using jeditorpane, in want read input jeditorpane character character , want them stored in string. example: if user types <h want read 2 characters , according characters suggest users tags, in case <html>,<header>,<head> etc (i.e. tags starting 'h'). not getting how , function use read character jeditorpane user inputs jeditorpane.

so not getting how , function use read character jeditorpane user inputs jeditorpane.

you can use documentlistener read section swing tutorial on how write documentlistener more information , examples.

if creating editor, displays text, not actual formatting, should use jtextarea or jtextpane. jeditorpane displaying existing html files.


Comments

Popular posts from this blog

java - Ebean enhancement ignores a model -

ubuntu - How to disable Kernel Module Signing in linux -

SQL php on different pages to Insert (mysqli) -