Solved

Ip TextFields

Posted on 2001-07-27
3
207 Views
Last Modified: 2012-05-04
I am looking for a widget or class to validate text in a TextField for IP Address input?

The following format is acceptable:

255.255.255.255

Of course the values entered can be less than 255, not greater.

Thanks
0
Comment
Question by:Vernstump
3 Comments
 
LVL 4

Accepted Solution

by:
sdussinger earned 50 total points
ID: 6328058
Sitraka Software's JClass has masked edit fields. I believe that they could be used to do what you want.

Check out http://www.sitraka.com/jclass5/jp

On the other hand, it wouldn't be all that hard to implement the validation of an IP field using something like the GNU regex classes.

It depends on whether you just want to validate the input after the user has finished typing it, or you want to format it in a keystroke-by-keystroke fashion (to add the dots for example).

--Steve
0
 

Expert Comment

by:CleanupPing
ID: 9061936
Vernstump:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 14

Expert Comment

by:sudhakar_koundinya
ID: 9208329
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:


[points to sdussinger]


Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
sudhakar_koundinya
EE Cleanup Volunteer
---------------------
If you feel that your question was not properly addressed, or that none of the comments received were appropriate answers, please post your concern in THIS thread.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Non-recursive backtracking, using a stack 1 103
backtracking recursion  code 19 54
Where to store the queries for modification of table 4 55
servlet example 17 5
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now