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() );
}
@com.ecopy.gwt.client.Utils::messageBox(Ljava/lang/String;,Ljava/lang/Object;)("TheTitle",
99.999);
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 protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.