Free downloads for javax.swing.JTextField

Customize a JTextField to accept only the characters you specify

This JTextField allows for special filtering of what text can be entered.

  • It is specifically used for preventing the user from entering invalid characters.
  • Spaces may be allowed or disallowed.
  • Valid characters may be specified, alphanumeric is the default.
  • By default, spaces, symbols, etc are not allowed.
  • By default, periods are allowed.

This class was based upon Real Gagnon's work, found at http://codeguru.earthweb.com/java/

JTextFieldFilter.java  Submitted by Michael Pell
 

A subclass of PlainDocument which is used to restrict user input to whole numbers.

 

WholeNumberField.java

Customize your JTextField to enforce a DOS 8.3 file name format  You can also put this into a JTable

 This JTextField allows for special filtering of what text can be entered.  It is specifically used for allowing the user to enter a file name using the  DOS 8.3 format.  Spaces may be allowed or disallowed.  Valid characters may be specified, alphanumeric is the default. A max file name length and max extension length may be specified.  By default only allows 1 "." in the file name.

This class was based upon Real Gagnon's work, found at http://codeguru.earthweb.com/java/

JTextFieldFileName.java  Submitted by Michael Pell

JTextFieldFileNameFilter.java  Submitted by Michael Pell

 

At a glance...

JTextField
JTable
TableModel
TableCellRenderer
SortingJTableRows
JComboBox
CustomComboBoxModel
SwingWorkerThread
Send Email
Write To File
LDAP
Sort Your Objects
JTreeModel
DOSFileName

Please contact our Webmaster with questions or comments.
© Copyright 1998 Solutions Plus, Inc.  All rights reserved.

Home
About Us
Services
Contact Us
Hire Us!
Employment
Brochure
Site Index

Solutions Plus, Inc.

Internet Explorer 4.0 or higher

This page is best viewed with IE 4.0 or higher

Cast your vote!