下面的代碼返回我一個錯誤說:"constructor call must be the first statment in a constructor."
Java錯誤:構造函數調用必須是第一條語句在構造函數中
我不明白這一點。我的代碼中的構造函數是第一條語句。我究竟做錯了什麼?
public class labelsAndIcons extends JFrame
{
public labelFrame()
{
super("Testing JLabel");
}
}