File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes JTextPane retrieve changed data from HTMLDocument Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTextPane retrieve changed data from HTMLDocument" Watch "JTextPane retrieve changed data from HTMLDocument" New topic
Author

JTextPane retrieve changed data from HTMLDocument

Ruben van Straten
Greenhorn

Joined: Nov 26, 2012
Posts: 2

Hi all,

this is my first question here so I hope it is in the right forum, if not I appologize.
What I try to do is display an HTML document that contains checkboxes in a JTextPane.
So far no problem, but I want to be able to select or deselect the checkboxes and after a submitbutton (Normal Swing.JButton, no html element) I want to read the html again and retrieve the states of the checkboxes, and here is where I can't get the stuff sorted out.
The code I have is below here, can anyone please tell me what I do wrong?

Thanks.



Ruben van Straten
Greenhorn

Joined: Nov 26, 2012
Posts: 2

Is there nobody that can help me with this?
 
wood burning stoves
 
subject: JTextPane retrieve changed data from HTMLDocument
 
Similar Threads
JTextPane Questions
Jcheckbox array with various Listener!
run this file
JTextPane --find the mystery
Spacings And Carriage Returns