Ciao a tutti
Qualcuno sa darmi una delucidazione in riguardo ad un metodo, precisamente il metodo OnLick?
Sto usando l'API di GWT, io voglio che al click del mouse vengo rimandato ad una pagina web, ma non so che metodo usare!!
Il metodo iniziale sarebbe
codice:
Button button = new Button("");
				
		button.addClickHandler(new ClickHandler() {
			public void onClick(ClickEvent event) {
				if (textBoxUsername.getText().length() == 0
						|| textBoxPassword.getText().length() == 0) {
						Window.alert("Username or password is empty."); 
					}
	
				
			}
		});
e poi??

Grazie a tutti