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 56781 - Allow to set mnemonics for TreeTableView column names
Summary: Allow to set mnemonics for TreeTableView column names
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Stanislav Aubrecht
Depends on:
Blocks: 55074
  Show dependency tree
Reported: 2005-03-22 09:36 UTC by Stanislav Aubrecht
Modified: 2008-12-22 18:48 UTC (History)
1 user (show)

See Also:
Exception Reporter:

Diff patch (4.73 KB, patch)
2005-03-22 09:37 UTC, Stanislav Aubrecht
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stanislav Aubrecht 2005-03-22 09:36:17 UTC
The current implementation of TreeTableView class does not provide methods for
setting of the mnemonic character for column display names. This leads to
accessibility issues in e.g. 'Change Visible Columns' dialog window.

I suggest to add a new property "ColumnMnemonicCharTTV" to the column model that
would hold the mnemonic character. See the attached diff for more details.
Comment 1 Stanislav Aubrecht 2005-03-22 09:37:56 UTC
Created attachment 21021 [details]
Diff patch
Comment 2 Jaroslav Tulach 2005-03-24 11:41:15 UTC
I am ok with the change, just in order to somehow prevent future regression I
would advice to write a test that will verify that the mnemonic is really set on
JCheckBox b = new JCheckBox( boxtext, oldvalues[i] ).
Comment 3 Stanislav Aubrecht 2005-03-29 13:41:25 UTC
i'm going to integrate tomorrow
Comment 4 Stanislav Aubrecht 2005-03-30 11:59:36 UTC

Checking in api/doc/changes/apichanges.xml;
/cvs/openide/api/doc/changes/apichanges.xml,v  <--  apichanges.xml
new revision: 1.240; previous revision: 1.239
Checking in src/org/openide/explorer/view/;
/cvs/openide/src/org/openide/explorer/view/,v  <--
new revision: 1.25; previous revision: 1.24
Checking in src/org/openide/explorer/view/;
/cvs/openide/src/org/openide/explorer/view/,v  <--
new revision: 1.73; previous revision: 1.72
Checking in test/unit/src/org/openide/explorer/view/;
new revision: 1.3; previous revision: 1.2