I have been trying to use a jLable to import picture of buttons and then use the events to make it act more like a button, however since the resolution of the text on the button is very bad when I try to import it into netbeans then I have to extends the Jlabel class that has a constructor which can use the paint component to draw the text on the picture .

Though the problem is how to i use my custome made jLabel class ??? it doesnt allow me to change it from jlabel to any class.