Posts which you will also like.

Wednesday, September 7, 2011

A Tutorial on Freqency counter program in java

This is a simple program which counts the frequency of occurrences various character in a file.
It browses for the file containing text and counts the occurrences of characters.
Image below shows the result of this program.


Download source code:FreqCounter.rar

Read More ->>

A Tutorial on Creating Digital Clock In Java Using Threads

In this example I created a live digital clock in Java using SWING and THREAD classes.There are two many methods to create this and I chose the one in which I extended the Jlabel class which shows the current time with the help of Threads.
Next I added a JLabel to the JPanel and instantiated my custom JLabel class and gave its reference to the label that was added to JPanel.

The image below shows the outcome of the code:


OUTPUT:

Download source code :LiveClock.rar

More on this at techcresendo.com
Read More ->>

Tuesday, April 5, 2011

Tricks to Make Computer Booting and Shut Down faster !!!

There are various issues for slow computer shutdown(both Hardware and Software)
Following article deals with both of them. Please note the system boot speed before and after using the tricks to appreciate the difference.

1.LIMITING SERVICES THAT LOADS : Well,we have a conception that older the installed Operating System gets slower it would be. Quite so. But the reason being that we clog it by numerous programs and utilities. For this Soluto is a excellent utility which can be downloaded for free from here or you can use a excellent utility Bootvis which can be downloaded from here . If you have problem using Bootvis click here
2. BIOS : Go to BIOS and then go to boot menu. In most modern BIOS you would find option of Quick Boot ,ENABLE it. Also put Hard Disk in the highest priority in Boot Device Priority.
3. MSCONFIG : To restrict unwanted start up programs from loading in the RUN (Win+R) type MSCONFIG then enter. There in the startup tab would be listed utilities the load on boot up. Check here in case of confusion (whether its necessary or not)
4. LAN : If you are connected to LAN and DHCP server is enabled. Then every time you boot it is tested whether or not you have a valid IP address. To wipe off this time use a static IP address by assigning values in RUN(Win+R) -> NCPA.CPL -> local area network -> Properties -> Internet Protocols TCP/IP -> Properties . Fill your static IP ,subnet,default gateway,DNS server.
5. USB/COM Ports : If you don't use USB/COM ports to connect devices .Disable the devices at Control Panel -> System -> Hardware ->Device Manager.
6. Pagefile.sys :For security reason pagefile.sys is cleared before shutdown. It stores various sensitive data . If you have a Personal Computer and it doesn't deals with sensitive data then disable this default clearing of pagefile.sys by RUN(Win+R) -> Regedit then navigate to : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
Change the value of ClearPageFileAtShutdown to 0. Close Registry and reebot.

7. Recent Documents : It stores the recent documents used. After a certain time this list gets long and has a adverse effect . Clear it time to time else go to RUN (Win+R) -> Regedit and navigate to :

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

Create a DWORD value named ClearRecentDocsOnExit and give it a data value of 1

In case of any problem in applying any of the trick or for any suggestion,feel free to revert.
Read More ->>

Sunday, March 27, 2011

Playing with Google:I am feeling lucky

Here are some tweaks you can play with google I am feeling lucky option.
1.google holiday:shows the holiday logo and events in style of google
2.google bsd:show the linux version of google
3.google linux:show the linux version of google
4.google easter egg:lets you to play the easter egg game
5.google scholar:Useful for scholars
6.google suggest:this will give you suggestions in your search
7.early google:shows the earliest version of google when it was not too popular as today
8.elgoog:reverses the name of google
9.google blog search:lets your search to be blog specific
10.google heart page:shows the bouncing heart following your mouse at the screen
11.google zeitgeist:lets you to search patterns,trends,and surprises (provides very accurate search)
12.gogole moms:A page of google for mother's day
13.xx-hacker:Shows the search page suitable for hackers!
14.google mentalplex:Search smarter and faster with Google's MentalPlex
press I am feeling lucky after typing these keywords and see the result(do not type ':' with keywords).
Read More ->>
DMCA.com Protected by Copyscape Online Plagiarism Tool