A Scala-friendly wrapper for JInput.