In Netbeans under the design tab, I am able to add in a JButton which generates a private member javax.swing.JButton jbutton1.
I want all of my JButtons to implement a custom interface that I made called X as such:
public class myCustomButton extends javax.swing.JButton
implements X
{
//Some code here...
}
Is there a way to add in myCustomButtons instead of JButtons without messing up the Netbeans designer?

