[ERROR] The method format(String, Integer) is undefined for type String

2,842 views
Skip to first unread message

Marc Graham

unread,
Oct 13, 2011, 12:51:30 PM10/13/11
to Google Web Toolkit
I'm experimenting with GWT in Eclipse, moving right along, when I add
a String.format statement to my code. Namely:
String.format("%dpx", new Integer(adjWidth));
I try testing it in the Chrome plugin. The plugin crashes and the
Development Mode tab contains the subject error.

What??????

I'd appreciate anyone telling me what's going on.

gerry

unread,
Oct 13, 2011, 1:13:51 PM10/13/11
to Google Web Toolkit

Marc Graham

unread,
Oct 13, 2011, 1:39:31 PM10/13/11
to Google Web Toolkit
Thanks!

On Oct 13, 1:13 pm, gerry <gtzoga...@gmail.com> wrote:
> GWT does not emulate all of core java's methods.
>
> Take a look at these:http://groups.google.com/group/google-web-toolkit/browse_thread/threa...http://groups.google.com/group/google-web-toolkit/browse_thread/threa...
Reply all
Reply to author
Forward
0 new messages