This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
You may not have read our naming policy on the way in. It requires that you use a full, real (sounding) first and last name for your display name. Just one name isn't enough. You can change your display name here. Thanks!
In any case: a third alternative, superior to either of these, is to use the JFormattedTextField class. See this article for details.
Hi, Thank you for the response. What can I do if i need to set a minimum and maximum value for the text field.When I use textfield's document object i used to check it there in insertString method.Is there a better way for this? Thank u in advance Rajasree