tags:

views:

82

answers:

1

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?

+2  A: 

Scroll panes can only use their own custom decorations. There's information on the official site, maybe you can use this?

Pool
did you found this example source on the sun site ?
Here http://java.sun.com/docs/books/tutorial/uiswing/examples/components/index.html#ScrollDemo
Pool