Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Java JFormattedText Help in NetBeans


  • Please log in to reply

#1
crazygerad

crazygerad

    Member

  • Member
  • PipPip
  • 15 posts
I am doing an application for my last class in Computer Science and I decided to venture into Java and its free tools because the client (person) I am doing the app for doesn't has money to buy access or stuff like that. I have read Head First into Java and I am using as reference the book How to Program Java by Deitel but both books forget about JFormattedText field.

Although I have many problems and I regret my initial choice, what I want to do is make a JFormattedText to deal with a Social Security Number but I can't seem to be able to do it. I don't understand if I should be using an event or AbstractFormatter() or anything else. Nor I understand how to go about it.

Any help is appreciated, thanks for your time.
  • 0

Advertisements


#2
bdlt

bdlt

    Member

  • Member
  • PipPipPip
  • 876 posts
hi crazygerad,

here's the quick reply - go to the sun documentaion FIRST whenever you have a java question.

please look here for JFormattedTextField info:

http://java.sun.com/...dtextfield.html

http://java.sun.com/...dTextField.html

opinions(probably not a good idea, but what the heck):
NEVER regret doing java
java is 'easy'(easier) if you work with c++ first
the best programming text I own is Deitel How to Program Java(3rd edition) - so my next 2 purchases will be
1. the latest Deitel How to Program Java
2. any Deitel c++ text

if you are still having problems with the code, please post the code you have thus far, and we will go from there.

bdlt
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP