Posts

Showing posts from 2009

The Most Significant Features of Java Language

The Most Significant Features of Java Language

Author: john wircken

Java is an object-oriented programming language developed by Sun Microsystems in 1990s. Since then, Java has gained enormous popularity as a computer language. Java was chosen as the programming language for network computers. It is a universal front end for enterprise database. Sun Microsystems states that, “Java is a simple, object-oriented, distributed, secure, architecture, robust, multi threaded and dynamic language. The program can be written once, and run anywhere”. One of the most significant advantages of Java is that, it has the ability to move easily from one computer to another. It also has the ability to run the same program on many different operating systems. With such exemplary benefits, Java is a hot favorite among techies and software professionals.

Java has significant advantages compared to other languages. Java language is easy to use and therefore easy to write, compile, debug. Moreover, it is eas…

Refletion API

Hope that everybody having problems with the reflection API will get some help from this tutorial.
This is what the sun java tutorials say about this API.
Reflection is commonly used by programs which require the ability to examine or modify the runtime behavior of applications running in the Java virtual machine. This is a relatively advanced feature and should be used only by developers who have a strong grasp of the fundamentals of the language. With that caveat in mind, reflection is a powerful technique and can enable applications to perform operations which would otherwise be impossible.
you can get the full sun tutorial Here.
So sun says "This is a relatively advanced feature and should be used only by developers who have a strong grasp of the fundamentals of the language" so i don't know why they added this to CSE syllabus in the third lecture?????.
What to do now we must learn it so i thought to make a simple tutorial so everybody can understand.
Let's start
To lo…

Getting Startd with JAVA -1

Image
Now What's JAVA ??

java is one of the best and most used programming languages used these days.The things you can do with java are endless.And it is so vast that you cant just finish learing it.

So lets get started.lets first see what you will be needing to get started
1.first you need a computer(he he he)


2.you need to install some JDK version on your computer
The latest can be downloaded Here


3.A Software to Write programs in

It's realy easy to use one than to type on the notepad and run manualy.If you want to learn from scrap you should use JCreator LE.because it only provides the basic needs you can learn a lot you can get it Here.

If you want to do High level programing use NetBeans IDE You can find the latest version Here .This is not good for basic learning because it does more than half of the coding for you

4.Configuring your pc(this part is not needed if you use NetBeans)
You must set the eniviroment variable to the bin folder do as below

Find where the bin folder…

Partisipate In Google Summer Of Code(GSOC)

Image
Hey if you are interested in a open source  programming gsoc is the best event to a go to.It is held every year
And is Done by Google and is a great place to learn how to work in open source  programming  there  are  a lot
of benifites.And if you are new to working in big projects its a great event
 watch this vedio to get a good idea






for more information goto http://code.google.com/soc/

Watch funny people online

Image
Watch the newest comdey online

Release Date: 2009
Duration: 132min
Category: Comdey , Psychological Drama, Showbiz Comedy


Links-
1-http://search.ovguide.com/movies_tv.php?q=funny%20people
2-http://missedashow.net/media/4615/Funny_People_2009/
3-http://tv-links.cc/movie/funny-people-2009.htm


How to include Google maps in your website

hey google maps is a cool tool you can use in your web sites and its very easy to add it but there is one problem
google has rules for free users that they cannot use it for commercial purpose's but u can use it if you are building for fun.if you realy like it and want it you can by it for commercial use
here is the first few steps to get it done
goto    http://code.google.com/apis/maps/ and there will be a link called Sign up for a Google Maps API key.
to get this feature you should own a gmail account because you have to sign up using you gmail account
then they will give you a API key that you will use in the code to get the service
<script src="http://maps.google.com/maps?file=api&v=2&sensor=true_or_false&key=[put the API key you got here]" type="text/javascript"></script> <script type="text/javascript"> function initialize() { if (GBrowserIsCompatible()) { var map = new GMap2(document.getEle…

And Image Viewer using Ajax

This is a image viewer made using Ajax its cool no refreshing and realy quick thats the good
of Ajax
var xmlHttp; function show(i){ document.getElementById("state").value="1"; document.getElementById("num").value=i; showPics(); } function showPics() { xmlHttp=GetXmlHttpObject(); if (xmlHttp==null) { alert ("Your browser does not support AJAX!"); return; } xmlHttp.onreadystatechange=stateChanged; xmlHttp.open("Get","getpics",true); xmlHttp.send(null); } function stateChanged() { if (xmlHttp.readyState==4) { if(xmlHttp.status==200){ var pics=new Array(); var xmlDoc=xmlHttp.responseXML.documentElement; var links = xmlDoc.getElementsByTagName("picture"); var state= document.getElementById("state").value; var num = document.getElementById("num").value; for ( var i = 0; i < 3; ++i ) { try{ pics[i] = links[i].childNodes[0].nodeValue.toString(); }catch(err){ break; } } if(state=="0"…

How to make web based a wordpad using gwt

Image
gwt is one of the best ways to develop user frendly web applications this is my first project done using
gwt i want be able to put the complete code because its too long but i'll put a few useful codes

Creating a menuBar(this goes in the class that extends EntryPoint)
MenuBar menu = new MenuBar(); menu.setAutoOpen(true); menu.setWidth("500px"); menu.setAnimationEnabled(true); // Create the file menu MenuBar fileMenu = new MenuBar(true); fileMenu.setAnimationEnabled(true); menu.addItem(new MenuItem(constants.cwMenuBarFileCategory(), fileMenu)); String[] fileOptions = {"New","Open","Save","Save As","Print","Print Preview","Exit"}; for (int i = 0; i <fileOptions.length; i++) { fileMenu.addItem(fileOptions[i], menuCommand); fileMenu.addSeparator(); } // Create the edit menu MenuBar editMenu = new MenuBar(true); menu.addItem(new MenuItem(constants.cwMenuBarEditCategory(), editMenu)); String[] editOptio…

my first post

hi guys this is my first post just for checking