Java Swing Desktop App Example controller or manager?
Ok I have done alot of small java apps so im a bit lost on how I want/should do this. I have Pharma Return program I wrote in php. I want to turn into a desktop app what is the best way to handle
Main Program (main.java)
Return Dept (return.jav开发者_开发百科a)
Sales Dept (sales.java)
In Android If I want to go from main to sales or sales to Returns I would call the new intent How do I handle this within a java desktop app??
Sorry Im a learn by example guy and I have searched everywhere looking for diff methods the past week and just havent had a lightbulb come on
Thx, Eric
If I understand Intent
correctly, it is used to navigate among separate applications. On the Swing desktop, navigation is usually handled by menus, buttons, tabs, tool bars, etc. Before committing to a particular design, it might help to browse through common Swing components. Given two modules, sales and returns, JTabbedPane
might be a suitable choice.
精彩评论