title: event attached with button clicking
body: <p>I have a <code>JFrame</code> in which there are 2 textfields and 1 <code>JButton</code>. Users need to enter some string in the textbox. When user clicks the button in the JFrame then these strings get displayed in a <code>JTable</code>. I am not getting what code shall I write with button clicking. Please help me. </p>