Hi, I created JPanel and I created instance of this JPanel, like this
MyForm my = new MyForm();
JFrame frame = new JFrame("MyChildrenForm");
I put JButton on my JPanel and created action listener for key down and mouse click and I called my private function setEnd()
I need dispose this form. I have a problem, if I wrote this. (this + dot) - in my private function setEnd(), I didn't see functions this.dispose and this.setVisible . How I can dispose my form? Thank you for help me.