JDK-5067892 : code redundancy in com/sun/java/swing/SwingUtilities2.java
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux_redhat_9.0
  • CPU: x86
  • Submitted: 2004-06-24
  • Updated: 2006-06-13
  • Resolved: 2006-06-13
Related Reports
Duplicate :  
Description
479                 FontRenderContext frc = (FontRenderContext)AppContext.
480                     getAppContext().get(FRC_KEY);

This FRC was stored in BasicTextUI.paint method
--
FontRenderContext frc = SwingUtilities2.getFontRenderContext(c);
AppContext.getAppContext().put(SwingUtilities2.FRC_KEY,frc);
--

After the change for 5030990 all drawing methods have component they drawing for as an
argument. AppContext stashing shoud be removed
this bug was fixed as part of 6232607 Clipping off JLabel-text in printer output using html. Closing as duplicate.

Comments
EVALUATION Contribution forum : https://jdk-collaboration.dev.java.net/servlets/ProjectForumMessageView?forumID=1463&messageID=13412
08-06-2006

EVALUATION will work on this bug for the next release ###@###.### 2004-06-24
24-06-2004