| Author |
menubar
|
Anders Andersen
Greenhorn
Joined: Dec 26, 2010
Posts: 1
|
|
I tried to make a menubarbut get an error saying
"found : javax.swing.JMenuBar
required: javafx.scene.Node[]
menuBar,
1 error
ERROR: javafxc execution failed, exit code: 1"
my code
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
You can't just mix Swing and JavaFX controls like that. You'll need to wrap your Swing components into Nodes. Check out this thread.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
 |
|
|
subject: menubar
|
|
|