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 269973 - How can I add @Override-Annotations in FormDesigner
Summary: How can I add @Override-Annotations in FormDesigner
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-03 12:56 UTC by tauner87
Modified: 2017-03-03 12:56 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
The Source File where you can see, that the @Override-Annotation is missing (91.00 KB, image/png)
2017-03-03 12:56 UTC, tauner87
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tauner87 2017-03-03 12:56:56 UTC
Created attachment 163753 [details]
The Source File where you can see, that the @Override-Annotation is missing

Hi.

I have a question:
When I add a new File which contains a formFile (for Example go to the package:
klick with the mouse right button -> New -> JPanel Form...)
then I work in the file and add for example a button and make a double click on the button.
Then there is automatically generated an inner Class FormListener which implements ActionListener, WindowListener,...

The inner class implements actionPerformed, etc.
But: The Designer doesn't add the @Override-Annotation.

Now my question: Is there any possibility that I can "control" the generation of 
the FormListener (for Example: If I go into the Design-View, click onto a component and go to code i can enter Post-Creation Code,...) or that I can tell Netbeans to automatically add the Annotation, if he creates the FormListener in the Designer?

I've add an attachment, so that you can imagine better, what I mean.