[
https://issues.apache.org/jira/browse/NETBEANS-5089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17245420#comment-17245420
]
Geertjan Wielenga commented on NETBEANS-5089:
---------------------------------------------
Try from azul.com.
> 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.0.1( from JDK.java.net) and go to 14
> (openjdk-14+36_windows-x64_bin). 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