In one class i have a back button(java Swing)...i want when i click this button it will go to another class and close the current class...however, when i use System.exit(0)...it closes both 2 class...if i use setVisible(false) for the current class...that class still running...how can i close the current and move to another class then????????...(i use JFrame)
huskarit 0 Light Poster
rfq 0 Newbie Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
stultuske 1,116 Posting Maven Featured Poster
DavidKroukamp 105 Master Poster Team Colleague Featured Poster
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.