Solved

Transparent Text Area/Text Box

Posted on 2004-04-03
6
888 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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
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…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
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 …

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now