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
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??
Your question (like most of my own) is quite large in scope.
I wonder if you might consider looking at my application which is Swing based, uses toolbars, menu trees, internal frames etc and has the majority of the admin screens you mention.
It may not be up to the high level of design that many of the other people who frequent these pages could do for you - but it may help a little and you could copy what was useful.
It's all free to download from www.commander4j.com
I've not done anything with android yet - but I am supporting wireless scanners via a web page.
posted 9 years ago
Thanks alot!! I can read and read but it I come across so many ways to do things in Java I get bogged down. I have always been a learn by doing type so I will take a look. Great part is my app uses Barcodes for tracking Pharma Return (and items in the return) from the time they enter the building to the time they leave so +10 for your app :-)