tags:

views:

236

answers:

0

I'm using Netbeans.

I use Netbeans to create a Jframe and drop and drap a JLabel to Jframe.

I want to add a JLinkButton (I use zfqjava JLinkbutoon) to Jframe and to JLable by using code(but not drap and drop) but it doesn't work.

Here is my code to add JLinkButton to JFrame

 this.getContentPane().add(linkButton);

and here is my code to add JLinkButton to JLabel

 lblbackground.add(linkButton);