Results 1 to 1 of 1
- 01-27-2010, 03:23 PM #1Member
- Join Date
- Jan 2010
- Rep Power
JLabel, HTML Form: How to access the data?
I'm currently developing a JavaSE application. The application reads some exercises from an XML file, and the user has to fill in the answers.
To keep the application flexible, I'd like to avoid to define a fixed format on the questions (like e.g. only multiple choice etc.), but instead add an HTML form for each question to the XML file and use JLabel to display the form.
The form is shown alright (html, form, radiobutton, select[dropdown menue]), but I don't see any way to retrieve the state of the radiobuttons and selection.
Is it at all possible to do this, or am I on the completely wrong track here? Is there another way to achieve the desired behaviour (using HTML forms to define a user interface) for Java standalone applications?
- By vishalkrsrivastava in forum Java AppletsReplies: 10Last Post: 08-12-2009, 05:02 PM
- By vk_satheesh in forum New To JavaReplies: 0Last Post: 09-19-2008, 01:48 PM
- By nicemothi in forum XMLReplies: 0Last Post: 04-04-2008, 10:36 AM
- By leonard in forum AWT / SwingReplies: 1Last Post: 08-06-2007, 05:43 PM
- By pranith in forum Java ServletReplies: 3Last Post: 07-30-2007, 03:33 AM