hi,
Right now my program works perfectly when user clicks on a button and close when it finishes . However, I want it run automatically without a click by using
if( instance.jButton1 != null)
{
instance.jButton1.doClick();
}
System.exit(1);
However, it doesn't work now.I don't know why. Please help. Thank you.