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 269379 - "Introduce Variable" doesn't un-grey "OK" button once an error is corrected.
Summary: "Introduce Variable" doesn't un-grey "OK" button once an error is corrected.
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: UI (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-17 00:06 UTC by chunkyks
Modified: 2016-12-17 00:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chunkyks 2016-12-17 00:06:03 UTC
For example, take this piece of code:

   for(String line : Files.readAllLines(inputFile.toPath(),
           Charset.defaultCharset())) {
   }

Select "Charset.defaultCharset()", and hit alt-shift-V ["Introduce Variable"].

Delete the default name, and enter the new name "charSet". Notice that as you enter it, once you hit "char", the OK button is greyed out, and a warning pops up that this isn't a valid name. As you keep typing, the warning goes away, but the "OK" button is never un-greyed.