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
Solved

Transparent Text Area/Text Box

Posted on 2004-04-03
6
891 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
  • 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
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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.

 

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 500 total points
ID: 10749949
ta.setOpaque(false);
0
 
LVL 92

Expert Comment

by:objects
ID: 10750286
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
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…
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 …

828 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