4 posts, 3 voices
, Tagged: java
|
|
I wanted to mess around with the SimpleGUI app from the BUGnet by adding a WindowListener so that I could close the program with the top right X. What is the best way to do this within the OSGi framework? I was planning on a System.exit(0) call (since I do that in all of my Java Swing applications), but figured the OSGi might have a nicer way to close the program. Thoughts? -pm |
|
|
frame.close() and do your cleanup there (i.e. if you’re listening for BUGbase button events, unlisten, etc). You never want to “System.exit(0)” from within an osgi context, you’ll kill the entire VM instance. “Closing” a program has a different meaning when you’re an OSGi bundle. |
|
|
As a perfect combination of classic and modern fashion,Coach Outlet Online Julia Bags can show the customers'unique personality.Tiffany UK grabbed the globe, stands out as the celeb on their favorite stars luxury type, granted an innovative simple move the pavement luxury, complete with luxury.In terms of the quality and superior design that make more and more customers are satisfied to Coach Factory Online.Welcome!hat experts claim Coach Outlet Online shopping is in the changes they are available in.As long as you open our Coach Factory Outlet webpage, you will view various Coach New Arrivals which are the most popular also the most fashionable in this year.On the date when the Louis Vuitton UK on sale, all people will pour into the stores. At this time, it on the booths will be wiped out, and only one or two days the seller will declare that there is no stock anymore. |
|
|
Remember that the right accessories can enhance your alluring look with your Canada Goose Parkas Outlet.Baggy, ovoid shaped Canada Goose Jackets Outlet that are rounded around the shoulders look fabulous and can be a perfect match for you.This excellent conviction so that you class gets to amateur Canada Goose Outlet In a number of Parka, for example Young Canada Goose affordable Cardigan.Luxury has always been synonymous with fur and leather and this year a faux fur Canada Goose Jackets Outlet will surely be the key piece of your wardrobe. |