[英]Intellij IDEA Designer for an Applet
I'm trying to design an applet using the designer delivered with Intellij IDEA. 我正在尝试使用Intellij IDEA随附的设计器来设计applet。 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);
}
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.