JAVA程序填空~!!高分~~!!【急急急急需~!】!大虾们帮忙~!!!
importjava._____.*;importjava._____.*;publicclassA_____Applet{publicvoid_____(_____g)...
import java._____.*;
import java._____.*;
public class A _____ Applet {
public void _____(_____ g) {
Font f=new Font("Gulim",_____.BOLD,20);
g._____(f);
g._____("HELLO", 10, 10);
g._____(_____.red);
g.drawRect(20, 20, 20, 20);
}
} 展开
import java._____.*;
public class A _____ Applet {
public void _____(_____ g) {
Font f=new Font("Gulim",_____.BOLD,20);
g._____(f);
g._____("HELLO", 10, 10);
g._____(_____.red);
g.drawRect(20, 20, 20, 20);
}
} 展开
3个回答
展开全部
你参考下哈
import java.__applet___.*;
import java.__awt___.*;
public class A ___extends__ Applet {
public void ___paint__(__Graphics___ g) {
Font f=new Font("Gulim",__Font___.BOLD,20);
g.___setFont__(f);
g.___drawString__("HELLO", 10, 10);
g.__setColor___(___Color__.red);
g.drawRect(20, 20, 20, 20);
}
}
import java.__applet___.*;
import java.__awt___.*;
public class A ___extends__ Applet {
public void ___paint__(__Graphics___ g) {
Font f=new Font("Gulim",__Font___.BOLD,20);
g.___setFont__(f);
g.___drawString__("HELLO", 10, 10);
g.__setColor___(___Color__.red);
g.drawRect(20, 20, 20, 20);
}
}
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
import java.applet.Applet;
import java.awt.*;
public class A extends Applet {
public void paint(Graphics g) {
Font f=new Font("Gulim",Font.BOLD,20);
g.setFont(f);
g.drawString("HELLO", 10, 10);
g.setColor(Color.red);
g.drawRect(20, 20, 20, 20);
}
}
import java.awt.*;
public class A extends Applet {
public void paint(Graphics g) {
Font f=new Font("Gulim",Font.BOLD,20);
g.setFont(f);
g.drawString("HELLO", 10, 10);
g.setColor(Color.red);
g.drawRect(20, 20, 20, 20);
}
}
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
import java.applet.*;
import java.awt.*;
public class A extends Applet
{public void paint(Graphics g) {
Font f=new Font("Gulim",Font.BOLD,20);
g.drawString("HELLO", 10, 10);
g.setColor(Color.red);
g.drawRect(20, 20, 20, 20);
}}
import java.awt.*;
public class A extends Applet
{public void paint(Graphics g) {
Font f=new Font("Gulim",Font.BOLD,20);
g.drawString("HELLO", 10, 10);
g.setColor(Color.red);
g.drawRect(20, 20, 20, 20);
}}
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询