Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I want to know about {applets,applications} but the lousy book I got just talks about {applications,applets}. What can I do?

book GOT lousy
0
Posted

I want to know about {applets,applications} but the lousy book I got just talks about {applications,applets}. What can I do?

0

The truth is that 95% of the material is the same, whichever your book chooses to focus on. Some people write their apps to work completely in a Panel, then depending on whether they’re running stand-alone or in a browser the Panel is either added to a Frame or an Applet. The trick is that you need to add a listener to the application’s Frame to handle the WINDOW_CLOSING (previously WINDOW_DESTROY) event yourself. If you fail to do this, when running as an application, the window won’t close.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123