Java JOptionPane text unreadable
Here's a picture of what it ends up looking like. I don't think it's a problem with the code as it's copied straight from the tutorial website. I've reinstalled JDK, as well as run it in command line and Eclipse. Any possibilities? The code is import javax.swing.*; public class Swag { public static void main ( String[] args) { String name = JOptionPane.showInputDialog("What is your name?"); String input = JOptionPane.showInputDialog("How old are you?"); int age = Integer.parseInt(input); System.out.print(" Hello, " +name); System.out.println("Next year you'll be " +(age+1)); } } but I don't