title: how can i use a Jbutton in a class to trigger a panelSlider effect which is in a button actionPerformed in another class
body: <p>how can i use a Jbutton in a class to trigger a panelSlider effect which is in a button actionPerformed in another class</p>
  
  <p><a href="http://i.stack.imgur.com/IOMSl.jpg" rel="nofollow">Find the code here</a></p>
  
  <pre><code>public class programDisplay extends javax.swing.JPanel { /** * Creates new form programDisplay */
      public programDisplay() {
        initComponents();
      }
  </code></pre>