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 267944 - JavaFX - inserting getters / setters for Properties not working
Summary: JavaFX - inserting getters / setters for Properties not working
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-08 17:37 UTC by helmwag
Modified: 2016-09-08 17:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (159.79 KB, text/plain)
2016-09-08 17:37 UTC, helmwag
Details

Note You need to log in before you can comment on or make changes to this bug.
Description helmwag 2016-09-08 17:37:15 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_74
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.74-b02

Reproducibility: Happens every time

STEPS:
  * Open dialog Source > Insert Code > Getter > select some / all
  * Click on button "Generate"

ACTUAL:
  nothing happens

EXPECTED:
 Getters are generated

If Getters / Setters of Property values are already present (e.g 
 private SimpleStringProperty categoryCol = new SimpleStringProperty();
 public final String getCategoryCol() {
       return categoryCol.get();
    }

then, when i try to create Getters for Properties : 
public SimpleStringProperty getCategoryCol() {
        return categoryCol;
    }

nothing happens. If i comment out all already existing value Getters , then the Getters for Properties are generate
Comment 1 helmwag 2016-09-08 17:37:21 UTC
Created attachment 161975 [details]
IDE log