File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes regarding check boxes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "regarding check boxes" Watch "regarding check boxes" New topic

regarding check boxes

j srinivas

Joined: Apr 08, 2008
Posts: 16
i have an application called quiz.
my implementation is as follows,
whenever user clicks next button,iam fetching the question and its options and displaying in the ui.
the problem is,
when the application is started for the first time,i get the questions and options as intended but when i click next button iam getting new questions and its options corretly,but when i move my cursor to any one of the options iam seeing the options for previous question.,

What should i do...
Suraj Chandran
Ranch Hand

Joined: May 20, 2008
Posts: 53
Jeez...that was scary.
A little code would help us to help you ;)

I guess there are couple of design issues in this classic software the GOD coded.
j srinivas

Joined: Apr 08, 2008
Posts: 16

i resolved the problem
i mean every time iam initialising the buttons whenever new button is resolved .
so now i changed my logic to only change the text of the button rather than initialise the button and everytime.
I agree. Here's the link:
subject: regarding check boxes
It's not a secret anymore!