Вопрос

I have created a web applet in Java which uses the FileDialog. The file dialog works fine on Windows, I am wondering if it is cross platform. Does it work on Mac and Linux? Or do you need to specify custom parameters? If so, how?

Это было полезно?

Решение

Yes, FileDialog is part of java.awt.* package which is available on standard Java SE runtime. Mac OSX typically ships with Java SE runtime so you shouldn't have any problem with FileDialog (look and feel might be different)

Другие советы

from awt

AWT should work on as many platforms as possible.

Because the Java programming language is platform-independent, the AWT must also be platform-independent. The AWT was designed to provide a common set of tools for graphical user interface design that work on a variety of platforms.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top