I need to close a specific opened browser. I have opened the browser using below code in one class and want to close it from another class. What can be the way, I don'nt want to use runtime as its slow.
Desktop dt = Desktop.getDesktop();
dt.browse( new URI(url) );