Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はJMFを使用していますが、再生している映画の長さをHH:mm:ssまたは長い形式で取得する方法があるのでしょうか。
プレーヤーは、メソッドを宣言する期間を拡張するコントローラーを拡張します
Time getDuration():
Time getDuration()
javadocからの引用は次のとおりです。このオブジェクトによって表されるメディアの期間を取得します。
すぐにプレーヤーを作成してから、getDuration()
getDuration()