| A simple class with a main method to try out the different rubber band's.
The idea is to make the rubber bands flexible and easy to use.
Currently, in order for it to work you need to do three things:
1) Create a JComponent which implements the RubberBandCanvas interface
2) Override the canvas' paintComponent(Graphics g) method so that it calls back
to RubberBand.draw(Graphics g)
3) Create a
net.java.swingfx.rubberband.rubberbands.RubberBand author: rwickesser author: $Revision: 1.1 $ |