W2R3 – Update the JRadioButton name -- improved debugging in console to make it more human readable.
This commit is contained in:
1 parent
732156ac97
commit
1848ffbbf9
1 file changed
+1
-1
@@ -48,7 +48,7 @@ public class MainViewer {
|
|||||||
JEdit.addActionListener(EditListener);
|
JEdit.addActionListener(EditListener);
|
||||||
|
|
||||||
ActionListener RadioListener = e -> {
|
ActionListener RadioListener = e -> {
|
||||||
System.out.println("Radio Button toggled for Row: " + row + "\n- with Radio Button Text as: " + JR.getText() + "\n- With state of radio button as: " + JR.isSelected());
|
System.out.println("Radio Button toggled for Row: " + row + "\n- with Radio Button Text as: " + JR.getText() + "\n- With state of radio button changed to: " + JR.isSelected());
|
||||||
};
|
};
|
||||||
JR.addActionListener(RadioListener);
|
JR.addActionListener(RadioListener);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user