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.
Summary: | Incorrect FXML error flagged: Constant 'CONSTRAINED_RESIZE_POLICY' is not defined for 'TableView' | ||
---|---|---|---|
Product: | javafx | Reporter: | swpalmer <swpalmer> |
Component: | Editor | Assignee: | Svata Dedic <sdedic> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Image of Error |
Description
swpalmer
2015-11-11 17:32:59 UTC
Created attachment 157668 [details]
Image of Error
The application will still build and run correctly despite this error being shown in the IDE. However, it is annoying to see false red explanation points all over the place. So until a fix can be applied, a safe alternative is to set this property in the java code by using the TableView's columnResizePolicy method: myTableView.setColumnResizePolicy(TableView.CONSTRAINED_RESIZE_POLICY); |