File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Custom JTextField Problem" Watch "Custom JTextField Problem" New topic

Custom JTextField Problem

Carlos Conti
Ranch Hand

Joined: Apr 21, 2010
Posts: 131
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,

I agree. Here's the link:
subject: Custom JTextField Problem
jQuery in Action, 3rd edition