i really need some help.......

i've written a java route finding program that takes three arguments at command line: the data file with the routing information, the start and the end points.

i now want to create a GUI for the system but am having great difficulites in changing the main class so that it accepts the arguments from an interface rather than the command line.

any help / code / links etc.. would be GREATLY appreciated...

thanks in advance

ZB