aspose file tools
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 The Software Craftsman this week in the Agile 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:

Have you tried LearnNowOnline?
subject: FlowPanel onLoad() event?