albfan / jmeld

A visual diff and merge tool
44 stars 31 forks source link

javafx dependency - KeyCode cannot be resolved, import javafx cannot be resolved #51

Closed WolfgangFahl closed 6 years ago

WolfgangFahl commented 6 years ago

currently the javafx dependency seems to be caused by a single line:

frameOperator.pushKey(KeyCode.F4.ordinal(), KeyCode.ALT.ordinal());

please note that javafx is not available in all Java environments e.g. on a raspberry PI it is pretty hard to get it installed correctly.

I'd appreciate a JavaFX version of JMeld but I assume that it would be worthwhile to start a new fork with a different title for this and that it would be quite some work.

WolfgangFahl commented 6 years ago

https://www.programcreek.com/java-api-examples/?class=org.netbeans.jemmy.operators.JTextComponentOperator&method=pushKey shows how KeyEvent codes may be used with Jemmy

albfan commented 6 years ago

Thanks to look into this:

http://www.oracle.com/technetwork/java/embedded/resources/se-embeddocs/java-embedded-se-documentation-359240.html

So javafx could be a problem for java SE embedded in armv6

This is important for #18