dgront
|
Posted: February 03, 2009 08:19 by dgront
|
|
Hi, I have just started my project. I created two files: foo.fx and simple.fx (see below). The project compiles smoothly, although eclipse reports two errors from simple.fx: "cannot find symbol: class foo" (the same one twice) The errors appear only in "problems" view as well as on left side of a window. When I click "Run" button, eclipse compiles the project and runs it. Is there any way to cleare the errors? I am using eclipse "ganymede" and javafx feature 1.0.1 on Mac OS X Tiger //------------------ foo.fx------------------ package gui; import javafx.scene.CustomNode; import javafx.scene.Node; import javafx.scene.shape.Rectangle; public class foo extends CustomNode { override function create() : Node { return Rectangle {} } } //------------- simple.fx -------------------- package gui; import gui.foo; javafx.stage.Stage { title: "Okienko" scene: javafx.scene.Scene { width: 200 height: 200 content: [foo{}] } } |
Problems with a project consisting of multiple files
Replies: 0 - Last Post: February 03, 2009 08:19
by: dgront
by: dgront
showing 1 - 1 of 1
Replies: 0 - Last Post: February 03, 2009 08:19
by: dgront
by: dgront






