java - Trying to create a DvbBufferedImage but its width and height are 0 -


i'm trying create fade-in animation using dvbbufferedimage bd-j application changing alpha value of images,

doublebuffer = new dvbbufferedimage(1920, 2180, dvbbufferedimage.type_advanced); 

but after creates buffer, width , height 0 , when i'm trying graphics:

dvbgraphics buffergraphics = doublebuffer.creategraphics(); 

it returns null.

after that, want draw images onto buffer , nullpointerexception. have , suggestion? think related libraries, because when replaced dvbbufferedimage bufferedimage using code:

protected bufferedimage bufimage = new bufferedimage(1920, 2180, bufferedimage.type_int_argb ); 

it says :

the constructor bufferedimage(int, int, int) undefined

i mention i'm using customized eclipse developing bd-j applications , java version jre1.8.0_77.

classes used application listed below:

basis.jar btclasses.zip j2me_xml_cdc.jar javatv.jar jsse-cdc.jar pbp_1_0.jar sonicbdj.jar 

your appreciated on problem, in advance!


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -