Category Archives: J2ME

Reducing J2ME Size with Advanced PNG Compression

One way to reduce the size of a J2ME application is through better compression of the PNG images you are using. I currently use the excellent Paint.Net to create my images. Unfortunately, it doesn’t compress PNG output very effectively. It … Continue reading

Posted in Graphics, J2ME | Leave a comment

A Better J2ME fillTriangle

I recently wrote about my alternative fillTriangle method. Pattern Fill The reason I created this method was to support older devices that don’t have a built-in version of fillTriangle. However, the implementation could be useful on more modern devices where we … Continue reading

Posted in Graphics, J2ME | Leave a comment

MIDP 1.0 fillTriangle Method

One of the (many) limitations of MIDP 1.0 is that it lacks the fillTriangle that is present in MIDP 2.0. Below is a replacement method that works on MIDP 1.0 devices. It is based on notes published by Michal Wronski. … Continue reading

Posted in J2ME | Leave a comment