?
Solved

Transparent Text Area/Text Box

Posted on 2004-04-03
6
Medium Priority
?
896 Views
Last Modified: 2012-05-05
Hi,

Is there any way to make a text area or text box transparent in AWT or SWING so that the users may see the background through them?

Thanks


Garth
0
Comment
Question by:garth15
[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
  • 3
  • 2
6 Comments
 
LVL 30

Expert Comment

by:GrandSchtroumpf
ID: 10748488
it does not come as a standard feature neither in AWT nor in Swing.
0
 
LVL 30

Expert Comment

by:GrandSchtroumpf
ID: 10748499
As "Transparent", do you mean that you want to see the other windows and the desktop backlground of your OS?
That should be hard to do I guess.
0
 
LVL 92

Expert Comment

by:objects
ID: 10749880
you can make a text area transparent (in Swing) but its making the frame transparent that you cannot do.
You can create the illusion of transparent frame by taking a screen shot of the desktop under the frame and displaying that as the frame background.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:garth15
ID: 10749941
I only want to make a text Area transparent which is part of frame which has a background image.  I don't need to make the frame transparent.  Could you tell how to do this please?

Thanks

Garth
0
 
LVL 92

Accepted Solution

by:
objects earned 2000 total points
ID: 10749949
ta.setOpaque(false);
0
 
LVL 92

Expert Comment

by:objects
ID: 10750286
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

649 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