Java 1.5 has a new Scanner class which makes some of this easier for testing too. Specifically, it
allows you to easily allow keyboard input from the user. This and output lines could help you test your code. Here is a
simple application I use in my CSCI 111 class showing its use: Main (starts with java Main)
and the sample application
You could have two Scanner instances and allow the user to either input from a file URL OR the keyboard!
Use this example applet to see how 2-3 trees work and to test to see if yours is doing the right thing!