File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Custom JTextField Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Custom JTextField Problem" Watch "Custom JTextField Problem" New topic
Author

Custom JTextField Problem

Carlos Conti
Ranch Hand

Joined: Apr 21, 2010
Posts: 113
Hi there,

I am trying to enhance some features some built-in components and customize some functionality to ease my life for database applications. I am aiming to use the JavaBeans standard, however I am facing this problem (NetBeans6.8), the component doesn't render.
It is very weird too, that the propertyChangeListener calls are triggered before the empty constructor, however I think that maybe something I will understand as I get more familiar with the beans concept (but if you find the 'null' verifications when accessing the propertyChangeSupport member strange or not adequate, at least you know why ). What I try to start with, is a JTextField with some text transform and restriction functionality. The full code is as follows:



Any help is very appreciated.

Thanks in advance,

Carlos.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Custom JTextField Problem
 
Similar Threads
Beans binding with local variable
bound properties
bound property
core java
A javaBean bond property practice in JSP