So my code now looks like this:
Class2 className = new Class2(param1, param2); className = null; if (Class2 == null) { refreshState(); }
I want the refreshState method refreshState run after the className object is className . So basically Class2 is a class that runs another frame on top of my existing frame. I want the method to run only when the new frame has been closed. How can i do this?
source share