Any ideas why I may be seeing the following message for this class?
package org.swx.nursing.tools.sqlfinder.gui;
import javax.swing.JPanel;
import java.awt.event.ActionListener;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public final class GuiTemplateImpl extends JPanel implements ActionListener {
public void createAndShowGUI(GuiTemplateCriteria guiCriteria) {
super(new BorderLayout());
}
}
Message
Description Resource Path Location Type
Constructor call must be the first statement in a constructor GuiTemplateImpl.java /sqlfinder/src/main/java/org/swx/nursing/tools/sqlfinder/gui line 29 Java Problem
I am not sure why this will not work. The error goes away when i remove the super(), so this seems to be causing some issues.