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 169955

Summary: "&template_start&" is inserted from palette if package is not defined
Product: javafx Reporter: Masaki Katakai <masaki>
Component: UnsupportedAssignee: Michal Skvor <misk>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Masaki Katakai 2009-08-06 07:58:34 UTC
If package is not defined, dropping a Stage from palette inserts "&template_start&".

1. Start NetBeans
2. Create a JavaFX project
3. Open Main.fx on editor
4. Delete contents
5. Drop Stage from palette

It generated the following codes. "&template_start&" is inserted.

import javafx.stage.Stage;
import javafx.scene.Scene;
&template_start&Stage {
	title : "MyApp"
	scene: Scene {
		width: 200
		height: 200
		content: [  ]
	}
}
&template_end&
Comment 1 Michal Skvor 2009-10-07 16:27:06 UTC
Already fixed.
Comment 2 Alexandr Scherbatiy 2009-10-08 09:52:56 UTC
verified in netbeans-trunk-nightly-200910071536-javafx-full.zip