Converting NetBeans Applications to Applets