[
https://issues.apache.org/jira/browse/NETBEANS-5089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17245397#comment-17245397
]
Geertjan Wielenga commented on NETBEANS-5089:
---------------------------------------------
If the problem is specifically with JDK 15.0, please be very specific about
which JDK 15 you're using, i.e., version, vendor, etc, and also try on other
JDKs.
> ActionListener error
> ---------------------
>
> Key: NETBEANS-5089
> URL: https://issues.apache.org/jira/browse/NETBEANS-5089
> Project: NetBeans
> Issue Type: Bug
> Components: java - Project
> Affects Versions: 12.0
> Environment: Windows 10 Pro
> Reporter: Papaioannou T
> Priority: Blocker
> Labels: ActionListener
> Attachments: log.txt
>
>
> During java code on JFrame , using NetBeans 12 and JDK 15.0 , after creating
> a new ActionListener, a sudden exception occurring.
> NetBeans just create a critical error and autocomplete ( at least) is not
> working, Neither code correction with red underline happens.
> I needed to downgrade and remove JDK 15 and go at 14. Only then the error
> stop happening.
> By adding the next code, on using ctrl+space on "new ActionL" the critical
> error (attached on log.txt) happened. When i was removing the ActionListener
> line, everything returned to normal.
> Here is the part of the code that i was creating:
> previousButton.addActionListener(new ActionListener() {
> @Override
> public void actionPerformed(ActionEvent e) {
> previousButtonActionPerformed(e);
> }
> });
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists