Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354006 - Swing: Missing tool tips for "cut-off labels"
Summary: Swing: Missing tool tips for "cut-off labels"
Status: CLOSED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-05 10:27 EDT by Beat Schwarzentrub CLA
Modified: 2017-06-06 05:38 EDT (History)
0 users

See Also:


Attachments
04-CutOffLabels-Swing.png (7.24 KB, image/png)
2011-08-05 10:27 EDT, Beat Schwarzentrub CLA
no flags Details
04-CutOffLabels-Tooltip.png (5.84 KB, image/png)
2011-08-05 10:27 EDT, Beat Schwarzentrub CLA
no flags Details
04-CutOffLabels-Examples.java (1.76 KB, application/octet-stream)
2011-08-05 10:27 EDT, Beat Schwarzentrub CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Beat Schwarzentrub CLA 2011-08-05 10:27:01 EDT
Build Identifier: 3.7.0.2011-Jun 2011

PROBLEM DESCRIPTION:
When a text is too long for a label's width, the text is cut off, three dots are added (...). The full text can be seen in the label's tool tip.

Labels are cut off correctly for buttons, radio buttons and check boxes, but no tool tip with the full text is shown. (See attached example.)

EVALUATION:
Tool tips for cut-off labels are generated by JLabelEx ("setAppropriateTooltipTextEx()"). This functionality is missing for JButton(Ex), JCheckBox(Ex) and JRadioButton(Ex).

PROPOSED SOLUTION:
Improve JButtonEx, JCheckBoxEx and JRadioButtonEx according to the existing code in JLabelEx.

Reproducible: Always
Comment 1 Beat Schwarzentrub CLA 2011-08-05 10:27:15 EDT
Created attachment 200984 [details]
04-CutOffLabels-Swing.png
Comment 2 Beat Schwarzentrub CLA 2011-08-05 10:27:26 EDT
Created attachment 200985 [details]
04-CutOffLabels-Tooltip.png
Comment 3 Beat Schwarzentrub CLA 2011-08-05 10:27:45 EDT
Created attachment 200986 [details]
04-CutOffLabels-Examples.java
Comment 4 Matthias Zimmermann CLA 2017-06-06 05:38:23 EDT
Swing support for Scout is no longer maintained in the open source domain. In case you need a bug to be fixed please consider our commercial options.