Netbeans with mobility pack gave me a headache today.<br/><br/>
I made a fresh instalation of the J2SDK1.4, J2ME Wireless Toolkit 2.2 and NetBeans 5.0 beta 2 with the Mobility Pack (by this order), but when I tried to run a project, any project, I always got this "java.lang.SecurityException: untrusted domain is not configured".<br/><br/>
I searched the foruns and tried some possible solutions: change the project folder to a folder that didn't not contain accented characters, change the users "Documents and Settings" folder, etc. But none of these worked.<br/><br/>
Then I tried this: I went to the [Tools->Java Platform Manager]. Removed the J2ME Wireless Toolkit 2.2 platform. Then added it again. This combined with a project folder without accented characters (didn't have to change the user's Document and Settings folder) solved my problem! <br/><br/>
Ufh!