Hello,
when I call method
dg.getPixels(BoxPozadi, null, 0, 0, 1, 1, 1, 1, DirectGraphics.TYPE_BYTE_1_GRAY);
on 3410 emulator, it throws Illegal Argument Exception. Does anybody knows what I make incorectly? In documentation is written that it throws Illegal Argument Exc. when X, Y, WIDTH or HEIGHT is negative or format is not supported. X, Y, WIDTH and HEIGHT I have set 1 and format is right, so what I do incorectly?

And how can I debug app? When I call System.out.println("something" it does nothing, but in Siemens Emulator it writes a line "something"...