aspose file tools
The moose likes JavaFX and the fly likes menubar Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JavaFX
Reply Bookmark "menubar " Watch "menubar " New topic
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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: menubar
 
Similar Threads
convert swing to applet
public static final int in javafx
script and javascript
JFrame and JMenu
Problem with struts-menu for second level submenu