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 269805

Summary: Cursor on Wizard's 1st panel
Product: platform Reporter: nbuser5831
Component: Dialogs&WizardsAssignee: Stanislav Aubrecht <saubrecht>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: The first panel of the generated wizard
Cursor on create module error message

Description nbuser5831 2017-02-12 21:16:18 UTC
Created attachment 163617 [details]
The first panel of the generated wizard

Following this tutorial:

https://platform.netbeans.org/tutorials/nbm-wizard.html

results in a the first panel of the generated wizard being able to receive focus, either by being clicked on or tabbing from an text field.  The tab order is text fields, the panel itself, then the "Next" button.

I tried creating a completely stripped down wizard, but could not produce an example in which this issue does not occur.  

In my screen shot I made the input panel green to demonstrate that the cursor is on the wizard.

I noticed that if I create a 2 panel wizard and go to the 2nd panel then back to the first, the wizard no longer receives the cursor.
Comment 1 nbuser5831 2017-02-13 14:13:10 UTC
Created attachment 163620 [details]
Cursor on create module error message

The cursor appearing in Wizard issue can be replicated in several of the Netbeans IDE wizards.  In the attached screen shot, the cursor tabs into the error message JLabel.  In the case of errors, this seems reasonable so the user can copy the error message.  If this is the case, perhaps the issue is that the JLabel can receive focus even when there is no message being displayed in it.