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.
Product Version: NetBeans IDE 6.1 (Build 200804211638) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) fx NB61 cb plugin: 243 1. create clock sample application 2. go to line: repeatCount : Timeline.INDEFINITE 3. position cursor after Timeline. 4. press ctrl+space Get a large list (composite image attached). Timeline does not appear to inherit from anything so I expected to only see the items listed in the api (file:///C:/Program%20Files/NetBeans%206.1/javafx/javafx- sdk1.0/docs/api/javafx.animation/javafx.animation.Timeline.html): autoReverse Boolean INDEFINITE Integer keyFrames KeyFrame[] paused Boolean repeatCount Number running Boolean toggle Boolean pause(): Void resume(): Void start(): Void stop(): Void
Created attachment 62329 [details] timeline cc
The problem is that the code completion does not distinguish between the static and non-static members. Since the static feature of the language is going to change for 1.0 I am leaving this report as opened. For details see http://openjfx.java.sun.com/jira/browse/JFXC-1051
Static was dropped already. The code completion must be checked for what we show for members.
This is returning the correct values. 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)
JavaFX_trunk_NB_Plugin_NB65_cont: #349 2008-10-13_19-07-38.zip Product Version = NetBeans IDE Dev (Build 200809151401) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.5.0_09; Java HotSpot(TM) Client VM 1.5.0_09-b03; Sun Microsystems Inc. The issue is still reproduced: - Create a JavaFX Script file: ------------------------------------------- import javafx.animation.*; Timeline. ------------------------------------------- - Position a cursor after 'Timeline.' - Press <Ctrls+Space> - Choose 'time' from the list ------------------------------------------- import javafx.animation.*; Timeline.time; ------------------------------------------- Build the code: JavaFXApplication\src\javafxapplication\Main.fx:12: non-static method get$time() cannot be referenced from a static context Timeline.time; 1 error
Fixed by changeset: 1513:f74d3f77e0a8
Tested using Promoted SDK/Plugin build #42 Product: javafx-1.0dev, Platform: windows-i586, Build-Number: 749, Build-ID: 2008-10-17_19-02-42 on: Product Version: NetBeans IDE 6.5 RC1 (Build 200810171318) 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)