Hello,

I am using JTabbedPane and its has tab layout policy of SCROLL_TAB_LAYOUT. I want to increase the size of the scroll buttons. How I can do that?

I tried to set the size inside tabbepane's ui using the following function:

Code:
protected JButton createScrollButton(int direction)
{
	JButton button = super.createScrollButton(direction);
	// button.setSize(new Dimension(50,50));
	button.setPreferredSize(new Dimension(50, 50));
	button.setMinimumSize(new Dimension(50, 50));
	button.setMaximumSize(new Dimension(50, 50));
	return button;
}
But, it didn't work.

thanks.