Before migrating whole web service to applet, the hardest part is how to change the mindset from developing web page to JAVA applet.
Take Web page designing as an example:
In django, the directory looks like following structure
Basically, every html page is deployed under templates, and view and controlling program is constructed under the project_app you've created. urls.py stands in between to communicates what should a views returns on the web page. Via the usage of page extension, you may extends the function module by extending base.html.
However, on java applet, the concept of laying a page is not that straightforward. Every component is deployed on a drawing canvas. Every components should be deployed in a container.
1. So first of all, A frame (JFrame) should be deployed.
2. Within the frame, a panel (ContentContainer) is deployed to contain different components
3. For the usage of menu list, ContentPanel should be deployed on the upper of the frame.
4. Under the ContentPanel, thinking of switching panel while clicking different menu items, a CardLayout is deployed to manage different panel.
5. For every menu items clicked, a panel within the cardlayout is switched accordingly.