Results 1 to 5 of 5
Thread: Text Area Outline
- 02-07-2010, 01:31 AM #1
Member
- Join Date
- Jan 2010
- Posts
- 81
- Rep Power
- 0
Text Area Outline
I'm using the NetBeans 6.8 Swing GUI. I want to display multiple lines of text using text/word wrapping. I created a jTextArea and everything is working fine except for one thing. My TextArea background is the same color as my panel (intentionally). When I remove the border from the TextArea, it still leaves a very thing blue outline of the TextArea that I can't seem to get rid of.
Does anyone know how to remove the outline? It's not the border property.
-
a JTextArea shouldn't even have a border by default. Do you happen to have this JTextArea inside of a JScrollPane?
As an aside: you would do well for yourself to divorce yourself from the NetBeans GUI builder if you want to learn Swing coding.
- 02-07-2010, 02:25 AM #3
Member
- Join Date
- Jan 2010
- Posts
- 81
- Rep Power
- 0
Yeah, it automatically put it inside a jscroll pane. I've already started reading tutorials for building it myself. The NetBeans GUI is actually really annoying, but I did learn a lot just by playing around with it for the past few days.
I plan on starting to build my GUI from scratch using Swing tomorrow.
Thanks!
-
Then the border you see is from the JScrollPane.
excellent. Best of luck.I've already started reading tutorials for building it myself. The NetBeans GUI is actually really annoying, but I did learn a lot just by playing around with it for the past few days.
I plan on starting to build my GUI from scratch using Swing tomorrow.
Thanks!
- 02-07-2010, 06:12 AM #5
Senior Member
- Join Date
- Aug 2009
- Location
- Pittsburgh, PA
- Posts
- 282
- Rep Power
- 4
Similar Threads
-
Displaying images in a text area
By idanfast in forum AWT / SwingReplies: 1Last Post: 11-26-2009, 08:51 PM -
text area size problem
By collin389 in forum AWT / SwingReplies: 7Last Post: 11-09-2009, 02:15 AM -
eol in text area....
By Nicholas Jordan in forum NetworkingReplies: 0Last Post: 09-14-2008, 10:59 PM -
Text Area problem
By mcal in forum New To JavaReplies: 0Last Post: 02-11-2008, 09:42 PM -
textfiled and text area to UTF-16?
By Mr tuition in forum AWT / SwingReplies: 0Last Post: 12-04-2007, 12:40 PM


LinkBack URL
About LinkBacks


Bookmarks