A tool to increase blog visitor count

For some blogs, if you refresh the page, the count will increase such as blogs of sina, sohu, etc. I make the a java tool that call IE to open the blog page and close IE, repeat this process until you get a million count. It is very easy to increase the count using this tool, but I'm not sure how much benefit the number can bring to you.

The windows executable file is here. I have tested it on XP and Vista, but you will need first to install Java on your computer, if it is not installed.

If you are interested in the code, read the following part. First, I use regular expression to get valid URL for IE to open it. Then call IE to open the address. This problem is really simple, but shows you how to use launch4j to wrap your jar file and make it a windows executable files.

import java.util.Scanner;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class OpenClose {
	public static void main(String[] args) {
		System.out.println("plase input a full valid web address, such as http://www.google.com");
		while (true) {
			Scanner in = new Scanner(System.in);
			String url = in.next();
			System.out.println("You input: "+url);
			// regular expression goes here
			Pattern pattern = Pattern.compile("http://.*");
			// In case you would like to ignore case sensitivity you could use
			// this
			// statement
			// Pattern pattern = Pattern.compile("\\s+",
			// Pattern.CASE_INSENSITIVE);
			Matcher matcher = pattern.matcher(url);
			// Check all occurance
			if (matcher.find()) {
				// System.out.print("Start index: " + matcher.start());
				// System.out.print(" End index: " + matcher.end() + " ");
				// System.out.println(matcher.group());
				while (true) {
					try {
						Process p = Runtime.getRuntime().exec(
								"C:\\Program Files\\Internet Explorer\\iexplore.exe \""
										+ url + "\"");
						System.out.println("executed! " + p.waitFor());
					} catch (Exception e) {
			} else {
				System.out.println("please input a valid address!");
Category >> Real Methods  
If you want someone to read your code, please put the code inside <pre><code> and </code></pre> tags. For example:
String foo = "bar";