Best to put all this into a new issue so that it can be tracked, the info
you have here is perfect for an issue.

Gj

On Wed, 26 Feb 2020 at 13:36, Hans Grimmelshausen HG <far...@mail.de> wrote:

> Am 26.02.20 um 12:09 schrieb Hans Grimmelshausen HG:
> > 5) Create a new Swing GUI form class, add to it with Netbeans' GUI
> designer
> > a visual component which can have an action event, like a JCheckBox,
> then
> > register an action event, i.e. double click on the JCheckBox component,
> so
> > that NB creates an actionPerformed event method in the source code.
>
> Or simply use offending source code lines manually, like in the following
> mini Java class. With NB's enabled "Overrides" hint and un-installed
> nb-javac
> plug-in, in order to make NB bring a null-pointer exception during editing:
>
> import java.awt.event.ActionEvent;
> import java.awt.event.ActionListener;
> import javax.swing.JCheckBox;
> public class Test {
>     public static void main(String[] parameter)  {
>        JCheckBox jCheckbox = new JCheckBox();
>        jCheckbox.addActionListener(new ActionListener()  {
>           public void actionPerformed(ActionEvent evt) {
>           }
>        });
>     }
> }
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>

Reply via email to