palexdev / MaterialFX

A library of material components for JavaFX
GNU Lesser General Public License v3.0
1.21k stars 122 forks source link

.toList() METHOD NOT FOUND #270

Closed emmanpbarrameda closed 1 year ago

emmanpbarrameda commented 1 year ago

Based on the MaterialsFX Source Code, the "DEMO CONTROLLER" have .toList() method after return. But when I tried it on NetBeans, the .toList() method is not found. I'm using materialfx-11.13.5, JavaFX 11.

I don't know if this a bug, or i make a mistake. Please bear with me and help me. Thank you!

Screenshots: image

image .toList() not found on suggestion

image Code on initializeLoader loader.setOnLoadedAction

palexdev commented 1 year ago

1) I'm guessing your Java version is too old, toList had been added to jdk only recently 2) I suggest you to use IntelliJ Idea instead of that crap, trust me you will love it for Java

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

Closed for inactivity.