hi,atleast i have understood your idea,just wanted to find out if your application is a web application or a desktop application.if its a web application and you are using java server pages,you can just make links using this command
<a href="page name ">word to identify you page</a>. when you use this in all the pages you will link up all the pages.hope this answers your question, but i would like to see you source code and see how far you've gone and just know the approach you've taken..
enjoy your programming