The exclamation point is apparently making the image a boolean. can I use this statement as a boolean? I tried inserting the third image but it did not change anything.
import...
Type: Posts; User: slahsdash
The exclamation point is apparently making the image a boolean. can I use this statement as a boolean? I tried inserting the third image but it did not change anything.
import...
I was able to figure out how to make the images random but now I can't get the text to only go with the bent tree image.
here is the new code:
import java.applet.Applet;
import java....
This was the code I sent to him and his reply was one of the first solutions you told me and nothing else was explained.
import java.applet.Applet;
import java. awt.*;
public class...
I think it would be a bad idea to use code that I have not been taught on this project.
Any other way around this problem?
sorry but my course has not covered using println statements yet.
i was given this example but even this code does not make the images random.
import java.applet.Applet;
import java. awt.*;
public class MyPictures extends Applet {
...
but how do I get the string of text to be only displayed on the third image? the text is also appearing each time i run the applet
I'm using the first image this time for an example
import java.applet.Applet;
import java. awt.*;
public class MyPictures extends Applet {
Image action;
not at the moment because I don't have any image placed in it but whenever I give it a specific image, the applet just shows that image and the string of text
I need to have 3 images become random with one having a string of text on it. I get the Applet to run and load the image and text but when I restart, the applet just opens up the same image and...