Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » buttons on windows platform
buttons on windows platform [message #455150] Fri, 06 May 2005 23:23 Go to next message
Eclipse UserFriend
Originally posted by: jasontesser.gmail.com

Is there a way with SWT on windows to get the buttons to have the xp look?
Not being a windows gui programmer I am actually wondering why the
buttons still have the old square blocky look. If I open Word 2003 the
buttons are a lite blure and kind of round. That is what I am looking
for. I have noticed that when I terminal service into my windows xp box
it get the old look with the blocky looking buttons but if I am logged
into the box it get the xp nice modern round look. :-) Why? And again
how do I make SWT behave this way?
Re: buttons on windows platform [message #455155 is a reply to message #455150] Sat, 07 May 2005 16:28 Go to previous message
Eclipse UserFriend
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="serif">You have to place the javaw.exe.manifest file in the
same directory as the javaw.exe (i.e. the 'bin' directory) <i>that is
being used to execute your app.</i>  This is very important.  It <i>has</i>
to be the JRE that Eclipse (or whatever app) is using.  I've found the
best way of ensuring this is to just place the manifest in every JRE
installed on the system.  You'll find the javaw.exe.manifest file in
the org.eclipse.swt.win32_3.1.0\os\win32 (on Eclipse 3.1 pre M6) 
directory and in the org.eclipse.swt.win32_3.1.0.jar file in
subdirectory os\win32 (on Eclipse 3.1 M6).<br>
<br>
Quick side note, if you are using a native exe generator with an
embedded JRE (such as Install4J), you will have to rename the manifest
file accordingly.  For instance, if your app is titled 'Panacea.exe',
you will have to rename the manifest 'Panacea.exe.manifest' and place
it in the same directory as the executable.<br>
<br>
Daniel<br>
</font><br>
Jason Tesser wrote:
<blockquote cite="mid33e7eccf1a446b96cb2a80166e4239f9$1@www.eclipse.org"
type="cite">Is there a way with SWT on windows to get the buttons to
have the xp look? Not being a windows gui programmer I am actually
wondering why the buttons still have the old square blocky look.  If I
open Word 2003 the buttons are a lite blure and  kind of round.  That
is what I am looking for.  I have noticed that when I terminal service
into my windows xp box it get the old look with the blocky looking
buttons but if I am logged into the box it get the xp nice modern round
look. :-)  Why?  And again how do I make SWT behave this way?  <br>
</blockquote>
</body>
</html>
Previous Topic:StyledText End key no keyDown event
Next Topic:refreshing images in a treeviewer
Goto Forum:
  


Current Time: Fri Nov 07 14:38:07 EST 2025

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

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

Back to the top