porting MIDP to Gtk2