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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 41073
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).

Ping & DNS - my free Android networking tools app
I agree. Here's the link:
subject: Desktop.getDesktop() method in java .
Similar Threads
What is the means Rehashing in java?
@PostConstruct from super-class not working...
Can some one help me to understand answer to this question in the Head-first JSP and servlet book?
Not able to display images
POST method