Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Swing / AWT / SWT
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
Liutauras Vilda
Jeanne Boyarsky
paul wheaton
Sheriffs:
Ron McLeod
Devaka Cooray
Henry Wong
Saloon Keepers:
Tim Holloway
Stephan van Hulst
Carey Brown
Tim Moores
Mikalai Zaikin
Bartenders:
Frits Walraven
Forum:
Swing / AWT / SWT
The system does not exit on closing the JFrame[very urgent]
netharam ram
Ranch Hand
Posts: 202
posted 23 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
25)The system does not exit on closing the JFrame.The window closing method is written correctly.When I placed a button "exit" & used "System.exit(0)" in its actionPerformed,the system exits.What may be the problem?Please reply me, its urgent.
MSD
Greenhorn
Posts: 20
posted 23 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I think you can do this easily by using a method in JFrame. Let's say you have 'f' is object of JFrame :-
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
Hope this helps,
Mohammed.
netharam ram
Ranch Hand
Posts: 202
posted 23 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thank you mohammed,I haven't tried it but anyhow thank you for your good response.Hope to maintain good relationship always.
Netharam
What kind of corn soldier are you? And don't say "kernel" - that's only for this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Urgent..Urgent...Urgent
Urgent
MVC (urgent)
Urgent
URGENT!!!
More...