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 217509

Summary: Need a way to permanently highlight TopComponent tab
Product: platform Reporter: Stanislav Aubrecht <saubrecht>
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: RESOLVED FIXED    
Severity: normal Keywords: API, API_REVIEW_FAST
Priority: P2    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: proposed API changes

Description Stanislav Aubrecht 2012-08-28 09:11:44 UTC
JDeveloper teams needs a way to permanently highlight TopComponent's tab. There already is TopComponent.requestAttention(boolean) however it makes the tab flash either a couple of times or permanently. The first case is too brief, the second case is too distracting.

I propose adding a new method stopAttention() that would stop the flashing of window and highlight it (using a different background color) permanently until user activates that window.
Comment 1 Stanislav Aubrecht 2012-08-28 11:24:33 UTC
Created attachment 123646 [details]
proposed API changes

I've changed the method to TopComponent.setAttentionHighlight(boolean) and it is independent of requestAttention()/cancelRequestAttention() calls.
Comment 2 Stanislav Aubrecht 2012-08-30 13:03:37 UTC
If there are no comments, I'll integrate the changes tomorrow.
Comment 3 Stanislav Aubrecht 2012-08-31 11:13:48 UTC
core-main 8bbedf3c122d
Comment 4 Quality Engineering 2012-09-02 01:27:35 UTC
Integrated into 'main-golden', will be available in build *201209020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/8bbedf3c122d
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #217509 - Need a way to permanently highlight TopComponent tab