Pegasus Posted June 8, 2018 Posted June 8, 2018 some scripts close the client when I click the exit in gui of these scripts even sdn script! Annoying
Burundanga Posted June 8, 2018 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
01053 Posted June 8, 2018 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.
Vilius Posted June 8, 2018 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
LeBron Posted June 8, 2018 Posted June 8, 2018 Shudsy's Orber does this IIRC if anyone wants to try and find the reason to why it does this.
DeadPk3r Posted June 8, 2018 Posted June 8, 2018 Its as villius said just scripters not using dispose - setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);