简体   繁体   中英

Intellij IDEA Designer for an Applet

I'm trying to design an applet using the designer delivered with Intellij IDEA. I have no idea where I can find an option to make one. Solutions have been posted on the net, but seem to be outdated at the moment.

Create this class in your application

import java.applet.Applet;
import java.awt.*;
public class Main extends Applet {
public void paint(Graphics g) {
    g.drawString("SALAM Applet", 20, 20);
    g.drawString("سلام اپلت", 20, 40);
}
}
  • Right click on your applet class and select create 'Main'.
  • Click OK.
  • Run

for more information visit this link

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM