Solved

Ip TextFields

Posted on 2001-07-27
3
214 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
jdbc error in jsp application 20 71
How to convert from xls to xlsx using java 7 84
Notify sent to other threads in Java 9 41
What browser will run Java? 7 122
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
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…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

685 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