How do you terminate the program??
for example I input exit on the dialog box as it should terminate the program.
I really don't have any idea on how to do it.

Hi
try

System.exit(0);

And check some documentation please!

Hope it helps.

Ok!! THX GUYS!!

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.