1213141516171819
@Inject private Injector injector; @Override public void actionPerformed(ActionEvent actionEvent) { OptionsDialog dialog = injector.getInstance(OptionsDialog.class); dialog.showDialog(); }