I posted over a year ago about Delegates in Java, and since I kicked off an exploration of the functionality I’m providing in my xjava framework with my previous post I thought I would continue with my newest iteration of the Delegates concept as utilized in xjava. Until you use a language like Scala or…
Category: hacks
Java Delegates
If you’re searching the internet for the title of this post you’ll see a lot of people ranting about how Java doesn’t have Delegate support. Though I have been one of these people, and continue to be frustrated that there is no native solution, that is not the purpose of this post. I write this…
Some Rules Can’t Be Broken
I’m a big lover of Reflection in Java. It’s extremely powerful and lets you do things that technically shouldn’t be allowed. For example, an Object with a private method cannot be invoked outside of that method by virtue of the “private” keyword. However, if you use reflection: public class MyObject {private void doSomethingHidden() {System.out.println(“I’m hidden…
Flash/Flex URLRequest Upload Security Hack
It’s been a while since I posted and after dealing with this horrid bug in Flash I figured it would be a great topic to get me back on track. So, apparently there’s this nifty little bug in Flash/ActionScript with the URLRequest object when you attempt to do a file upload, it uses a completely…
Flash/Flex URLRequest Upload Security Hack – Part 2
So I lied, apparently my hackery wasn’t enough to appease IE even though Firefox happily worked going forward. Apparently in IE it determines, “Oh, I’ve been authenticated on this URL before…so lets send broken authentication information instead of an upload”, and then no matter what you respond back to the request with it just ignores…
Applet Roadblock
My massive hack for native drag-and-drop in jSeamless Flex implementation is functional, but only in Firefox. Apparently there is an interesting “feature” in IE that even though you may sign your Applet and the user grants that they way to trust said Applet, it still never gives you read access to the file system. That…
Flex Native Drag-and-Drop: The Massive Hack
I had made the commitment a while back that I was going to add complete and perfect drag-and-drop support to jSeamless. The Flex Implementation proclaims support for DnD so I’ve just pushed off the investigation up until recently. However, now that I’ve come to implement this great functionality I realize that there is absolutely no…