• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Frits Walraven
  • Himai Minh

JavaFx Mouse click event on fontawesome icon not working

philip nikoi
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a javafx application with a fontawesome icon inside. when i run the application i get this error. Error resolving onMouseClicked='#closeButtonAction', either the event handler is not in the Namespace or there is an error in the script.

My controller =>

My FXML file =>

the intellisense reads Handler method is not accessible,make public or annotate with @FXML when i hover on #closeButtonAction
[Thumbnail for icon4.PNG]
[Thumbnail for icon3.PNG]
[Thumbnail for icon2.PNG]
Mo-om! You're embarassing me! Can you just read a tiny ad like a normal person?
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic