edit XML elements in JTextArea iterating from element to element -



edit XML elements in JTextArea iterating from element to element -

in text area load xml.

seek { charset charset = charset.forname("utf-8"); bufferedreader reader = new bufferedreader(new inputstreamreader(new fileinputstream(file), charset)); textarea.read( reader , null ); }

let's load next file , want able click on element, have launch in window, edit it, click save, , write edit text area.

<segment> <text>hello</text> </segment> <segment> <text>world</text> </segment>

i want click first segment , have text "hello" appear in popup window. want alter "hallo" - click save, , changes in textarea. click next segment, alter "world" "welt" - , save . . .

i happy supply more code, generic, , cannot think of how help nice gurus on list provide reply (but please allow me know if want me supply code).

xml jtextarea

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

ruby on rails - Devise Logout Error in RoR -

c# - Create a Notification Object (Email or Page) At Run Time -- Dependency Injection or Factory -