Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Dialoge
Dialoge [message #1108234] Fri, 13 September 2013 14:42 Go to next message
Daniel Zimmermann is currently offline Daniel ZimmermannFriend
Messages: 70
Registered: July 2009
Member
Hi,

while I would prefer ControlFS's Dialogs, I wanted - for compatibility reasons - make use of the Dialogs found here:
https://github.com/marcojakob/javafx-ui-sandbox/tree/master/javafx-dialogs

Unfortunatly they are crashing all the time...
Caused by: java.lang.ClassNotFoundException: javafx.scene.control.Dialogs cannot be found by my_package.platform.app_0.0.0.qualifier


The code, the lib and the reference (in the manifest) are there, so I guess it's a problem with the classloader, but I don't get my head around it to include it in the bundle.

Does anyone (not only Tom Wink ) has an idea how to make them work?
And yes: I know, that tom build a JFace like dialog stub in e(fx)clipse - but I wanted to make use of those, because they are quite good-looking without me spending time trying to achive that with self-build dialogs.

Thanks and greetings,
Daniel
Re: Dialoge [message #1108744 is a reply to message #1108234] Sat, 14 September 2013 09:25 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 5470
Registered: July 2009
Senior Member
Hi,

I've just pushed a new MessageTitleDialog class which looks very similar
to the github one (except that the trim is not custom yet).

Tom

On 13.09.13 16:42, Daniel Zimmermann wrote:
> Hi,
>
> while I would prefer ControlFS's Dialogs, I wanted - for compatibility
> reasons - make use of the Dialogs found here:
> https://github.com/marcojakob/javafx-ui-sandbox/tree/master/javafx-dialogs
>
> Unfortunatly they are crashing all the time...
>
> Caused by: java.lang.ClassNotFoundException:
> javafx.scene.control.Dialogs cannot be found by
> my_package.platform.app_0.0.0.qualifier
>
>
> The code, the lib and the reference (in the manifest) are there, so I
> guess it's a problem with the classloader, but I don't get my head
> around it to include it in the bundle.
>
> Does anyone (not only Tom ;) ) has an idea how to make them work?
> And yes: I know, that tom build a JFace like dialog stub in e(fx)clipse
> - but I wanted to make use of those, because they are quite good-looking
> without me spending time trying to achive that with self-build dialogs.
>
> Thanks and greetings,
> Daniel
Re: Dialoge [message #1109156 is a reply to message #1108234] Sun, 15 September 2013 01:06 Go to previous messageGo to next message
Dennis Lee is currently offline Dennis LeeFriend
Messages: 32
Registered: September 2013
Member
I'm using dialogs from ControlFS (8.0.2 preview version 1) no problem.

Initially I had problem with missing classes - mostly ones form com.sun.javafx ...

From dependency tab > Imported package > click Add button and add packages matching to missing classes.

It seem your problem is not the same though. "javafx.scene.control.Dialogs" look like the one that supposed to be included in jdk 8. I guess it was not included but still in sandbox.
Re: Dialoge [message #1110146 is a reply to message #1109156] Mon, 16 September 2013 12:45 Go to previous message
Daniel Zimmermann is currently offline Daniel ZimmermannFriend
Messages: 70
Registered: July 2009
Member
Hi together,

@Tom: Just downloading your all-in-one bundle since I somehow broke my target platform and want to give it a try with a fresh install and workspace. I will the MessageTitleDialog asap.

@Dennis: I'm using Java7 so I yes: Sandbox. That may be the reason for my problems - I should have mentioned this, I guess...

Daniel
Previous Topic:E4 application project with JavaFX: Maven problem
Next Topic:FXGraph and the use Control constants (e.g. USE_PREF_SIZE)
Goto Forum:
  


Current Time: Fri Nov 28 18:36:47 GMT 2014

Powered by FUDForum. Page generated in 0.01756 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software