Is there anyting similar to JFrame.dispose() for Java FrameView
I want that the FrameView should close when some action is performed
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As far a I know the FrameView you’re speaking about extends JFrame, so the method is
dispose()as well.Here are the FrameView classes I found :
org.jmat.io.gui.FrameView => extends javax.swing.JFrame
org.jdesktop.application.FrameView => offer a method getFrame() which returns a JFrame
But giving the real name of your FrameView class would really really help here…