Net Beans Hellow World

Picture

hello frinds thanks for coming.im sameera here.

to day im going to show how to make hello world programme using net beans.
in net beans we doing to do it in console and also as a swing programme.
when we are using netbeans it is pretty easy to java coding
.in note  pad we type
public static void main(String args[]){
}

but netbeans it is pretty easy to do it, just type
psvm and hit tab key
now it genarate
public static void main(String args[]){}statement.its very easyand you also no need to type System.out.println("hellow");just typesout and hit tab keyit will genarate System.out.println(" hellow");
And i create swing application to hellow world.
steps:
1.get jlable and edit text and make it blank(we are going to dispaly word in jlable when we clik say hellow button).
2.get jbutton and change it name to say hellow.then double ckick on jbutton and it will show  code view.nowjust type 

thisjLabel1.setText("Hellow Sameera");
thats it.thanks for commingsee you from next tutorial :)
take care !
bye!
Watch On Youtube
http://www.youtube.com/watch?v=o7zPdUm5IeAweeblylink_new_window






Leave a Reply.

    Author

    Hi My Name Is Sameera Dissanayaka.I hope to teach Java lessons and Lots Of fun things about tecknoledgy and Cool computer tricks and meny more be with my site you can get lots of knowledge.

    Archives

    June 2012
    August 2011

    Categories

    All
    Hello World Using Netbeans
    Note Pad