Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

165 lines (160 sloc) 4.927 kB
<!DOCTYPE html>
<html>
<head>
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<link rel="stylesheet" href="bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="bootstrap/assets/css/docs.css">
<title>e(fx)clipse - JavaFX 2.0 Tooling and Runtime for Eclipse</title>
</head>
<body>
<div class="topbar" data-scrollspy="scrollspy" >
<div class="topbar-inner">
<div class="container">
<a class="brand" href="index.html">e(fx)clipse</a>
<ul class="nav">
<li><a href="index.html">Home</a></li>
<li><a href="install.html">Installation</a></li>
<li><a href="fxgraph.html">FXGraph</a></li>
<li class="active"><a href="tutorials.html">Tutorials</a></li>
<li><a href="releases.html">Releases</a></li>
<li><a href="/trac">BugTracker</a></li>
<li><a href="https://groups.google.com/forum/?fromgroups#!forum/efxclipse">Forum</a></li>
</ul>
</div>
</div>
</div>
<header class="jumbotron masthead" id="overview">
<div class="inner">
<div class="container">
<h1>e(fx)clipse, by BestSolution.at</h1>
<p class="lead">
JavaFX 2.0 Tooling and Runtime for Eclipse and OSGi
</p>
</div>
</div>
</header>
<div class="container">
<section id="create-fx-app">
<div class="page-header">
<h1>Create an e4 application</small></h1>
</div>
<div class="span16">
<p>
e4 can be used with JavaFX as a rendering technology instead of SWT. This tutorial will guide
you through creating such an application.
</p>
</div>
<div class="row">
<div class="span1">
1.
</div>
<div class="span7">
<ul class="media-grid">
<li>
<a>
<img class="thumbnail" src="tut4/img_01.png" />
</a>
</li>
</ul>
</div>
<div class="span8">
<p>
<b>If you are on JDK-7u6 you can skip this step because you have JavaFX included already.
Please though make sure you Eclipse uses JDK-7 when started.
</p>
<p>
Download the JavaFX-SDKs at least 2.2. from <a href="http://www.oracle.com/technetwork/java/javafx/downloads/index.html">Oracle</a> and
configure it like described in <a href="tut1.html">tutorial 1</a>
</p>
<p>
Repackage it using the New &gt; Project ... &gt; JavaFX/"Repackage JavaFX for OSGi" wizard
</p>
</div>
</div>
<div class="row">
<div class="span1">
2.
</div>
<div class="span7">
<ul class="media-grid">
<li>
<a>
<img class="thumbnail" src="tut4/img_02.png" />
</a>
</li>
</ul>
</div>
<div class="span8">
<p>
Setup a target platform for the development:
<ul>
<li>Open Perferences > Plugin-in Development > Target Platform</li>
<li>Click Add ...</li>
<li>Select "Current Target: Copy settings from current target platform"</li>
<li>Add ...</li>
<li>Select Software Site</li>
<li>Add http://www.efxclipse.org/p2-repos/releases/latest/ as a site</li>
<li>Select "e(fx)clipse - Composite - FX Runtime - (do not install)" and <b>uncheck</b> "Include required software"</li>
<li>Finish and make new target the active one</li>
</ul>
</p>
</div>
</div>
<div class="row">
<div class="span1">
3.
</div>
<div class="span7">
<ul class="media-grid">
<li>
<a>
<img class="thumbnail" src="tut4/img_03.png" />
</a>
</li>
</ul>
</div>
<div class="span8">
<p>Execute the New > Project ... JavaFX/JavaFX Eclipse 4 Application wizard</p>
</div>
</div>
<div class="row">
<div class="span1">
4.
</div>
<div class="span7">
<ul class="media-grid">
<li>
<a>
<img class="thumbnail" src="tut4/img_04.png" />
</a>
</li>
</ul>
</div>
<div class="span8">
<p>Open the Product-File and click "Launch an Eclipse application"</p>
<p>
<b>Note for OS-X</b>: Eclipse PDE thinks it is clever and adds extra
flags when launching but this leads to problems when used with JavaFX.
<br />
Open the Launch Configuration after the first start and:
<ul>
<li>Make Programm arguments only hold: -nl ${target.nl} -consoleLog -nosplash</li>
<li>VM arguments only hold: -Xms40m -Xmx512m -Dosgi.framework.extensions=at.bestsolution.efxclipse.runtime.osgi</li>
</ul>
</p>
</div>
</div>
</section>
</div>
<footer class="footer">
<div class="container">
<p class="pull-right">
<a href="#">Back to top</a>
</p>
<p>
Created by <a target="_blank" href="http://www.bestsolution.at">BestSolution.at</a> with use of <a target="_blank" href="http://twitter.github.com/bootstrap/">Bootstrap</a> from twitter.
</p>
</div>
</footer>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.