I am trying to add radio button to my program and I get these error when I add this code to the program.
--------------------Configuration: <Default>-------------------- C:\Sun\SDK\jdk\bin\MortgageCR6.java:67: <identifier> expected jrbgroup.add ( jrbInput ) ; ^ C:\Sun\SDK\jdk\bin\MortgageCR6.java:67: <identifier> expected jrbgroup.add ( jrbInput ) ; ^ C:\Sun\SDK\jdk\bin\MortgageCR6.java:68: <identifier> expected jrbgroup.add ( jrbMenu ) ; ^ C:\Sun\SDK\jdk\bin\MortgageCR6.java:68: <identifier> expected jrbgroup.add ( jrbMenu ) ; ^ C:\Sun\SDK\jdk\bin\MortgageCR6.java:67: cannot find symbol symbol : class jrbInput location: class MortgageCR6 jrbgroup.add ( jrbInput ) ; ^ C:\Sun\SDK\jdk\bin\MortgageCR6.java:67: package jrbgroup does not exist jrbgroup.add ( jrbInput ) ; ^ C:\Sun\SDK\jdk\bin\MortgageCR6.java:68: cannot find symbol symbol : class jrbMenu location: class MortgageCR6 jrbgroup.add ( jrbMenu ) ; ^ C:\Sun\SDK\jdk\bin\MortgageCR6.java:68: package jrbgroup does not exist jrbgroup.add ( jrbMenu ) ; ^ C:\Sun\SDK\jdk\bin\MortgageCR6.java:67: missing method body, or declare abstract jrbgroup.add ( jrbInput ) ; ^ C:\Sun\SDK\jdk\bin\MortgageCR6.java:68: missing method body, or declare abstract jrbgroup.add ( jrbMenu ) ; ^ 10 errors Process completed. <code> ButtonGroup jrbgroup = new ButtonGroup(); JRadioButton jrbInput = new JRadioButton("Input", true) ; JRadioButton jrbMenu = new JRadioButton("Menu ", false) ; jrbgroup.add ( jrbInput ) ; jrbgroup.add ( jrbMenu ) ; What am I doing wrong? -- Thanks, Tim Worden (520) 548-4805 Do you not know that those who run in a race all run, but one receives the prize? Run in such a way that you obtain it. 1 Cor. 9:24 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]