title: How to execute the complete java class from a JButton not only a function()?
body: <p>like by using:</p>
  
  <pre><code>b3.addActionListener(new ActionListener(){
      public void actionPerformed(ActionEvent ae){
          new sign_in();
      }
  });
  </code></pre>
  
  <p>If the function's name <code>is sign_in()</code> we can use above for JButton b3 but
  if i want to execute the class <code>sign_in{}</code>  or the <code>main()</code> function what should i change in the action performed??</p>