Solved

Transparent backgroud in Java Applet

Posted on 1997-09-06
2
1,063 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses

634 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