• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to pass Argument to a javaFx application ?

 
Muztaba Hasanat
Ranch Hand
Posts: 48
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to pass data from outside from the Visualize class that extended from javafx Application class. Here is My code.
Main class from where Visualize class called.

Main Class


This is the Visualize class what responsible for showing the chart.
Visualize class.



When I ran the program this exception has been thrown.



I have tried to create a List inside the Visualize class then run the class. Same exception has been thrown.



May goal is to make reusable class so that I can pass argument and based on that Visualize class show the chart. So how can I pass the data from another class into the Visualize class
so that this class can show the chart based on the whatever data passed into this class ?
Thank you
 
Darryl Burke
Bartender
Posts: 5149
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since this is a JavaFX question, I've added it to the appropriate section of the forums.
 
Muztaba Hasanat
Ranch Hand
Posts: 48
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Darryl Burke wrote:Since this is a JavaFX question, I've added it to the appropriate section of the forums.

Sorry. Posting to the correct section. Admin can delete this thread.
 
Muztaba Hasanat
Ranch Hand
Posts: 48
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Muztaba Hasanat wrote:
Darryl Burke wrote:Since this is a JavaFX question, I've added it to the appropriate section of the forums.

Sorry. Posting to the correct section. Admin can delete this thread.

May be this thread relocated to the actual section. In that section there is also this thread too.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic