For the method you're using, you could make it more general-purpose:
public static void messageBox( String sTitle, Object message )
Window.alert( sTitle + " | " + message.toString() );
And I believe that AutoBoxing will take care of the double-to-Double conversion, but haven't actually tested that.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/9naSp1CTYdcJ.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to firstname.lastname@example.org.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Post a Comment