France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Need to deploy on Tomcat serer
In a subclass of AppletApplication, you should override getViewFactory method to return a view factory (for example an instance of a subclass of SwingViewFactory) with a createView3D method that will return null. Then, in a subclass of SweetHome3DApplet, override the method getApplicationClassName to return the name of the subclass of AppletApplication you programmed.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Need to deploy on Tomcat serer
Prabath, you request a lot of information but don't give any info to the community about the project you work on. It would be nice to present what you want to achieve, no?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Joined: Dec 24, 2014
Post Count: 28
Status:
Offline
Re: Need to deploy on Tomcat serer
:) I'm very sorry Puybaret. I'll explain.
I'm developing a online System for the Electricians to design Lights, Sockets and A/C systems for a selected Floor Plan. The application reads the PDF files and can detect the Floor Plans. Floor Plans are loaded with fixed scale.
3D view is not available. It is going to be handled by a separate button. So I struggled to add a new Button but failed.
Joined: May 12, 2013
Post Count: 1545
Status:
Offline
Re: Need to deploy on Tomcat serer
.. online System for the Electricians to design Lights, Sockets and A/C systems for a selected Floor Plan. The application reads the PDF files and can detect the Floor Plans.
Sounds interesting. You have probably noticed that the question of electric symbols appear from time to time: e.g. 5531: 2D Symbols and the 5416: Schneider project. If your work results in something of interest, it would be great if you would post something about it. And good luck. ok
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Need to deploy on Tomcat serer
Thanks for giving details about your goals.
If you want to add a button to the applet toolbar, you should override createHomeController method in the subclass of AppletApplication you started before. Once you retrieved super implementation, inspire yourself of the (not so cleaned) existing implementation to retrieve the toolbar and add a button to it.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator