On my new Windows 7 desktop, I tried to open a .jar file, only to be rebuked. Thanks to Andy from ShowerHacks.com and Dave from FishingPicks.com for the help. And lo, after some Googling, there is. Here’s how:
- Go to the run box and type in cmd. Instead of hitting Enter, use Ctrl + Shift + Enter. This will run the command prompt with Admin rights.
- A dialog box should pop up notifying you of what you’re doing and you have to confirm it. Annoying.
- Type this in to the command line: assoc .jar=CompressedFolder. Press Enter
There you have it kids. Windows 7 opens .jar files like they were .zip files.
This is an easy error to get when you aren’t paying attention. What happened is you included com.google.gwt.http.client.URL on the server-side to try and decode an encoded URL. What you want to use is java.net.URLDecoder. Also related, the string is by default encoded UTF-8, so decode like this: String s = URLDecoder.decode(string, “UTF-8″);
Maybe someone else will find this instead of having to search for it.
No. At least not at the time of this post. I think there are a few projects around on Sourceforge or Google Code. I’d suggest using DateTimeFormat in the com.google.gwt.i18n.client package.
It took me a little Googling to figure this out, so maybe this post will help someone in the future.
In honor of Chuck Norris turning 70 (70! can you believe it?!), I give you 25 Chuck Norris “Programmer” Jokes.
P.S. Did you know Chuck Norris’s real name is Carlos Ray Norris? Yeah, me too.
File this under “Oh this is neat, though I don’t use OmniGraffle, but if I did, then I’d probably use this Ext JS Stencil.”
Via: The Ext JS Tumblr