-
trying to load a JFormattedTextField with a resultSet
Hello, i'm in need of some help here...
I'm trying to use a JFormattedTextField in a couple of ways here.
First to input data into a database. This part works fine. The other is to retrieve the same field when a query is called. I have this working with a regular JTextField, but I need to change it to other for consistancy.
I have it sort of working but it's not working all the way.
The format is ###UUU, an is set to COMMIT because some won't have all three alpha's. And this is where i seem to be having the issue. I can input it fine from the keyboard, but if i call it up from a resultSet, It will only show if it is the full size. anything else won't show. it's not like they are in the wrong format...
Is there anyway i can set it so it will display something that isn't full size?
Thanks for your help
-PD
Similar Threads
-
By ootnitsuj in forum VB Classic
Replies: 7
Last Post: 02-24-2006, 11:56 AM
-
By customwoodtek in forum Java
Replies: 1
Last Post: 08-18-2005, 03:51 AM
-
Replies: 3
Last Post: 04-14-2001, 04:18 AM
-
Replies: 2
Last Post: 06-23-2000, 08:13 PM
-
By Faina in forum VB Classic
Replies: 4
Last Post: 04-25-2000, 09:53 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks