Hi, I want to create wrapper classes for most of the Swing GUI Components such as JButton, JTextField etc etc.
I want to keep this very simple but how do I go about doing this properly?
For example in the case of JButton, I will want a wrapper class MyJButton which will have colours and sizes specified by my wrapper class. So when I want a button I create a myJButton which will have a specific look and feel.
How do you properly wrap these classes. Would you simply subclass for example
public class MyJButton extends JButton
and then just set up the various attributes ?
Or alternatively does anyone know of any Look and Feel coding guidelines ?
I want to ensure that everyone when using the Swing components are forced to adhere to the same look and feel.
Thanks for your help