Code example for WebView

Methods: canGoBackcanGoForwardgoBackgoForward

0
				return true; 
			case 2: // Refresh button. 
				viewer.reload();
				return true; 
			case 3: // Back button. 
				if (viewer.canGoBack()) {
					viewer.goBack();
					return true; 
				} 
			case 4: // Forward button. 
				if (viewer.canGoForward()) {
					viewer.goForward();
					return true; 
				} 
		} 
		return false; 
	} 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE