gui: fix problem with java 6 when compiled with java 7

introduced in c5e9fe58e487b6b624ad0e96418ff188f409bca0
"improve sorting of clusters and block devices"