isslam akkilah
isslam akkilah

Reputation: 418

why this happen when i declare a WindowsCanvas Class

i am trying to declare a WindowsCanvas but when i declare a WindowsCanvas there is a line that show up in the middle is that ok

picture of the java code

Upvotes: 0

Views: 74

Answers (2)

Suresh Atta
Suresh Atta

Reputation: 122018

That Class have been deprecated and still you can use it.

Interesting thing is there is already a better Class given by your API, So this class has been deprecated. Search in that direction rather than adjusting with this.

Upvotes: 0

christopher
christopher

Reputation: 27356

This effect on most IDEs means that the code you're attempting to use has been deprecated. This means that it has been deemed obsolete in a later release, and should no longer be used.

You can still use it, but it is recommended that you move onto the newer class, or the newer method of implementing the same functionality. In this case, the answer can be found in this discussion.

Upvotes: 1

Related Questions