Re: Need to deploy on Tomcat serer
by prabath » Sun Feb 08, 2015 1:27 pm
Hi Puybaret....
I'm bit stuck with one more thing. I was able to Add a button on tool bar as you said. I want to implement 3D view on/off function to that.
`Code in Applet Application
toolBar.addSeparator();
addActionToToolBar(homeView, HomeView.ActionType.TEST_BUTTON, toolBar);
Code in HomePane
createAction(ActionType.TEST_BUTTON, preferences, controller, "testMethod");
And Create a method in HomeControler
public void testMethod() {
System.out.println("Hi there.. I am the test method.. ");
is3DViewClicked = true;
View view = getHomeController3D().getView();
}
Once I press the button, the method is called. But I can't see the 3D view. Could you tell me how to view 3D panel ?
Thank You..