Skip to main content

BufferedImage problem

2 replies [Last post]
aerodinamick
Offline
Joined: 2010-05-06
Points: 0

Hi !

I have a problem while constructing a BufferedImage : I found this constructor on the Internet

BufferedImage bi = new BufferedImage(loaded.getWidth(), loaded.getHeight(), BufferedImage.TRANSLUCENT);

I have this error : "The constructor BufferedImage(int,int,int) is undefined"

But, as you know, this constructor is available ! :/ ( http://java.sun.com/j2se/1.4.2/docs/api/java/awt/image/BufferedImage.html )

Can someone help me ? :)

Regards

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joe Rice

The minimum Java version supported in BD-J is 1.3, per PBP 1.0. Some players might support PBP 1.1 and Java 1.4, but this is optional.

http://java.sun.com/javame/reference/bluray-technote.html

http://wiki.java.net/bin/view/Mobileandembedded/BDJPlatformDefinition

Cheers,
Joe

On May 19, 2010, at 7:03 PM, bd-j-dev@mobileandembedded.org wrote:

> Hi !
>
> I have a problem while constructing a BufferedImage : I found this constructor on the Internet
>
> BufferedImage bi = new BufferedImage(loaded.getWidth(), loaded.getHeight(), BufferedImage.TRANSLUCENT);
>
> I have this error : "The constructor BufferedImage(int,int,int) is undefined"
>
> But, as you know, this constructor is available ! :/ ( http://java.sun.com/j2se/1.4.2/docs/api/java/awt/image/BufferedImage.html )
>
> Can someone help me ? :)
>
> Regards
> [Message sent by forum member 'aerodinamick']
>
> http://forums.java.net/jive/thread.jspa?messageID=470431
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: bd-j-dev-unsubscribe@hdcookbook.dev.java.net
> For additional commands, e-mail: bd-j-dev-help@hdcookbook.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: bd-j-dev-unsubscribe@hdcookbook.dev.java.net
For additional commands, e-mail: bd-j-dev-help@hdcookbook.dev.java.net

aerodinamick
Offline
Joined: 2010-05-06
Points: 0

Hello Joe and thank you for answering !

I'm developping BD-J with Scenarist BD-J, do i have to get the BDJ plateform definition anyway ?

Regards