Dec 12

Depending on the size of the content in your accordions panes the default settings can result in content being longer than the available space and thus causing a scrollbar to be added. To avoid this try the following settings.

$j("#accordion").accordion({ 
    'fillSpace': true, 
    'clearStyle': true
});

written by Obiweb \\ tags: , , ,

Sep 28

You can achieve this by setting the scroll bar policy on both the verical and horizontal scroll bars.


ScrollPane scrollPane = new JScrollPane(panel);
    
// Force the scrollbars to always be displayed

scrollPane.setHorizontalScrollBarPolicy(
   JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
scrollPane.setVerticalScrollBarPolicy(
   JScrollPane.VERTICAL_SCROLLBAR_ALWAYS); 

written by objects \\ tags: ,