Your ScrollPanel never needs to scroll if it really has a height of 1200px but only contains such a short text.
Also ScrollPanel extends SimplePanel so it can only have exactly one child widget. That means if onScroll() executes you will see an exception because you are trying to add a second child to ScrollPanel. What you want is: ScrollPanel (height 1200px) ---> FlowPanel -----> child 1 (should be taller than 1200px so ScrollPanel can actually scroll it) -----> child 2 -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.