Properties Menu in JavaFX implementation

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
nmilas
Posts: 1
Joined: Wed Aug 16, 2017 7:51 am
antibot: No, of course not.

Properties Menu in JavaFX implementation

Post by nmilas » Wed Aug 16, 2017 7:54 am

Hi!

I'm developing an application in JavaFX and I managed to get it going however I woudl like to know if it is possible to get the Properties Menu going. I have the context menu of the ChartViewer but there is just the export part and I wanted to be able to have the Properties (like in the Swing version).

Thanks!

krheinwald
Posts: 15
Joined: Thu Mar 27, 2003 10:06 am

Re: Properties Menu in JavaFX implementation

Post by krheinwald » Wed Sep 13, 2017 2:16 pm

Any update/solution to this? I am running into the same issue while tyring to migrate my application from Swing to JavaFX.

sonali
Posts: 14
Joined: Sat Sep 02, 2017 5:58 am
antibot: No, of course not.
Location: india

Re: Properties Menu in JavaFX implementation

Post by sonali » Wed Sep 20, 2017 7:33 am

I am also using jfreechart library with javafx application , but i had modified properties menu using swings two package like javax.swing.JMenuItem and javax.swing.JPopupMenu .
ex: modification of it

Code: Select all

 popup = mainChartPanel.getPopupMenu(); 
popup.remove(0);
popup.remove(1);
JMenuItem addstudy = new JMenuItem("Add Study");
popup.add(addstudy);
i also want to convert it in javafx.

Locked