This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 139932

Summary: Show color in tooltip when java.awt.Color is defined in the source view
Product: java Reporter: Shivanand Kini <skini>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Shivanand Kini 2008-07-14 19:10:01 UTC
When working with java.awt.Color, we see all this non human readable definitions of Colors.
For e.g.:
    public static final Color COLOR60_SELECT = new Color (0xFF8500);
    public static final Color COLOR60_HOVER = new Color (0x5B67B0);
    public static final Color COLOR60_HOVER_BACKGROUND = new Color (0xB0C3E1);
//    private static final Color COLOR0 = new Color (169, 197, 235);

    static final Color COLOR1 = new Color (221, 235, 246);

It would be a great feature to show the color in the tooltip when the color definition is hovered over, or
alternatively, just draw the color next to the definition (or change the variable definition syntax to that color??). I
am sure all the swing/graph library users will appreciate this.