Skip to content
Advertisement

How to resize JScrollPane rowHeader

The code bellow will generate this table: enter image description here

As the image indicates, in this table you can resize the column A, B, … But you cannot resize the column with the lowercase letters a,b,c,e… i.e., the rowHeader of the JScrollPane.

Any Ideas how can I do that?

JavaScript

Advertisement

Answer

As @MadProgrammer has already suggested, a MouseMotionListener is probably the only way to go here if not the easiest way. Here is your code modified:

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement