The following code returns me an error saying: \"constructor call must be the first statment in a constructor.\"
I dont get it. The constructor in my c
Ideally your code should fail saying Invalid Method declartion because public labelFrame()
Whatever change your code like this:
public class labelsAndIcons extends JFrame
{
public labelsAndIcons ()
{
super( "Testing JLabel" );
}
}