Either one of those would probably work.... I would be concerned, however, with using a window ac unit unless your room is also overheated... you're going to be lowering your temps quite a bit to get the humidity out. If I had those options before me, I'd go with the stand-alone dehumidifier but that's only because I can't have my temps drop from where they are... just take that aspect into consideration!
Good luck....