Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Softwaretools > Re: javafx fram...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 3160 of 3277
Post > Topic >>

Re: javafx frame on SWT composite + eclipse!!

by sukanya84@[EMAIL PROTECTED] Mar 4, 2008 at 03:24 AM

Use a AWT Panel in between the SWT_AWT frame and FX's frame/
rootpane .This will solve the problem.
There was some site stating to use the Panel.

var frame:<<java.awt.Frame>> =
SWT_AWT.new_Frame(compositeobj:Composite);
var panel:<<java.awt.Panel>> = new Panel();
var rootpane = new RootPane();
panel.add(rootpane.getComponent());
frame.add(panel);

where rootpane is the FX container.Do try.
 




 3 Posts in Topic:
javafx frame on SWT composite + eclipse!!
sukanya84@[EMAIL PROTECTE  2008-01-24 04:16:07 
Re: javafx frame on SWT composite + eclipse!!
sukanya84@[EMAIL PROTECTE  2008-03-04 03:22:42 
Re: javafx frame on SWT composite + eclipse!!
sukanya84@[EMAIL PROTECTE  2008-03-04 03:24:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 21:02:24 CDT 2008.