Answer Posted / akansha
Here is the java code of program :
import java.applet.*;
import java.awt.*;
public class FirstApplet extends Applet{
public void paint(Graphics g){
g.drawString("Welcome in Java Applet.",40,20);
}
}
Here is the HTML code of the program:
<HTML>
<HEAD>
</HEAD>
<BODY>
<APPLET ALIGN="CENTER" CODE="FirstApplet.class" WIDTH="800"
HEIGHT="500"></APPLET>
</BODY>
</HTML>
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Is null keyword in java?
Convert Binary tree to linked list.
Name component subclasses that support painting in java programming?
What is linkedlist in java?
what is a working thread? : Java thread
What do you mean by aggregation?
What is method and methodology?
Can you call a method on a null object?
What is substring 1 in java?
What is the difference between a constructor and a method?
What is lambda programming?
What are the topics in core java?
Detail discussions on JVM, memory management and garbage collector.
What is extension method in java?
Write a program in java to establish a connection between client and server?