Re: Desktop Shortcut



"Darko Topolsek" <dtopolse@xxxxxxxxxxxxxx> wrote in message
news:do8uon$olb$1@xxxxxxxxxxxxxxxxx
> Hi.
>
> I'm wondering, can I make desktop shortchut
> through Java code.
> Thanks.

Platform dependent. On operating systems with no concept of "shortcuts"
or "desktop", you obviously can't.

On all platforms I know of which do, these things are implemented by the
filesystem, so you'd need to have write-access to the file system (not a
problem for applications, but if you're writing an applet, you may need to
sign it).

What you do then, again depends on the platform. If the "shortcuts" are
implemented via normal files (as on Windows), you need to know the file
format for "shortcuts", and create a file in the appropriate format.

- Oliver


.



Relevant Pages

  • Re: Desktop Shortcut
    ... can I make desktop shortchut ... On operating systems with no concept of "shortcuts" ... again depends on the platform. ... > format for "shortcuts", and create a file in the appropriate format. ...
    (comp.lang.java)
  • Re: Overriding .BIB files - removing shortcuts from CE screen
    ... platform-level .BIB file in a using a project-level .BIB file or ... in my Windows CE 5.0 x86 platform. ... removing shortcuts from CE screen ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Keeping Office 2003 on XP and also installing Office 2007
    ... and that 2007 shortcuts and default app takes over from 2003 ... Office 2003 on the XP platform. ... What do I need to know to install this 2007 successfully so it doesn't ...
    (microsoft.public.windowsxp.hardware)