Pegasus Posted June 8, 2018 Share Posted June 8, 2018 some scripts close the client when I click the exit in gui of these scripts even sdn script! Annoying Quote Link to comment Share on other sites More sharing options...
Burundanga Posted June 8, 2018 Share Posted June 8, 2018 14 minutes ago, Pegasus said: some scripts close the client when I click the exit in gui of these scripts even sdn script! Annoying like which ones? all I have come across is some scripts like Acers crafter to freeze the client when not setup properly Quote Link to comment Share on other sites More sharing options...
01053 Posted June 8, 2018 Share Posted June 8, 2018 Could possibly be using System.exit() When Cancel or Exit listener is called, you would have to ask the script writer. Quote Link to comment Share on other sites More sharing options...
Vilius Posted June 8, 2018 Share Posted June 8, 2018 5 minutes ago, 01053 said: Could possibly be using System.exit() When Cancel or Exit listener is called, you would have to ask the script writer. Nope, they are setting the default close operation of the JFrame to JFrame.EXIT_ON_CLOSE instead of JFrame.DISPOSE_ON_CLOSE. 2 Quote Link to comment Share on other sites More sharing options...
LeBron Posted June 8, 2018 Share Posted June 8, 2018 Shudsy's Orber does this IIRC if anyone wants to try and find the reason to why it does this. Quote Link to comment Share on other sites More sharing options...
DeadPk3r Posted June 8, 2018 Share Posted June 8, 2018 Its as villius said just scripters not using dispose - setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); Quote Link to comment Share on other sites More sharing options...
Chris Posted June 8, 2018 Share Posted June 8, 2018 my scripts dont do this Quote Link to comment Share on other sites More sharing options...