Possible Duplicate:
How to find out about the User Agent in GWT
I am trying to write browser specific code. Is there a GWT API to find out which browser the client is using?
Possible Duplicate:
How to find out about the User Agent in GWT
I am trying to write browser specific code. Is there a GWT API to find out which browser the client is using?
Check out this GWT API: http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/client/Window.Navigator.html
For instance, for Firefox: https://developer.mozilla.org/en/DOM/window.navigator.userAgent