This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 247646 - OutlineView - DatePicker close editation before the value is set to DatePicker
Summary: OutlineView - DatePicker close editation before the value is set to DatePicker
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Outline&TreeTable (show other bugs)
Version: 8.0.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-02 14:05 UTC by benzin
Modified: 2014-10-02 14:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description benzin 2014-10-02 14:05:48 UTC
I use OutlineView as table, and in one column I have date value. So I create the DatePropertyEditor same as in tutorial: https://platform.netbeans.org/tutorials/nbm-property-editors.html#registering

The date picker is open, when I click on the field, bud the editation (from point of view of OutlineView) end after first click outside the OutlineView. So when i click for choose day, the editing mode is closed, and after that is value in JXDataPicker changed. So when is call getValue() method, still the old value is there and after the clera() method is called, then is value in data picker set.

The only way how the date picker is running, is when the data picker is open outside the application window (open at at the bottom of window, and the date picker is over the bottom of window).

It's look like, the editing of field is finished exatly when another component get the focus (the data picker). So there is imposible to use Inplace property editor, which open theier own subview.

Btw. I try to use JXDatePicker and JDateChooser with same result.

Reproducing this bug, is easy to reproduce. Only create OutlineView and the DatePropertyEditor from the tutorial and node which have Date property.

P.S. I test it with libraries RELEASE80 and RELEASE80-BETA (from maven repository)