G
Graeme
Hi,
It would be quite nice to have generic method parameters in the Swing
interfaces, for instance, looking at:
http://java.sun.com/javase/6/docs/api/javax/swing/tree/TreeModel.html
Every object that is referred to in the interface declaration is type
Object. What if I want to make that T instead, or T extends
MyInterface?
What would be the best way to implement a generic interface to a Swing
interface - I guess just extend it and make the interface declaration
there?
What are your thoughts?
Graeme.
It would be quite nice to have generic method parameters in the Swing
interfaces, for instance, looking at:
http://java.sun.com/javase/6/docs/api/javax/swing/tree/TreeModel.html
Every object that is referred to in the interface declaration is type
Object. What if I want to make that T instead, or T extends
MyInterface?
What would be the best way to implement a generic interface to a Swing
interface - I guess just extend it and make the interface declaration
there?
What are your thoughts?
Graeme.