ajithkp560

First Java Applet

Jun 27th, 2012
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.59 KB | None | 0 0
  1. /*
  2. This is the simplest Example of Java Applet.
  3. This is An Example
  4. I hope you Visit http://www.suckthetech.blogspot.com
  5. */
  6.  
  7.  
  8. import java.applet.*;
  9. import java.awt.*;
  10. public class TechnoFeeds extends Applet
  11. {
  12. public void init()
  13. {
  14. //This is main Part of Java Applet, but here we don't need this part. Eventhogh we should create this part.
  15. }
  16. public void stop()
  17. {
  18. //We dont need this part also. But you must create this part also.
  19. }
  20. public void paint(Graphics g)
  21. {
  22. g.drawString("This is Ajith KP from Techno Feeds",100,20);
  23. g.drawString("http://www.suckthetech.blogspot.com",100,40);
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment