I have to add an onLoad event handler to a Horizontal Panel.
I have tried adding addAttachHandler as it was specified in post How do I setup for and/or handle onload event with GWT but it doesn't work for me. Eclipse shows like there isn't any method such as addAttachHandler() available for HorizontalPanel.
HorizontalPanel确实具有addAttachHandler()方法,它是从Widget
继承的。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.