Archive for the ‘ Code Snippet ’ Category
The basic idea is very similar to these sliding boxes that are animated with JQuery. The difference is, that I will not use one line of javascript (nor JQuery) but CSS3. OK, that’s also not completely new. But I do have the requirement to let flow out a box with text inside as well as [ READ MORE ]
If you have to dive into the java stacktrace, you can use three possible functions to do so. Use a Throwable Create a SecurityManager and get his ClassContext Or do the trick with Reflection API (thanks to Heinz’s advise) Here are the three solutions written down: private String getCallerClassFromThrowable() { Throwable trace = new Throwable(); [ READ MORE ]
Have you ever written an Eclipse Plug-In that has to call an Ant-Script? OK, I’m sure you get this done. Maybe then you’ve ask yourself (or someone else ): “How do I get the Ant output into the console of Eclipse?” So, I have and also was asked. My spontaneous and innocent answer: “Just call [ READ MORE ]
Enter your email address to subscribe to this blog and receive notifications of new posts by email.
Join 2 other followers
Get every new post delivered to your Inbox.