Tuesday 10 December 2013

Graphic java course Creating an Applet [ Part 1 ]

Open Netbeans
 Create a new project



Create a new project




 Now click next


Now name it
Now nme it "javacourse"
click Finish


Now we can see there is already a default class name "javacourse"
we can create new class

 named "TestApplet"
Then click "Finish"

Now open the class named  "TestApplet"


Now we want to extend our classs to applet




now Right click anywhere and then click "run file"



ok we have got it








Full code


       

package javacourse;

import java.applet.Applet;
import java.awt.Color;

/**
 *
 * @author Backtrace
 */
public class TestApplet extends Applet{
   
                                      }
        
    

now we created An Applet 


0 Comments:

Post a Comment

Facebook Twitter Delicious Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | coupon codes