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 - "&template_start&" is inserted from palette if package is not defined
Summary: "&template_start&" is inserted from palette if package is not defined
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Michal Skvor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-06 07:58 UTC by Masaki Katakai
Modified: 2009-10-08 09:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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