Re: Using the Frame class, and adding Elements to it directly - doesn't display?

2012-06-06 Thread King_V
Thomas, Thanks. I think I might be missing something very obvious, because I'm looking at the APIs, and I have no idea how to do what you're suggesting. Code-wise, how do I get the document within the frame, so that I can add the new Elements to it? - Joe On Jun 5, 6:24 pm, Thomas Broyer

Re: Using the Frame class, and adding Elements to it directly - doesn't display?

2012-06-06 Thread Thomas Broyer
On Wednesday, June 6, 2012 6:13:04 PM UTC+2, King_V wrote: Thomas, Thanks. I think I might be missing something very obvious, because I'm looking at the APIs, and I have no idea how to do what you're suggesting. Code-wise, how do I get the document within the frame, so that I can

Re: Using the Frame class, and adding Elements to it directly - doesn't display?

2012-06-06 Thread King_V
Thanks, that helped a lot, works as expected now! - Joe On Jun 6, 12:46 pm, Thomas Broyer t.bro...@gmail.com wrote: On Wednesday, June 6, 2012 6:13:04 PM UTC+2, King_V wrote: Thomas, Thanks.  I think I might be missing something very obvious, because I'm looking at the APIs, and I have

Using the Frame class, and adding Elements to it directly - doesn't display?

2012-06-05 Thread King_V
All, I've got this very short program, and I don't understand why it's not working. I am creating a Frame object, trying to append element children to it, and while the Frame instance seems to be aware of its children, they do not get displayed. Here is what I have. What am I doing wrong?

Using the Frame class, and adding Elements to it directly - doesn't display?

2012-06-05 Thread Thomas Broyer
You're adding your elements as children of the frame, which is used as a fallback in case the browser does support frames. You should add them to the document that's displayed within the frame. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit