Transparency with *png in MHP with DVBAlphaComposite-what's the problem?

Hello!
I know this topic exists already, but it could not help me with my problem:
I want an HIcon with an transparent picture in it but I am not able to get any transparency..To me that code seems to be right,
but when testing it with the IRT RI, the Graphic is opaque..
Does anybody see what i am missing?
public void startXlet() throws XletStateChangeException {
MediaTracker tracker = new MediaTracker(this);
picture = Toolkit.getDefaultToolkit().getImage("AlphaGrafik.png");
tracker.addImage(bild, 0);
try{
tracker.waitForAll();
catch(InterruptedException e) {
picture = null;
cont = new HContainer(0, 0, 720 , 576);
icon1 = new HStaticIcon(picture, 0, 0, 720, 576);
cont.add(icon1);
scene.add(cont);
scene.setVisible(true);
icon1.requestFocus();
public void alpha(Graphics g){
DVBAlphaComposite compositeRule = DVBAlphaComposite.getInstance(DVBAlphaComposite.SRC_OVER, (float)0.5);
DVBGraphics image = (DVBGraphics)g;
try {
image.setDVBComposite(compositeRule);
catch (org.dvb.ui.UnsupportedDrawingOperationException ex) {
System.out.println("Exception: " + ex);
image.drawImage(picture,0,0,null);
Any help is very useful for me!
Regards, Alex.

I have simular problem applying alpha composing to Graphic layers.
If I draw graphic elements like circle or rectangular with some color or draw images with transparency (Alpha) then I can see only background IFame under top element. It seams when I draw something on graphic layer then middleware compose background video layer and DVB colors of element that I am drawing at the moment. Colors of elements that placed under the top element are ignored. I tried verious composing rules but It does not give any correct result. It seams middleware does not suppot alpha composing at this moment. Did you get some exception applying alpha composing?
I use Alticast MHP middleware installed on my Humax STB

Similar Messages

Maybe you are looking for

  • Secure Links to iTunes Store failed.

    I've loaded iTunes 10.3.1.55 onto my PC using Windows 7. The files were downloaded onto folder C:\Program Files (x86)\iTunes. When I run the diagnostics I get the problem above. Microsoft Windows 7 x64 Home Premium Edition Service Pack 1 (Build 7601)

  • How can I adjust the width of email display so text remains within the width of display

    Most emails are narrow enough to fit within the width of my display, occasionally I receive an email that spills of the edge of my screen and I need to move focus of my display back & firth with every line, is there a way to display in word wrap.?

  • NW and ECC 6.0 Integration

    Hi, Can any one explain the process for Integration of Netweaver and ECC 6.0. Thanks in advance

  • Problem Registering with Shared Services

    Hi all. I have this problem: I'm installing Hyperion 11.1.1.3. I installed and configured Shared Services in server "sa02". I installed Essbase in "bd01" and registered fine to Shared Services. But, when I'm trying configure EAS (in "sa02"), it can't

  • How to add a virtual disk into a 'guest VM' after VM has been created?

    Well, it was easy when one need to add a virtual disk before creating a guest VM. All need to do was to edit the template and click on disk tab and create a virtual disk. However the challenge comes after created a 'guest VM'. I need to add additiona