Solved

Transparent Text Area/Text Box

Posted on 2004-04-03
6
890 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
groupSumClump challenge 9 115
factorial example 4 40
eclipse apache tomcat admin console 52 97
eclipse buid path vs tomcat lib path 10 23
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
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 learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

809 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