JDK-8286685 : [Win LAF]The tooltip doesn't display correctly in Win LAF
  • Type: CSR
  • Component: client-libs
  • Sub-Component: javax.swing
  • Priority: P4
  • Status: Draft
  • Resolution: Unresolved
  • Fix Versions: tbd
  • Submitted: 2022-05-13
  • Updated: 2022-05-13
Related Reports
CSR :  
Description
Accelerated string feature which was implemented only in MetalToolTip class has been moved to ToolTipUI class, which is its super-super class. The feature can be used by other Look and Feels as it has been used in BasicToolTipUI class to show the Accelerated String when ToolTip is show. Methods which has been moved are 1. isAcceleratorHidden() 2. getAcceleratorString(JToolTip tip) 3. calcAcceleratorSpacing(JComponent c, FontMetrics fm, String accel)

Member variables that has been moved are 1. private String acceleratorDelimiter; 2. public static final int padSpaceBetweenStrings = 12;