I have a problem in a program I'm working on were I'm getting a error that states that my constructor is static
Any help is appreciated. Thank you :)Code:public class JavaForumsName extends JPanel implements ActionListener {
class CreateGrid
{
private boolean drawImage;
CreateGrid (File file) throws IOException
{
BufferedImage img = null;
img = ImageIO.read(file);
drawImage = Graphics.drawImage(img, 0, 0, null);
}
}
}
