here is the source of the blackberryforums weblink:
(you can cut the AEP stuff if you do not want a rollover icon)
(don't forget to sign your code)
Code:
package com.blackberryforums.displayforums;
import net.rim.blackberry.api.browser.Browser;
import net.rim.blackberry.api.homescreen.HomeScreen;
import net.rim.device.api.system.Application;
import net.rim.device.api.system.Bitmap;
public class BBForum extends Application {
public static void main(String[] args) {
/*
* alternate entry point used by the autostart project
* to provide a rollover icon
*/
if (args.length>0 && "autostartup".equals(args[0])){
HomeScreen.updateIcon(Bitmap.getBitmapResource("BBForumIcon1.png"), 0);
HomeScreen.setRolloverIcon(Bitmap
.getBitmapResource("BBForumIcon2.png"), 0);
} else {
Browser.getDefaultSession().displayPage("http://www.blackberryforums.com/");
}
}
}