Home pageFind It!Contact PJAPJA documentation

PJA

 PJA Toolkit forum

This forum is dedicated to PJA Toolkit.
You may read freely the messages it contents. If you want to write a message or answer to a subject, subscribe to it first.

Subjects Recent messages Login Subscribe

Messages of subject Problem is displayed image has dark background

neian

Location : US
Member since : Apr 6, 2007
Messages : 1
 Apr 6, 2007 at 9:31 PM
Hello, I'm having some problems displaying a jpeg image in the pdf report. The image displayed has dark grey background making the image very hard to see. I got no problems when I was using Image logo = new ImageIcon("images/WMS_K_2.jpg").getImage(); but when I switched to using PJA, the problem occurred.
I am using JDK 1.3xx and WSAD 5.0
Here is the code that i used to get the image

java.awt.Image logo = PJAToolkit.getDefaultToolkit().getImage(imageURL);

Please advise. Thanks!

Arobert

Member since : Jul 3, 2007
Messages : 1
 Jul 3, 2007 at 9:14 AM
You should use an other image format, like PNG or Gifs.
---
http://www.softsea.com/


Home pageFind It!ContactTop

© Copyrights 1997-2023 eTeks - All rights reserved

PJAPJA documentation