Click here to Skip to main content
15,886,689 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
C#
public void itemStateChanged(ItemEvent e)
    {
         Object source = e.getItemSelectable();
         if(source=="Diploma Average")
         {
            if(source=="Highest Mark")
            {
                AreaDisplay.append("Yes it works");
            }
         }


    }
Posted
Updated 31-Jul-12 3:06am
v2
Comments
[no name] 31-Jul-12 9:03am    
And your question is what exactly? Maybe why the code in the second if will never get called?

1 solution

How to Use Radio Buttons[^]

You need to group them.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900