Solved

Transparent backgroud in Java Applet

Posted on 1997-09-06
2
1,058 Views
Last Modified: 2006-11-17
I succed in making transparent "gif", but with an applet I
have installed (you can find it in jdk demo "blink.class"),
I encountered some problem.
The text entred as applet parameter blinks correctly but the
background stays always gray.
Is it possible to get only the text blinking on my html home page background ?
0
Comment
Question by:abrix
2 Comments
 

Accepted Solution

by:
Reil earned 100 total points
ID: 1226515
You may want to try the setBackground() method.
If your webpage's background is white, the code would be something like:
setBackground(Color.white);

Alternatively, if your website features a background image, you have to load the same image into your applet, I think.
0
 

Author Comment

by:abrix
ID: 1226516
Thank you for your help!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now