No ToolTipText on Windows 7 [message #693811] |
Thu, 07 July 2011 08:46 |
Eclipse User |
|
|
|
Originally posted by: Thomas Barth
Hi,
is it possible to get ToolTipText on a Windows 7 system? New users
(women only) of my application misunderstand certain buttons!
This is how I set the ToolTiptext
ToolItem toolItemBreak = new ToolItem (toolBar, SWT.NONE);
toolItemBreak.setToolTipText(ResLoader.getProperty("tool.Break.text"));
toolItemBreak.setImage(imgBreak);
I works on Windows XP and Linux.
Thomas B
|
|
|
|
Re: No ToolTipText on Windows 7 [message #693981 is a reply to message #693952] |
Thu, 07 July 2011 15:11 |
Eclipse User |
|
|
|
Originally posted by: Thomas Barth
Hi Grant,
ResLoader.getProperty("tool.Break.text") returns a default string, if
the passed ressource doesnt exist (e.g. "E: tool.Break.text is
missing"). I ve also hardcoded the value but I still don't get a tooltip
on windows 7. I ve checked it on several win7 32/64 bit systems. I got
the info from the windows 7 users too. I didnt change anything on the
windows 7 systems.
Maybe my java compiler settings are wrong / outdated? All users have
Java 1.6.0_xx-bxx installed. But I still use the compiler compliance
level 1.5
and the JNLP file contains the element
<resources>
<j2se version="1.5+" />
<jar href="/my_application.jar" />
</resources>
Could this be reason ?
Thomas B
Am 07.07.2011 16:20, schrieb Grant Gayed:
> ToolItem tooltips work for me on Windows 7 (tried 32- and 64-bit just to
> be sure). Can you try hardcoding the value in the setToolTipText()
> invocation, to ensure that ResLoader.getProperty("tool.Break.text")
> isn't just returning an empty string? If this doesn't help, are there
> any changes on your machine that might affect how a tab folder would
> display/behave (choosing a non-default theme, etc.)?
>
> Grant
>
>
> On 7/7/2011 4:46 AM, Thomas Barth wrote:
>> Hi,
>> is it possible to get ToolTipText on a Windows 7 system? New users
>> (women only) of my application misunderstand certain buttons!
>>
>> This is how I set the ToolTiptext
>>
>> ToolItem toolItemBreak = new ToolItem (toolBar, SWT.NONE);
>> toolItemBreak.setToolTipText(ResLoader.getProperty("tool.Break.text"));
>> toolItemBreak.setImage(imgBreak);
>>
>> I works on Windows XP and Linux.
>>
>> Thomas B
>>
>>
>>
>>
>
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03744 seconds