Standalone application are created to execute in system where it is installed but applets are used to create dynamic pages of the website that is to be run by browser.Consider for example when you create an applet that contains the line
a=a+1;
the line is executed infinite number of times as far as the applet is running.We can convert any applet to standalone application by modifying the applet with main() function.Since java is a powerful language that can be able to take the control of whole system it denies some permissions for unsigned applets because applet are to be run on remote system in a browser.
Saturday, April 17, 2010
Saturday, March 27, 2010
WINDOWS-BATCH FILE
Windows batch file is nothing but a line by line collection of commands that are executed in command prompt.To create a batch file open the notepad and type the commands line by line and save as of type .bat.For example consider the following example
cd c:\\images
del a.gif
and save the file as example.bat.
When you double click the above created batch file a.gif in the images folder is deleted.
cd c:\\images
del a.gif
and save the file as example.bat.
When you double click the above created batch file a.gif in the images folder is deleted.
Saturday, March 20, 2010
TRACE THE ORIGIN OF YOUR EMAIL
When you receive a email saying it come from London or USA you will be confused whether it really came from that location.The best way to verify it is to check with the IP from which it is was received.To know the IP from which the email is received use the following steps.
GMAIL
In gmail open the message and click the inverted triangle above the message and click show original.You can see the IP from which the email is received.
YAHOO
In yahoo click the see full header option to see the IP from which it is received.
Using the IP just search it with google to see the location or goto the url http:\\www.whatismyipaddress.com and click IP lookup to see the location.
GMAIL
In gmail open the message and click the inverted triangle above the message and click show original.You can see the IP from which the email is received.
YAHOO
In yahoo click the see full header option to see the IP from which it is received.
Using the IP just search it with google to see the location or goto the url http:\\www.whatismyipaddress.com and click IP lookup to see the location.
Wednesday, March 17, 2010
EDITING THE SYSTEM FILES IN WINDOWS VISTA AND WINDOWS 7
When you are previously using windows xp and upgraded to windows vista or 7 you may have faced this situation.For example in windows vista and 7 when you open some system or administrative files such as c:\windows\system32\drivers\etc\hosts file in notepad for testing some tricks you are not able to save the edited file which is not a matter in XP.To edit such files drag that file to another location such as desktop and then edit and save.After saving move the file back to the original location then done.
Tuesday, March 16, 2010
DIFFERENCE BETWEEN BLOG AND WEBSITE
Though the blog and website are seem to be same there are many important differences between them.The main difference that differentiate the two is STATIC PAGES.The blog doesnt contain any static pages because it was initially invented to share the personal ideas of a person with his friends and relatives which is updated frequently.Also the blog doesnt contain the storage space and as a result it should provide external link for downloading of files.On the other hand websites contain static pages and also the storage space.The search engines will give high priority for blog compare to website as it is updated frequently.As a result the commercial organisation will employ both blog with a link to its website for better results.
Friday, March 12, 2010
KNOW THE IP ADDRESS OF A WEBSITE
As i have said in earlier posts that every website have an unique IP address and it is named only for our convenience.Sometimes you want to know the IP address of a particular site to hack or to make fool your friends.To satisfy your needs i tell the way to find the IP of a site from windows connected to internet.For example when you want to know the IP of google.com then goto run and type "cmd" the command prompt will open here type the following command.
ping google.com
and press ENTER.
Now you will see the a number of lines indicating the status of connection including the IP address of the site.You com find the IP of any site by using this method when you are currently connected to the internet.
ping google.com
and press ENTER.
Now you will see the a number of lines indicating the status of connection including the IP address of the site.You com find the IP of any site by using this method when you are currently connected to the internet.
Saturday, March 6, 2010
GOOGLE Search Techniques and Query Optimization
Google supports several syntax and optimisation for the queries by which the user can get the desired output.I summarize some important features.
1.There are certain circumstances when you require result from only a certain site excluding result from another sites.At that time try the following format using (site:) command.
For ex[site:foolishengineers.blogspot.com prakash]
Try the above query without the brackets and see the result.
2.Another important feature provided by google is built in calculator which performs mathematic operations.Try the following queries.
1+100
2*5
3.When you want to know the meaning of certain word then try the following query.
ex.[define word]
Use the above query by replacing the word with word you want to know the meaning without the bracket.
4.When you want to know the time of a certain city then use the following query.
ex.[time Chennai]
5.Google provides inbuilt unit conversion from one unit to another by simply providing a query in the following format.
ex. [60kg to gram]
Google supports many types of such a conversion from one unit to another.
Apart from this it provides many services especially for U.S such as fligt status etc.
1.There are certain circumstances when you require result from only a certain site excluding result from another sites.At that time try the following format using (site:) command.
For ex[site:foolishengineers.blogspot.com prakash]
Try the above query without the brackets and see the result.
2.Another important feature provided by google is built in calculator which performs mathematic operations.Try the following queries.
1+100
2*5
3.When you want to know the meaning of certain word then try the following query.
ex.[define word]
Use the above query by replacing the word with word you want to know the meaning without the bracket.
4.When you want to know the time of a certain city then use the following query.
ex.[time Chennai]
5.Google provides inbuilt unit conversion from one unit to another by simply providing a query in the following format.
ex. [60kg to gram]
Google supports many types of such a conversion from one unit to another.
Apart from this it provides many services especially for U.S such as fligt status etc.
Subscribe to:
Posts (Atom)