Combine several "Java Desktop Database Applications" together ?
Hi all, Im a basic Java programmer that is at the moment using netBeans to create his "University Project", the purpose of the program is a bit big, but basically what I need to do is:
1. Login withe a username/password - Already made this part as a separate project
2. each usertype will be directed to a different frame based on his possition - the flags are all set up in the same package as login
3. now I want is that if a usertype is (lets say) Admin, then he will be redirected to a frame that does exactly what a premade Java Desktop Database Application will do with my database as his datasource
but my problem is that the other Java Desktop Database Application is in another project, so how can i combine them ? or connect them with no problem.
see the attachement - in the attachement you see the main project which involves login the users in, when user login (based on user type) he will be directed to different application projects.
so is there anyone who can help me ? thanks alot.
Re: Combine several "Java Desktop Database Applications" together ?
Hi there, well at first bring all the .java file under one project. Then create a new JFRame in which you will add 3buttons which will allow you to open your other .java file. You can create another file, name should be "main.java". Inside this file just call the java file that you have created.
I hope this will help you, if not knock me i will try to explain you things.... :)
Originally Posted by Mv.c9