This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes TextField  Border Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "TextField  Border" Watch "TextField  Border" New topic
Author

TextField Border

chandra kolluri
Greenhorn

Joined: Sep 17, 2007
Posts: 7
Can you remove TextField Border (To remove the Border off) ?
paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 20660
    ∞

Do you mean so that you might be typing in an open area with no line around it? And TextArea isn't what you want either?


permaculture Wood Burning Stoves 2.0 - 4-DVD set
chandra kolluri
Greenhorn

Joined: Sep 17, 2007
Posts: 7
What i mean by Borderless is that
TextField without Bevelstyles. ie .. no dark shadow in left & top side when you put text Field.
paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 20660
    ∞

I never tried that.
At the very worst, you could get the source - a free download from Sun - modify TextField and call it NoBorderTextField.
Maybe you can do a slightly better solution of overriding a method or two to not show the borders.
chandra kolluri
Greenhorn

Joined: Sep 17, 2007
Posts: 7
Thanks A lot. I do so.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: TextField Border