Solved

Transparent backgroud in Java Applet

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java syntax, or is it Selenium 6 62
IBM TS2900 (3572) Tape Autoloader Java? 12 109
Coding for the first time 9 103
Where to place postgres JDBC driver jar on tomcat 8 71
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

751 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