Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Non availability of matches() method in JBuilder 4 IDE

  1. #1
    Junior Member
    Join Date
    Dec 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Non availability of matches() method in JBuilder 4 IDE

    i want to match a user input given in a text field with a specific pattern using matches() method in Jbuilder 4 IDE. But there is no such method available. matches() method is used as

    jTextField1.getText().matches("[A-Z][a-zA-Z]*")

    how can i get this method in Jbuilder4?


  2. #2
    Junior Member JVposter's Avatar
    Join Date
    Feb 2009
    Location
    Romania
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: matches() method is not available in Jbuilder 4 IDE.

    hello!

    try

    jTextField1.getText().toString().matches("[A-Z][a-zA-Z]*")

    Jbuilder it is an ide and it can not be to not include the matches method

    Regards,

  3. #3
    Junior Member
    Join Date
    Mar 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: matches() method is not available in Jbuilder 4 IDE.

    thank you JVposter

Similar Threads

  1. [SOLVED] Java exception "result already defined"
    By rptech in forum Object Oriented Programming
    Replies: 3
    Last Post: May 20th, 2009, 05:48 AM
  2. How to display the contents of my queue?
    By rocafella5007 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: April 30th, 2009, 11:46 AM
  3. problem with Scanner nextLine() method
    By mia_tech in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: March 10th, 2009, 04:14 AM
  4. Replies: 1
    Last Post: December 30th, 2008, 07:30 AM