ich habe eine class die ein image laden sol. Eclipse meldet dehn folgenden fehler:
getimage() is undefined for classNAME
meine imports:
awt.*
getimage() is undefined for classNAME
meine imports:
awt.*
Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
my_gif = getImage(base,"imageExample.gif");
Picture = getImage("C:/","imageExample.gif");
import java.awt.*;
Nein :noe: , ein shweizer in japan 😎Oho, ein Japaner .
File file = new File("image.gif");
Picture = ImageIO.read(file);
// Read from a file
File file = new File("image.gif");
try {
Picture = ImageIO.read(file);
}
catch (IOException e)
{
e.printStackTrace();
}