JavaFX 2.0.2 supports interoperability with the Standard Widget Toolkit (SWT)

JavaFX 2.0.2 includes support for SWT!

Eclipse and Eclipse RCP developers can now mix and match SWT and JavaFX, which means that SWT developers can now access the advanced graphics capability provided by JavaFX. SWT and JavaFX share the same apartment threading model seamlessly, so applications just work. The two toolkits can call each other directly, cooperating to show data to the user. I see an interesting future where SWT is used for the native trimming, task bar, alert boxes and other aspects of deep integration, while JavaFX is used to display advanced content.

You can see the API documentation at
http://docs.oracle.com/javafx/2.0/api/index.html

Look for the javafx.embed.swt package.

See also Richard Bair's blog on SWT at
http://fxexperience.com/2011/12/swt-interop/

Steve Northover

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Blog about Java technology documentation and news about Java releases.

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today