Amit Kumar
Amit Kumar

Reputation: 55

What is replacement for javafx.lang package of javafx 1.3 in javafx 2.1?

I am converting my project from javafx 1.3 to javafx 2.1. But I have problem with javafx.lang package.

Upvotes: 2

Views: 138

Answers (1)

Sergey Grinev
Sergey Grinev

Reputation: 34508

JavaFX 1.3 lang package content was split and moved to next places:

  • Duration become javafx.util.Duration
  • javafx.lang.FX methods are available from:
    • javafx.application.Platform
    • javafx.application.Application
    • and standard Java SE classes
  • Buildins don't exist anymore. It's functionality can be substituted by Java SE.

Upvotes: 4

Related Questions