I have a very simple web browser written in Java. It uses a URLConnection and JEditorPane. I would like to mask the "user-agent" header property that the browser reports. Currently the "user-agent" displays as "Java/1.5.0_07" and some websites think it is a crawler. Any ideas on where I should look? I have tried setting System properties, and URLConnection properties, but it hasn't helped.