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 - Show color in tooltip when java.awt.Color is defined in the source view
Summary: Show color in tooltip when java.awt.Color is defined in the source view
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-14 19:10 UTC by Shivanand Kini
Modified: 2010-01-29 11:01 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.