For example : one screen if i do action performe on one component i can open screen .After open that screen in my requirement i dont access before screen.
I have used Jframe for creation of screens. In my code if i try to click on before screen component which i have used to open for other screen, that screen will get enable and already opend screen going back of that screen.But in my requirement that should be visible .first screen should go back.
If I understand your requirement and language correctly, what you want is a modal window. Take a look at the JDialog. JOptionPane also provides many static methods to achieve the same functionality. Typically they take the form of JOptionPane.showXXXDialog(args....). Take a look at the examples in the API. Best of luck.