This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring 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: 245
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: 245
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?
It's not a secret anymore!