NetBeans Options Panel validation
"kmortelite" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
Randall Wood wrote: > > Can validation be broken up into multiple things that can independently validated rapidly? > Can validation be triggered only by certain changes in the panel (like editing a text box) that can wait until focus has been lost or a change has not occurred in the past 0.5 seconds? > Hi Randall. Thanks for the reply. Validation can't really be broken up, unfortunately. It's a (potentially) long operation. I've made it so it delays a second prior to calling changed(), and that works great, but I'm seeing the NetBeans framework get stuck in a validation loop, where it keeps calling valid(). Also, for some bizarre, yet-to-be-determined reason, when I have this time delay, the Apply button will gray out appropriately, but the OK button will not. More investigation is needed. I'll let you know what I find out. Sincerely, Karl