Hi everyone
i am a junior java developer
it is my first time working with google web toolkit as a plugin of eclipse
i tried to seach for the solution on google on how can i solve my problem
when i run my project,the browser requires me to install gwt developer plugin for chrome browser,then to restart the browser
Then after install my gwt developer plugin,i get this problem :
plugin failed to connect to developer mode server at 127.0.0.1:9997
also getting onModuleLoad() threw an exception : java.lang.reflect.InvocationTargetException
i tried to use all solution i got from my search engine,but stil i'm facing the same problem
My simple GUI source Code
any ideas or guidelinepackage com.StockWatcher.client; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.user.client.ui.Button; import com.google.gwt.user.client.ui.FlexTable; import com.google.gwt.user.client.ui.HorizontalPanel; import com.google.gwt.user.client.ui.Label; import com.google.gwt.user.client.ui.RootPanel; import com.google.gwt.user.client.ui.TextBox; import com.google.gwt.user.client.ui.VerticalPanel; public class StockWatcherApplication implements EntryPoint { private VerticalPanel mainPanel = new VerticalPanel(); private FlexTable stocksFlexTable = new FlexTable(); private HorizontalPanel addPanel = new HorizontalPanel(); private TextBox newSymbolTextBox = new TextBox(); private Button addStockButton = new Button("Add"); private Label lastUpdatedLabel = new Label(); /** * Entry point method. */ public void onModuleLoad() { // Create table for stock data. stocksFlexTable.setText(0, 0, "Symbol"); stocksFlexTable.setText(0, 1, "Price"); stocksFlexTable.setText(0, 2, "Change"); stocksFlexTable.setText(0, 3, "Remove"); // Assemble Add Stock panel. addPanel.add(newSymbolTextBox); addPanel.add(addStockButton); // Assemble Main panel. mainPanel.add(stocksFlexTable); mainPanel.add(addPanel); mainPanel.add(lastUpdatedLabel); // Associate the Main panel with the HTML host page. RootPanel.get("stockList").add(mainPanel); // Move cursor focus to the input box. newSymbolTextBox.setFocus(true); } }
thanks to all of you
hoping to get i feedback as soon as possible
Tshepo