Revamped version using IntelliJ's GUI Designer