In J2ME run the following code after DisplayInit();
Label lbl = new Label(Image.createImage("/splash.png"));
Style style = lbl.getStyle();
style.setBgColor(0xFF0000);
style.setAlignment(Component.CENTER);
Form form = new Form();
form.setLayout(new BorderLayout());
form.addComponent(BorderLayout.CENTER, lbl);
form.show();
Also there seems to be a bug in J2ME with this code. As soon as this form is
painted, you see a repaint twice. Once with one type of padding and the second
time with some other padding. The padding is white.
Its not always reproducible - depends on timing and speed of PC/emulator.
Original issue reported on code.google.com by jkoo...@gmail.com on 11 Jul 2012 at 2:45
Original issue reported on code.google.com by
jkoo...@gmail.com
on 11 Jul 2012 at 2:45