문제

Is there any tool to convert existing JavaFX 1.x applications to JavaFX 2.x Java code?

도움이 되었습니까?

해결책

No such tool currently exists publicly and it is unlikely that one will be created.

Oracle did create a prototype tool which was used in internal Oracle development, but they decided not to continue development on it.

Quotes from the JavaFX project lead Richard Bair (from the forum threads linked below):

Richard: I'm sorry to say we have no tool to help with the migration. Our experience from migrating the JavaFX Library and samples is that there wasn't really an easy solution -- even the migration assistant that was written was very incomplete. Some folks found it very useful, but I just did it by hand.

PDVieira: Any chance you could send me the FxTranslator helper you've created?

Richard: Wish I could, but unfortunately we cannot send it along (actually, I don't even have the code on hand, didn't write it (Eamonn did) and it would need to get legal approve to open source it, and it probably doesn't even compile or work anymore because the platform has change significantly since last December).

You can refer to these forum threads which discuss this further:

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top