How to use Java varargs with the GWT Javascript Native Interface? (aka, "GWT has no printf()")
- by markerikson
I'm trying to quickly learn GWT as part of a new project. I found out that GWT doesn't implement Java's String.format() function, so there's no printf()-like functionality. I knew that some printf() implementations exist for Javascript, so I figured I could paste one of those in as a GWT Javascript Native Interface function. I ran into problems,…