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 122144 - [Code Completion] Code Completion dos not work for javafx.* import at first time
Summary: [Code Completion] Code Completion dos not work for javafx.* import at firs...
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: All All
: P3 blocker (vote)
Assignee: Alexei Mokeev
Depends on:
Reported: 2007-11-16 13:19 UTC by Alexandr Scherbatiy
Modified: 2016-12-13 16:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

Screenshot (5.26 KB, image/png)
2016-12-13 16:40 UTC, arataj

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2007-11-16 13:19:42 UTC
Steps to reproduce:

- Create a JavaFX application
- Create a JavaFX file
- Type
import javaf
- Press <Ctr+Space>
 'No suggestions' popup menu appears.
  The 'javafx.*' library was not suggested
Comment 1 Lark Fitzgerald 2008-10-13 20:25:12 UTC
No longer reproducible.
Tested using FX Cont trunk build 349 with SDK:
Product: javafx-1.0dev, Platform: windows-i586, Build-Number: 708, Build-ID: 2008-10-13_03-09-52 on NB6.5: 
Product Version: NetBeans IDE Dev (Build 200810060201)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Comment 2 Alexandr Scherbatiy 2008-10-14 10:23:53 UTC
verified in 
Comment 3 arataj 2016-12-13 16:37:40 UTC
Reproducible again in 8.1.
Comment 4 arataj 2016-12-13 16:40:41 UTC
Created attachment 163225 [details]

A newly created JavaFX app. "Add import for" in the case of JavaFX classes does not work as well. Manually adding the missing imports works.
Comment 5 arataj 2016-12-13 16:46:32 UTC
Yet if a JavaFX class is already imported, its javadoc browsing with Ctrl + Space works without problems.