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.5 RC1 (Build 200810171318) Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119 System: Mac OS X version 10.5.4 running on i386; MacRoman; en_US (nb) Promoted Installer build 10 with SDK 43 1. open empty .fx fle 2. type Rectangle{} and fix imports The import is added 3. replace Rectangle{} with Stage{} and fix imports You have Rectangle and Stage imports 4. replace Stage{} with Timeline{} You only have Timeline imports It goes back and forth every other time.
Sorry, but I really don't understand this bug. If I follow steps this way: 1: empty .fx file 2: file contains: Rectangle{} 3: fix imports. file contains: import javafx.scene.shape.Rectangle; Rectangle{} 4: file contains: import javafx.scene.shape.Rectangle; Stage{} 5: fix imports: file contains: import javafx.stage.Stage; Stage{} 6: file contains: import javafx.stage.Stage; Timeline{} 7: fix imports. File contains: import javafx.animation.Timeline; Timeline{} From this point of view fix imports works correctly. Which version of NetBeans do you have? Are you really still working with 2008/10/17? Or this is not a case which we are talking about?
You are right. I anchored NB6.5 RC1 to my mac bar. When I installed the latest bits, it installed as NB6.5 RC2, so my testing was done with the older version :-(