I'd like to add JLabel to JScrollPane.
How should I enable scrolling EXACTLY (150-100=) 50 pixels to each side?
And in common - I need exact scrolling enabled only when I get:
jLabel.getHeight() > jScrollPane.getHeight() or/and jLabel.getWidth() > jScrollPane.getWidth()
Thank you in advance.
It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.