title: Why don't I see the horizontal scroll bar when I have set the policy to HORIZONTAL_SCROLLBAR_AS_NEEDED
body: <p>I have added <code>jTable</code> inside the <code>jScrollPane</code> as :</p>
  
  <pre><code>    public Scenario_One() {
        initComponents();
        jScrollPane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
        jScrollPane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
      }
  
      private void initComponents() {
         .
         .
         jScrollPane1.setViewportView(jTable1);
         .
         .
      }
  </code></pre>
  
  <p>The text to displayed in one single row is too large so I had to use horizontal scroll bars. But even after setting the policy to <code>as needed</code> I do not see the horizontal scroll bars. What could be the reason for this ?</p>