Results 1 to 1 of 1
- 01-27-2010, 02:23 PM #1
Member
- Join Date
- Jan 2010
- Posts
- 1
- Rep Power
- 0
JLabel, HTML Form: How to access the data?
Hi,
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?
Cheers,
q.kontinuum
Similar Threads
-
want to generate a html form page with dynamic data and submit this form to a url
By vishalkrsrivastava in forum Java AppletsReplies: 10Last Post: 08-12-2009, 04:02 PM -
enctype=multipart/form-data with form data in struts
By vk_satheesh in forum New To JavaReplies: 0Last Post: 09-19-2008, 12:48 PM -
how to search xml file data based on the given keyword from html form?
By nicemothi in forum XMLReplies: 0Last Post: 04-04-2008, 09:36 AM -
How to use JLabel with html
By leonard in forum AWT / SwingReplies: 1Last Post: 08-06-2007, 04:43 PM -
how to upload a file along with html form data
By pranith in forum Java ServletReplies: 3Last Post: 07-30-2007, 02:33 AM


LinkBack URL
About LinkBacks

Bookmarks