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.
<class package="org.netbeans.api.visual.vmd" name="VMDColorScheme" link="yes"/>
<issue number="105929"/>
</change>
<change>
<api name="general"/>
<summary>CycleFocusAction is using Shift+Tab keystroke for focus-to-previous action</summary>
<version major="2" minor="6"/>
<date day="20" month="7" year="2007"/>
<author login="dkaspar"/>
<compatibility semantic="incompatible" modification="yes"/>
<description>
CycleFocusAction (created using ActionFactory.createCycleFocusAction method) is using Shift+Tab keystroke for focus-to-previous action.
Previously it was Ctrl+Tab keystroke.
</description>
<class package="org.netbeans.api.visual.action" name="ActionFactory" link="yes"/>
<issue number="110389"/>
</changes>
<htmlcontents>
Manifest-Version: 1.0
OpenIDE-Module: org.netbeans.api.visual
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/visual/resources/Bundle.properties
OpenIDE-Module-Specification-Version: 2.5
OpenIDE-Module-Specification-Version: 2.6
public State keyTyped (Widget widget, WidgetKeyEvent event) {
boolean state = false;
if (event.getKeyChar () == KeyEvent.VK_TAB) {
if ((event.getModifiersEx () & KeyEvent.CTRL_DOWN_MASK) != 0)
if ((event.getModifiers () & KeyEvent.SHIFT_MASK) == KeyEvent.SHIFT_MASK)
state = provider.switchPreviousFocus (widget);
else
state = provider.switchNextFocus (widget);