Adds debug code to RadioButton class.
@@ -86,6 +86,7 @@ public class RadioButton extends Button {
public void mousePressed(final MouseEvent e) {
if (e.getButton() == MouseEvent.BUTTON1) {
if (intersects(parentScreen.getMousePosition())) {
+ System.out.println(e.getX() + " " + e.getY());
if (isChecked == false) {
RadioButton.super.getOnClickFunction().run();
group.setCheckedButton(thisButton);
