Monday, October 17, 2011

Search from addres bar in firefox

There is an easy way to turn your address bar into a Google search box. You want to type into your address bar about:config. Next, type into the filter keyword.URL. Once you have found it there, modify the string in there and replace it with: http://www.google.com/search?btnG=Google+Search&q= From now on, when you type in a word or phrase into the address bar and hit enter, it will launch a Google search for it rather than giving you Google’s top result for that word or phrase

Adding new datasource to iReport in Netbeans

iReport is an important tools for reporting in java applications. In Netbeans, we may face problem to add new data source for iReport. Here is the step by step procedure to add a database driver for iReport. 1) go to "Tools / Options" menu and select iReport 2) verify that database JDBC driver is present: - Choose "Classpath" tab - Click "Add JAR" and then locate the desired (mysql.jdbc).Driver - Click "OK" 3) click "Connections / Datasources" icon in toolbar 4) click "New" and set up a "Database JDBC Connection" using driver from step 2 5) click "Test" to verify the data source works correctly 6) click "Save" to save the data source