Combining two radio buttons output on a JButton's Text

Hi I have a question i have a GUI with multiple radio buttons and a Calendar. The days on the calendar are made of J Buttons I have created a method to change the text of the days to what the radio buttons represent. Now when i set up the ActionEvent listner i want to combine two of the radio buttons output they are in two different radiogroups so im thinking that they should work because i know two radiobuttons from the same group obviously cant be clicked at the same time here is the code from my class

publicvoid actionPerformed(ActionEvent e){

if(e.getSource() == unscButton && oneButton){

c.setDayText("1 HR U/H");

}

if(e.getSource() == annualButton){

c.setDayText("A/L");

}

if(e.getSource() == oneButton){

c.setDayText("1hr");

}

}

I'm getting an undefined error for the && operator since it is boolean on the JRadio Buttons.

Another question i have is would it be better to use J Combo Boxes with the buttons that represent the hours, would that be able to be combined with a JRadioButton in the Action Listner ? thanks for ant assistance with this problem.

[1619 byte] By [devika78a] at [2007-11-26 19:14:43]
# 1
if (e.getSource() == unscButton && someOtherVariable == oneButton)
camickra at 2007-7-9 21:16:02 > top of Java-index,Desktop,Core GUI APIs...
# 2
Thank you for the response one question someOtherVariable == oneButton can this be any variable or must it be an actionEvent
devika78a at 2007-7-9 21:16:02 > top of Java-index,Desktop,Core GUI APIs...