hey, i am designing a GUI for class timetables in my college and i have encountered the following problem: In the 'Master' frame i want the components at the top of the frame to change when the JRadioButtons do, i have four JRadioButtons in 2 ButtonGroups. they are -> o Class o Lecturer and -> o Add o Remove
so different combinations of selected radio buttons will change what components appear above.
Would i use an itemStateChanged listener or what would be the best way?
Could some1 please tell me a suggested solution because i have been stuck for sometime, or if you have had a similar problem yourself.
thanks a million. keith.
Keith Mc C
posted 11 years ago
never mind so, i just pased the JPanel to listener instead