I am porting over a web app I wrote to Java Swing mainly as I am a hands on learner. I am wondering what is best practice and if I am on the right track most of the java I write currently are to make use of java's sockets (tying php into an windows inventory management soft) since php's sockets are terrible. Along with Android Dev
My app has a couple different parts
Admin (configuration,add users, view Admin reports etc)
Accounting (Reports, Authorizations, etc)
Shipping (Reports, Mark Packages shipped)
Now it How do you handle these different views in swing. Can I have a base view consisting of one jframe with a top toolbar (File,Returns,Accounting,Admin) Then when the user selects the Admin -> New User render the NewUserView? Login is required which I am handling with swingx and a custom LoginService utilizing mysql (since my web app db is already built)
Also the Main file how do you manage the changes between these parts in Android we use new Intent() I guess it would be handled by the commands for the toolbar??
Thanks for any pointers.