Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Eclipse4 with JavaFx using efxClipse
Eclipse4 with JavaFx using efxClipse [message #1053860] Tue, 07 May 2013 18:47 Go to next message
Alex Kipling is currently offline Alex Kipling
Messages: 246
Registered: July 2012
Senior Member
I followed Tutorial4 here: http://www.efxclipse.org/trac/wiki/Tutorial4
to create a JavaFx Aplication

I Added 1 Trimmed Window to the Aplication.e4xmi


Problem:
Indeed, when I launch the product - the applicaiton starts, the preview in the superbar show a window, see pic
http://i520.photobucket.com/albums/w327/schajtan/2013-05-08_00-40-15_zpsad39fc8a.png

But when I click on the application in the superbar - nothing happens. The window does not show up.


OS:
Wndows 7 X64
Java 1.7.0_21-b11 X64
Re: Eclipse4 with JavaFx using efxClipse [message #1053861 is a reply to message #1053860] Tue, 07 May 2013 18:51 Go to previous messageGo to next message
Sopot Cela is currently offline Sopot Cela
Messages: 589
Registered: December 2010
Senior Member

The X,Y and width/height of the created window get some default value which is inconsistent with the fx renderers. Use 10,10 for x,y and e.g. 300, 500 for w/h.
Re: Eclipse4 with JavaFx using efxClipse [message #1060468 is a reply to message #1053861] Fri, 24 May 2013 18:06 Go to previous messageGo to next message
Alex Kipling is currently offline Alex Kipling
Messages: 246
Registered: July 2012
Senior Member
Thnx Sopot, but using 10,10 for x,y and 300, 500 for w/h. did not work.
Any other ideas?
Which plugin is responsible for providing the JavaFx renderers?
Where can I lookup the right position / size?

Is there any tutorial about using JavaFx with e4 which is up to date and workin?

Greetz
Re: Eclipse4 with JavaFx using efxClipse [message #1060531 is a reply to message #1060468] Sun, 26 May 2013 06:12 Go to previous messageGo to next message
Sopot Cela is currently offline Sopot Cela
Messages: 589
Registered: December 2010
Senior Member

Do you get anything in the log?
Re: Eclipse4 with JavaFx using efxClipse [message #1060583 is a reply to message #1060468] Mon, 27 May 2013 03:41 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5005
Registered: July 2009
Senior Member
Are you sure you are not coming now from a restored state - I'd suggest
to ask at e(fx)clipse and JavaFX questions on our forum [1] or the
newsgroup at eclipse.org (eclipse.efxclipse).

I've also filed https://bugs.eclipse.org/bugs/show_bug.cgi?id=409112 to
deal with this IMHO extremly dumb SWT-Default settings for x/y.

Tom

[1]https://groups.google.com/forum/?fromgroups=#!forum/efxclipse

On 25.05.13 00:06, Alex Kipling wrote:
> Thnx Sopot, but using 10,10 for x,y and 300, 500 for w/h. did not work.
> Any other ideas?
> Which plugin is responsible for providing the JavaFx renderers?
> Where can I lookup the right position / size?
>
> Is there any tutorial about using JavaFx with e4 which is up to date and
> workin?
>
> Greetz
Re: Eclipse4 with JavaFx using efxClipse [message #1060696 is a reply to message #1060583] Mon, 27 May 2013 18:00 Go to previous messageGo to next message
Matias Reparaz is currently offline Matias Reparaz
Messages: 4
Registered: May 2013
Junior Member
I have the same problem, someone can help us?
Re: Eclipse4 with JavaFx using efxClipse [message #1060829 is a reply to message #1060696] Tue, 28 May 2013 10:42 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5005
Registered: July 2009
Senior Member
So some meta information might help to better understand your problem.

a) what version of JavaFX and e(fx)clipse are you using
b) do you also see the window in the preview but not on screen?
c) did you update the values in the TrimmedWindow
d) did you make sure that the launch config clears your workspace from
a previous launch?

The best way we can help tracking down your problem is that you are
working against our git-master and nightly build which is fairly stable
already:

The process looks like this:
* download the latest stable 4.3 build from
http://download.eclipse.org/eclipse/downloads/
* add the following update-site
http://downloads.efxclipse.org/eclipse.org/p2-repos/ide/nightly/ via
"Install New Software" and install e(fx)clipse - IDE - Kepler
* create a target platform pointing it to
http://downloads.efxclipse.org/eclipse.org/p2-repos/runtime/nightly/ and
*uncheck "Include required software"*
* generate a new application using the wizard

The latest build already has the fix for
https://bugs.eclipse.org/bugs/show_bug.cgi?id=409112

Tom

On 28.05.13 14:42, Matias Reparaz wrote:
> I have the same problem, someone can help us?
Re: Eclipse4 with JavaFx using efxClipse [message #1060837 is a reply to message #1060829] Tue, 28 May 2013 11:03 Go to previous messageGo to next message
Matias Reparaz is currently offline Matias Reparaz
Messages: 4
Registered: May 2013
Junior Member
Thank you very much! It was because of d) and with the clearPersistedState flag it worked.
Re: Eclipse4 with JavaFx using efxClipse [message #1060841 is a reply to message #1060837] Tue, 28 May 2013 11:32 Go to previous message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5005
Registered: July 2009
Senior Member
If you are starting with e(fx)clipse I'd still suggest to use the
nightly stuff because all namespaces, ... are changing.

We have reports from customers that their application work on the
nightly so I things are generally speaking in good shape already.

I'll try to work on all-in-one downloads but it will take some more days
until they are available.

Tom

On 28.05.13 17:03, Matias Reparaz wrote:
> Thank you very much! It was because of d) and with the
> clearPersistedState flag it worked.
Previous Topic:Welcome to eclipse.efxclipse
Next Topic:e(fx)clipse 0.9.0 is feature complete
Goto Forum:
  


Current Time: Wed Apr 16 15:59:58 EDT 2014

Powered by FUDForum. Page generated in 0.01668 seconds