Hey, How'd you like
that little pop-up box???? OK,
ok, nobody likes pop-ups ... but it was fun anyway [AND EASY].
alert ("Lookie Here!!! My first Pop-Up Box!!!");
A Simple Program:
1) I created HelloWorld.java, compiled it
2) HelloWorld.class was created
3) Now I want to access this webpage, with this java code from
5) Below my pop-up code, I included
Here is the output of my program:
1) Why is the output so ugly (in AOL and IE)... grey box, bottom
aligned text (gotta learn how to format the java text output)
2) My applet code had width=150 and height=25 ... let's delete
that ... No, bad idea
3) Let's try 50, 10 ...nope, teeny tiny
4) I tried some other combos ... I guess 150, 25 is best??
5) Gotta work on this!