This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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
Author

regarding check boxes

j srinivas
Greenhorn

Joined: Apr 08, 2008
Posts: 16
hi,
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
Greenhorn

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.
 
GeeCON Prague 2014
 
subject: regarding check boxes