Java – SWT to AWT (and vice versa) image conversion with transparency support


Conversion of the SWT library’s images to AWT images may be problematic. Both libraries doesn’t provide any ready-made solutions to do this, although on the SWT Snippets webiste we can find a code, that does this operation. Unfortunately, this code isn’t perfect. First of all, SWT => AWT conversion is done without transparency support (the more interesting thing is that AWT => SWT works correctly). In this article, I’ll describe neccessary operations to restore this important feature.

Read more

New application – Duplicate Lines Finder 2.0!


Today I publish new app – its name is Duplicate Lines Finder 2.0.

It’s 2.0, because previous versions was available only in Polish, so I didn’t publish them on english m4txblog. This is the first version in English. 🙂 It’s small application written in Java, which looks for duplicated lines or strings in text file and removes it, leaving only one occurrence of this string. Duplicate Lines Finder is very simple app, but I hope you will enjoy it. Here’s the download Link for it:

Duplicate Lines Finder

Yours, m4tx 🙂