Re: GWT Context2d - drawing text - fontsize

2011-06-21 Thread ghost23
Works! :o) Thanks On 20 Jun., 17:58, Thomas Broyer wrote: > Seehttp://diveintohtml5.org/canvas.html#text > Which translates in GWT into: context2d.setFont("bold 12px sans-serif"); -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post t

GWT Context2d - drawing text - fontsize

2011-06-20 Thread ghost23
Hi, i am struggling to find documentation and/or examples on the text related things for GWT canvas (note: the stuff, that's in GWT itself, not external libraries). For instance, i would like to set the size of my font, but i cannot find out, how. Does somebody know this? Thanks -- You receive

Re: JSNI - calling a method on an instance field

2011-05-18 Thread ghost23
oh my, :) oh my, ohhh . need a coffee. Thank you! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-to

Re: JSNI - calling a method on an instance field

2011-05-18 Thread ghost23
Hi, thanks for the suggestions, i tried them all (except the splitting up, because in fact, i will already have quite a bit of methods and doubling them would make the whole thing huge). Problem is, the issue remains. Even if i have something as simple (and useless) as this: public native Str

Re: JSNI - calling a method on an instance field

2011-05-18 Thread ghost23
Hi, nothing yet. I have only yet instantiated the class and directly get the error at startup time (means, startup of the website, not startup of the class). -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send em

JSNI - calling a method on an instance field

2011-05-17 Thread ghost23
hi, i have the following JSNI class: package com.sample; import com.google.gwt.core.client.JavaScriptObject; public class SampleClass { private JavaScriptObject dateObject; public SampleClass() { dateObject = createNewJSDateObject(); } private SampleClass(JavaScriptObject dateObject) { th

Re: String.format(String, String[]) undefined

2011-05-16 Thread ghost23
Ah, ok, too bad. Thank you. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroup

String.format(String, String[]) undefined

2011-05-16 Thread ghost23
hi, i have an issue with formatting an array and hope for your help. My code looks like this: String[] example = new String[] {"one", "two", "three", "four"}); String.format("%s, ", example); At runtime, it says ERROR: The method format(String, String[]) is undefined for the type String Is Str

Two parallel asynchronous rpc calls possible?

2011-01-27 Thread ghost23
hello, i have a service. I create an instance of it via GWT.create(MyService.class). Then i call a method on it, get the result, everything works nicely. Now i need to call two methods on that service more or less in parallel. I tried this (either using the same service instance or two distinct o

Re: how to debug service calls, which do not come through

2010-12-21 Thread ghost23
hi again, ok, my onFailure method was empty, never saw, what happened there. Now i see, that i have a serialization error. But it has no details about what the concrete problem is. On Dec 21, 4:09 pm, ghost23 wrote: > Hi, > > i am using the newest version of GWT. I have a service wit

how to debug service calls, which do not come through

2010-12-21 Thread ghost23
Hi, i am using the newest version of GWT. I have a service with a bunch of methods. Some work, some don't. The one, that does not work, seems simply not being called on the server side. If i put a breakpoint in the method of the service implementation on the server side, it doesn't get called. But