Sounds like an interface would do the trick. You can follow the example that Swing provides for the JButton class:
1) create an interface that defines the method(s) required (you could also re-use...
Type: Posts; User: copeg
Sounds like an interface would do the trick. You can follow the example that Swing provides for the JButton class:
1) create an interface that defines the method(s) required (you could also re-use...
Are you referring to creating an interface?
http://docs.oracle.com/javase/tutorial/java/IandI/createinterface.html
http://docs.oracle.com/javase/tutorial/java/concepts/interface.html