
-----------------------------------
poo
Sun Jan 18, 2009 3:21 pm

help with buttons.. plzz
-----------------------------------
hey everyone.. i m making a mini quiz type game...... this is wht i have soo far.

import java.awt.Checkbox;
import java.awt.CheckboxGroup;
import java.awt.Frame;
import java.awt.GridLayout;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.awt.Label;
import java.io.*;
//import java.awt.event.*;
import java.util.*;

public class RadioButtonTest
{
    public static void main (String


and here is ma text file..........

what is the flame that continually remain lite in many older-model gas stove?@stove candle@bunt flame@pilot light@rocket engine@bunt flame@
A hidden resource saved for use at a critical time is called a wht "in the hole"?@map@ace@candle@lifeline@candle@
A cadiology specializes in wht part of the human body?@eyes@heart@hair@ears@heart@
What does a pH level measure?@humidity@density@acidity@Wavelength@acidity@
Which of these holidays is not attached to a specific date?@Christmas@IndependenceDay@Thanksgiving@NewYear'sDay@christmas@
What famous radio personality was also the voice of Shaggy on the cartoon 'Scooby-Doo'?@Rush Limbaugh@Casey Kasem@Larry King@Bob@Larry King@
What type of substance is 'terra-cotta'?@glass@metal@ceramic@wood@wood@

THE TXT FILE... THE FIRST ELEMENT IS THE QUESTION FOLLOWED BY 4 CHOICES AND THEN THE LAST ELEMENT IS THE CORRECT ANSWER..

1) SO WHEN I RUN THIS PROGRAM THE QUESTIONS ARE DISPLAYIN IN ONE CONSOLE AND THE RADIO BUTTONS ARE COMING IN ANOTHER CONSOLE HOW DO I COMBING THEM?
2) THEN HOW DO I PUT THE 2DARRAY VALUES TO THE RADIO BUTTON TO COMPARE THEM WITH THE RIGHT ANSWER??



plzzzzzzzzzzzzzzzzzzz HELPPP  :roll:


Mod Edit: Remember to use syntax tags! Thanks :) [syntax="java"]Code Here[/syntax]
