This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes GWT and the fly likes FlowPanel onLoad() event? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "FlowPanel onLoad() event?" Watch "FlowPanel onLoad() event?" New topic

FlowPanel onLoad() event?

peter tong
Ranch Hand

Joined: Mar 15, 2008
Posts: 240
my FlowPanel (CellListTest) has an onLoad method, and when I attach the FlowPanel in the right hand side of HorizontalSplitPanel (horizontalSplitPanel) as follow:

Out of my expectation, the onLoad() method of CellListTest will run without explicitly calling it, why will this happen?
I see the API
and FlowPanel has no default onLoad() method or onLoad event, so why will it run automatically when I run

peter tong
Ranch Hand

Joined: Mar 15, 2008
Posts: 240
Oh, sorry, I found the API about onLoad()


protected void onLoad()

A Panel's onLoad method will be called after all of its children are attached.

onLoad in class Widget

See Also:

I agree. Here's the link:
subject: FlowPanel onLoad() event?
Similar Threads
Scrollbar issue
how to make the border of tree widget invisible
What is the default layout of the GWT root panel?
Javascript/Applet problem in certain versions of Safari
how to measure the time to render a jsp