• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

menubar

 
Anders Andersen
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20659
64
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic