net.java.swingfx.rubberband.demo
Class Main
java.lang.Object
net.java.swingfx.rubberband.demo.Main
public class Main
- extends Object
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 RubberBand
- Author:
- rwickesser
$Revision: 1.1 $
Constructor Summary |
Main()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Main
public Main()
main
public static void main(String[] args)