File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Desktop.getDesktop() method in java . Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Desktop.getDesktop() method in java . " Watch "Desktop.getDesktop() method in java . " New topic

Desktop.getDesktop() method in java .

tushar pandey

Joined: Jun 17, 2011
Posts: 2
When i open this method definition in Java , There is a text Returns the Desktop instance of the current browser context , is it means that it deals with browser , IE or CHROME or it means , .mp3 is supported by windows media player .
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
I think that's incorrect phrasing in the javadocs; it should probably read something like "Returns the Desktop instance of the current context." The Desktop class is tied to the AWT context, not to any browser - it is generally used in desktop apps (as opposed to server-based apps, where the functionality it provides isn't useful).
I agree. Here's the link:
subject: Desktop.getDesktop() method in java .
It's not a secret anymore!