hello!
i need your help to know which checkbox cause the event:
i have 2 checkboxes and 2 radiobutton (in swing),then i add the 2 checkboxes to a buttongroup and the 2 radiobutton to a buttongroup,so as default 1 checkbox and 1 radiobutton are selected,so when i check other radiobutton or other checkbox i want to change a string value,so what i need that to know which checkbox and which radiobutton caused the event because i can again check the original checkbox(default one).
thank very much.
cocoll
0
Junior Poster in Training
Recommended Answers
Jump to PostUhm, the getSource() method of the Event?
All 4 Replies
masijade
1,351
Industrious Poster
Team Colleague
Featured Poster
hanvyj
7
Posting Whiz in Training
cocoll
0
Junior Poster in Training
Ezzaral
2,714
Posting Sage
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.