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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Passing Data to Controller A to Controller B In JavaFx

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
So I Want to pass the  method exportaexcel() to the ConexionController , this method is contain in the ExportaExcel Controller, So I am trying something like this:




In The ConexionController Class



In the Main Class I have the FXML Document which loads the Vista.fxml which contains all the data in the ConexionController Class

public class Main extends Application  {






this is the code of the FXML document Vista.fxml





I need to pass  llamadolibroexcel(); to the button EXPORTAR A EXCEL in this document. please i need some direction here. any help could be helpful. regards.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
While I don't know anything about Java FX, I do know how to close an accidental duplicate post. See the other postfor any replies.
 
She still doesn't approve of my superhero lifestyle. Or this shameless plug:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
    Bookmark Topic Watch Topic
  • New Topic