hi,
I don't how to generate applet window in wed. This applet window have File to save/load. Would you give me source code or related java class to let me see API please?????
thanks
Printable View
hi,
I don't how to generate applet window in wed. This applet window have File to save/load. Would you give me source code or related java class to let me see API please?????
thanks
i wrote this in JCreator LE:
import java.applet.*;
public class title extends Applet
{
public void paint(Grahpics screen)
{
//code in here
}
}
umm once you get used to that you can add on features to interact with the mouse..make sure in your html (because applets run in html) that you have the code
<applet code="filename.class" width=400 height=400></applet>
It helps if you write your html file in the same file that your .class file is in
IM me on aim if you have any questions - Sportsdude11751
JCreator must be a crock of censored then, because i've never seen an object in the class hierarchy called Grahpics :)Quote:
Originally posted by Sportsdude11751
i wrote this in JCreator LE:
import java.applet.*;
public class title extends Applet
{
public void paint(Grahpics screen)
{
//code in here
}
}
i dont know what WED is.. wednesday? hmm
anyways.. i odnt know how much you know about applets, but i'll tell you for free that they cant save or load anything - that would be a security risk.. so creating a save and load menu in an applet, youre only going to have to grey it out anyway, because it wont work..