Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Purpose of Display.setAppName
Purpose of Display.setAppName [message #447368] Mon, 13 December 2004 21:02 Go to next message
Knut Radloff is currently offline Knut RadloffFriend
Messages: 7
Registered: July 2009
Junior Member
The doc for setAppName is somewhat vague. It seems that it was added to associate SWT apps with X resources. On Carbon it sets the
process name, presumably to appear somewhere in a process list, on Windows and Photon it does nothing. The implementations that I've
seen only work when called prior to creating the display. Calling setAppName has no effect on previously created displays.
Is there a definition of what the "application name" is and when this API should be used?

Knut
Re: Purpose of Display.setAppName [message #447648 is a reply to message #447368] Wed, 15 December 2004 22:00 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
There's one in the book, "SWT: The Standard Widget Toolkit - Part 1". It
works as you describe. The spec is vague on purpose.

"Knut Radloff" <knut_radloff@us.ibm.com> wrote in message
news:cpl017$l4j$1@www.eclipse.org...
> The doc for setAppName is somewhat vague. It seems that it was added to
associate SWT apps with X resources. On Carbon it sets the
> process name, presumably to appear somewhere in a process list, on Windows
and Photon it does nothing. The implementations that I've
> seen only work when called prior to creating the display. Calling
setAppName has no effect on previously created displays.
> Is there a definition of what the "application name" is and when this API
should be used?
>
> Knut
>
>
Previous Topic:UnsatisfiedLinkError
Next Topic:forcing repaint on a control
Goto Forum:
  


Current Time: Tue Oct 20 01:38:37 GMT 2020

Powered by FUDForum. Page generated in 0.02076 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top