Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Java in General and the fly likes textfield Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "textfield " Watch "textfield " New topic
Author

textfield

akash shrimali
Ranch Hand

Joined: Jul 28, 2010
Posts: 45
how to set textfield as grayout initially
Kevin Workman
Ranch Hand

Joined: Sep 28, 2010
Posts: 151
You read the API: http://download.oracle.com/javase/6/docs/api/javax/swing/JTextField.html
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3064
    
  33

As I see its related to Swing, it would ideally be in Swing Forum.

akash shrimali wrote:how to set textfield as grayout initially


Are talking about- setting the textfield as disabled? Also you can go through the API.


Mohamed Sanaulla | My Blog
 
Don't get me started about those stupid light bulbs.
 
subject: textfield
 
Similar Threads
cant figure this out
Add Enter Key Value in Input Box
Help on JTextField Refreshing Problem
Adding a New JComponent on a Button Click
Jtable, Jtextarea