Diference between close() and dispose()
952782Jul 30 2012 — edited Aug 2 2012in Java Swings we had two methods to close a JFrame, i.e frame.dispose() and frame.hide() / or frame.setVisible(false).
But in FX, we have a single methos to close the stage which is : Stage.close() and it is equivalent to hide().
So does that mean, on calling stage.close(), the memory and the resources allocated to the stage remain intact and the stage is only vanished from the screen?
Does that further imply, FX doesnt have any method to comple 'dispose' of the stage as in swings?
please reply
Edited by: 949779 on Jul 30, 2012 6:17 AM