Auto-complete does not refresh after hvaing tried to "auto-complete" when required classes have not been included using the import keyword. For example, say you have entered the code below in a class editor, but have forgotten to include the javax.swing package in your import statements for the class.
If you hit Ctrl+Space, Bluej beeps and reports that no completions are available. This is fair enough so we amend the class by adding
and then go back to the offending code. However, hitting Ctrl+Space again does not work. Even deleting the line of code and trying again from scratch fails. Also, closing and reopening the editor window does not work
- the only way to get the auto-complete options to display is to restart Bluej.
My guess is that auto-complete caches the classes that need to be included but for some reason in the above situation it fails to refresh its cache.