2012-09-12 4 views

答えて

7

あなたのプログラムは新しいバージョンでは非推奨となっているJavaの一部を使用しています。 -Xlint:deprecationで再コンパイルすると、どちらのコードが表示され、コード内の新しいAPIに置き換えることができます。

This Oracle thread should give you more information

+1

javacの使い方は?これは初めて聞いたことです。 –

0

あなたのクラスGraphicallyRepresentationは、別のクラスを使用するか、または@deprecatedとして注釈が付けられているメソッドを呼び出します。これは、新しい実装が導入されているか、それ以上関連がないことが原因である可能性があります。廃止予定のapisの使用を避けてください。

Deprecated is one that programmers are discouraged from using, typically because it is dangerous, or because a better alternative exists. Compilers warn when a deprecated program element is used or overridden in non-deprecated code

関連する問題