How can I draw rulers in a JPanel?
Question
I have a JPanel that contains an image. I want to draw rulers on the JPanel's borders. How can it be done or where should I look for some hints?
Solution
Scroll panes can only use their own custom decorations. There's information on the official site, maybe you can use this?
(source: sun.com)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow