Solved

Transparent backgroud in Java Applet

Posted on 1997-09-06
2
1,060 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

740 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