The Daily Bugs

A web developer's daily life

Archive / July 2011

July 15, 2011

Resizing java.awt.Image with constraining proportions using ImageUtil

With every application I create, I always come into image manipulation, which can be really tricky in Java and sometimes even complicated. The function that was always needed is to resize an image after the client user uploads it, or reduce its quality. As you know when ever you feel like a function needed over …

Read More
July 6, 2011

Adding Richfaces 4.0.0.Final Libraries to Your Project

Richfaces 4.0.0.Final is out there, and so far it’s pretty useful as usual, but when I wanted to add it in my NetBeans project on JSF 2.1.2, many exceptions, many unrecognizable stack traces. I started googling, after hundreds of results and surfing I ended up with collecting what I needed to get it working, and …

Read More
July 6, 2011

Using Richfaces 4.0 and Primefaces 3.0.M1 in the Same Web Application

They’re both great, they both have a very useful components that it’s just not easy to give up on one of them, it has been the same since Richfaces 3.0 and Primefaces 1.0. Long story cut short, what happens when you use them together is that Richfaces’ components works “almost” normally, while Primfaces’ just don’t. …

Read More