i want to restart my java swing application when user click on restart button.
how to do it using java.
rushikesh jadha
-6
Junior Poster in Training
Recommended Answers
Jump to PostAssuming you haven't relied on static variables you can just dispose() your window(s) and create new ones by re-executing the existing startup code
All 4 Replies
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
rushikesh jadha
-6
Junior Poster in Training
stultuske
1,116
Posting Maven
Featured Poster
hfx642
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.