How to disable the horizontal scroll of JScrollPane

Printable View