What is a form loading event handler in Java?

Event handlers in Java (using network beans) are similar to from in c#_ Load?

Solution

If you are using swing's JFrame, try using addwindowlistener (inherited from Java. AWT. Window)

The listener's windowopened method looks like the location you want

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>