super - The constructor Object(String) is undefined -
i the constructor object(string) undefined on "super("title")". it's not piece of code, every single program create, containing "super" has error, leads me believe, problem of general nature (eclipse/missing import).
import java.awt.color; import java.awt.flowlayout; import javax.swing.jframe; import javax.swing.jtextfield; import java.awt.font; import javax.swing.buttongroup; import javax.swing.jframe; import javax.swing.jbutton; import javax.swing.icon; import javax.swing.imageicon; import javax.swing.jlabel; import javax.swing.jlist; import javax.swing.joptionpane; import javax.swing.jcheckbox; import javax.swing.jpanel; import javax.swing.jscrollpane; import javax.swing.listselectionmodel; import java.awt.event.actionevent; import java.awt.event.actionlistener; import java.awt.event.itemevent; import java.awt.event.itemlistener; import javax.swing.jradiobutton; import javax.swing.event.listselectionlistener; import javax.swing.jscrollpane; public class mouseeventhandling { private jpanel mousepanel; private jlabel statusbar; public mouseeventhandling() { super("title"); mousepanel = new jpanel(); mousepanel.setbackground(color.white); } }
you should extend class jframe
Comments
Post a Comment