I was making a window and I tried to place an icon
then I made that line of code:
static Image image = new Image("assets/favicon.png");
My IDE(Visual Studio Code) tells me that there is an error:
Cannot instantiate the type Image Java(16777373)
I was making a window and I tried to place an icon
then I made that line of code:
static Image image = new Image("assets/favicon.png");
My IDE(Visual Studio Code) tells me that there is an error:
Cannot instantiate the type Image Java(16777373)