Solved

Transparent Text Area/Text Box

Posted on 2004-04-03
6
893 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
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!

 

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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

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 how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
The viewer will learn how to implement Singleton Design Pattern in Java.

707 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