Re: Animation swipe stutter

2013-06-02 Thread Tom Eugelink
I had a similar problem where my calendar popup would flicker when moving the mouse. This was also only reproducible on my system alone. Turns out the fact that I'm using VMWare to separate all the different projects I work on was the cause; somewhere half consciously I've clicked on a VMWare

Re: [API Review]: Add margin property to node and make it styleable from CSS

2013-06-11 Thread Tom Eugelink
I know I'm reiterating, but just to keep the point alive; personally I would still prefer to have such information placed in an explicit layout constraint class. node.setMargin(x); layout.getChildren().add(node); vs layout.add(node, new Constraint().margin(x)); It also prevents the Node

Re: [API Review]: Add margin property to node and make it styleable from CSS

2013-06-11 Thread Tom Eugelink
On 2013-06-11 15:36, Martin Sladecek wrote: Means new *Constraint class and new add method for each layout *Pane class. Also one of the nice side-effects of having this as a property is that we can style it using -fx-margin CSS property. Yup, constraint classes with values that are relevant

Re: javafx-font opensourced

2013-06-21 Thread Tom Eugelink
an internal Nexus inside for your Oracle stuff but then you definitely wouldn't be giving us access to that. On Fri, Jun 21, 2013 at 5:01 PM, Tom Eugelink t...@tbee.org mailto:t...@tbee.org wrote: What I wanted to say with that (friends always accuse me of not being to the point

Re: JavaFX properties usage out of context?

2013-07-16 Thread Tom Eugelink
Be aware that the binding of properties is lazy. That means that if a value changes, bound properties are not updated, they only get notified of the change. Serverside that may not be the preferred / expected behavior (binding libraries like JGoodies always update), so it may be necessary to

Re: JavaFX Sightings (forked from Re: Can JavaFX do CAD?)

2013-07-28 Thread Tom Eugelink
I was already working on getting some screenshots of a security application written in JFX (mentioned its development a few months ago). It's a purchasable product, so screenshots should be possible. I'm only curious if it will make a nice showcase, since it mainly is used to show camera

Re: JavaFX and iOS - it will remain a dream

2013-07-31 Thread Tom Eugelink
Not answering for my fellow Tom but for myself; FXML is a format that is mainly of interest to the developer, not the runtime environment. So, like precompiled JSP, there is something to say for compiling something that is actually programming code, no matter in which context it is used. On

Re: Proposal to move default style-class from Control to SkinBase

2013-08-07 Thread Tom Eugelink
Since day 1 of writing controls for JFX I've used the approach that a skin sets its own style class, and that class is used in the CSS. If a control should not be aware of how it is rendered, what sense does it make to have visual styling set on it? So in a skin I do:

properties via CSS

2013-08-13 Thread Tom Eugelink
Projects are starting to use my calendar picker control and requests are coming in for more fine tuned styling. One of the topics is the location and direction of the arrows of the two embedded listspinner controls. Now, the location and position of these arrows are already configurable

Re: properties via CSS

2013-08-13 Thread Tom Eugelink
Seems my perfect english might be the cause of me not finding any info; stylEAble https://wiki.openjdk.java.net/display/OpenJFX/CSS+API+to+support+custom+UI+Controls On 2013-08-13 15:42, Tom Eugelink wrote: Projects are starting to use my calendar picker control and requests are coming

custom Styleable properties CSS prefix

2013-08-15 Thread Tom Eugelink
I've created my first control with custom CSS Styleable properties. Ignoring the fact that com.sun classes are involved, it worked pretty easily. Jim suggested that I also post the question about the CSS prefix I asked on the JFXtras mail list here is well. So: I would like to suggest is to

Re: custom Styleable properties CSS prefix

2013-08-15 Thread Tom Eugelink
you need to pull in and why? I'd like to know from the perspective of the owner of the styleable API. If you have to pull in com.sun, then I might have missed something somewhere since all you should need is in the javafx.css package. On Aug 15, 2013, at 9:16 AM, Tom Eugelink t...@tbee.org

Re: custom Styleable properties CSS prefix

2013-08-16 Thread Tom Eugelink
perl substitution. But, other than how pseudo-class state is handled, the model didn't change. You might also want to look here - https://wiki.openjdk.java.net/display/OpenJFX/CSS+API+to+support+custom+UI+Controls On Aug 15, 2013, at 10:20 AM, Tom Eugelink t...@tbee.org wrote: No, this is still

Re: The rise and fall of Builders

2013-08-29 Thread Tom Eugelink
This week I ran into the problem that I needed to provide a date format (attribute in FXML) to one of my controls. So I needed a way to convert a string to DateFormat, or even a comma separated list to a list of DateFormats. This I solved with a builder for that control. How would one solved

Re: The rise and fall of Builders

2013-08-30 Thread Tom Eugelink
base class and all the FXML support is still there. All mentioned in that long thread :-D Richard On Aug 29, 2013, at 9:50 PM, Tom Eugelink t...@tbee.org wrote: This week I ran into the problem that I needed to provide a date format (attribute in FXML) to one of my controls. So I needed a way

ServiceLoader

2013-09-03 Thread Tom Eugelink
On 2013-09-03 17:49, Richard Bair wrote: In this case, since JavaFX is Free Software! you can actually suggest the fix, prototype and propose the patch yourself, limiting the round trip time substantially. That said, in JFXtras I've created an extended FactoryBuilder that dynamically loads

Re: ServiceLoader

2013-09-03 Thread Tom Eugelink
? Richard On Sep 3, 2013, at 11:44 AM, Tom Eugelink t...@tbee.org wrote: True, so we'll leave it JFXtras then. On 2013-09-03 20:28, Richard Bair wrote: The only knee-jerk reaction to the service loader is that it can be bad at startup, because for the service loader to work, it has to scan all

Re: ServiceLoader

2013-09-03 Thread Tom Eugelink
for builders in context of FXML the consensus was to have annotations on the constructor to map the arguments appropriately. Eva suggested @ConstructorProperties, I was more in favor of explicit @FXMLValue annotation on each argument. Tom On 03.09.13 22:53, Tom Eugelink wrote

Re: Changes in caspian.bss

2013-09-14 Thread Tom Eugelink
On JavaFX 8.0 we're getting all kind of CSS warnings when running the JFXtras 8.0 project. I personally am waiting for JFX8 to stabilize before trying to figure out what is going on exactly. I do not notice any (visual) problems though. On 2013-09-14 12:32, Peter Penzov wrote: Hi, I

Re: losing the validation listener

2013-09-27 Thread Tom Eugelink
for it if there is not one already. Thanks Richard On Apr 8, 2013, at 3:48 AM, Tom Eugelink t...@tbee.org wrote: Hi Werner, It indeed is very similar (my code is public on Github, so no use adding it here), especially the selectedToggleProperty listener. I chose to reuse as much

Re: Moving on to a round house kick (forked from Re: JavaOne roundup?)

2013-09-30 Thread Tom Eugelink
Hello Matthias, This is just how Oracle rolls, we have to get used to it. And actually it is not that bad of an attitude; never make a promise you can't keep. When deliver, deliver well. I'm in a project which communicates way to much to end users and they keep being disappointed. I kinda

Re: Moving on to a round house kick (forked from Re: JavaOne roundup?)

2013-09-30 Thread Tom Eugelink
On 2013-09-30 18:27, John Hendrikx wrote: To be honest, it is likely JavaFX already missed its window to become relevant on Android and iOS. Maybe, but I've done my fair share of UI toolkits and JFX really has some great features compared to the others (not counting layout - pun intended

Re: JAVAFX on ANDROID

2013-10-13 Thread Tom Eugelink
On 2013-10-14 01:06, Rafal wrote: If you honestly encourage community to make a such big effort as developing, adjusting and maintaining JVMs on the two leading mobile platforms, you don't have any plans that Oracle VM on android will be released in the next 2 years. :/ Otherwise, if Oracle

Re: bugfix mode

2013-10-19 Thread Tom Eugelink
I am seeing these warnings when starting JFXtras CalendarPicker using JDK 1.7.0_45. There is not much information to go on. Is there any way to git more information? WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-text-base-color' while resolving lookups for

Re: JavaFX on iOS and Android: The real problem and challenge

2013-11-09 Thread Tom Eugelink
Oracle has a strict do-not-communicate-what-is-not-certain policy and I actually commend them for it. Better to not communicate than make promises you can't keep (I'm seeing the effect on that in many of the projects I'm asked to assist). I think the urgency of mobile platforms is clear to

Re: Look and feel mechanism?

2013-12-09 Thread Tom Eugelink
All I know, as a 3rd party control developer, is that I want to be able to setup the CSS of my controls in such a way that as much of a new skin is automatically adopted; borders, colors, focus rendering, etc. Tom

Re: A lot WARING with CSS

2013-12-15 Thread Tom Eugelink
I'm having loads of CSS warnings and one or two class cast exceptions running the JFXtras samples (have been reporting them for a long while already). But there they do not seem to have any visual impact. On 2013-12-15 11:14, Yennick Trevels wrote: I encountered the same issue when trying

Re: Programmatic (Java) access to style / layout ?

2013-12-18 Thread Tom Eugelink
Small side remark: in order to stay compliant with the Java Bean specification, these kind of setters are often implemented as withers (which call the setter and return this): button.border().hover() .withColor(red) .withStrokeWidth(10) .withBlink(false) .withHandler(()-{});

IndexOutOfBoundsException with an empty CSS block

2013-12-22 Thread Tom Eugelink
When I assign a style class to a GridPane (which is then added to a VBox and that to a BorderPane and that in a Popup), like so: lAppointmentGroupGridPane.getStyleClass().add(AppointmentGroups); Which has an empty block in CSS: .AgendaPopup .AppointmentGroups { } An exception occurs.

Re: Performance-limiting characteristics of Nodes

2013-12-30 Thread Tom Eugelink
I also watched Gerrits presentation, and he put a lot of emphasis on the difference between drawing using nodes and drawing using CSS. One of the examples was one of his famous gauges, where he used a number of gradients to draw the background. His initial approach was one-node-per-gradient,

Re: Performance-limiting characteristics of Nodes

2013-12-30 Thread Tom Eugelink
to me that there is some inherent impact on performance associated simply with having more nodes. I hope Richard or someone with intimate knowledge of the innards of JavaFX rendering could chime in here... On 30 December 2013 20:50, Tom Eugelink t...@tbee.org wrote: I also watched Gerrits

scenebuilder and migpane

2014-01-03 Thread Tom Eugelink
Would it be possible to offer MigPane as a Container in SceneBuilder? Tom

custom FXML builders in SceneBuilder

2014-01-03 Thread Tom Eugelink
I had no problems adding the JFXtras components to SceneBuilder, but one of the controls has a custom FXML builder. It is present in the same jar, but how do I tell SceneBuilder to use it? Now when I try to load an fxml file an exception (unable to coerse) is shown by SceneBuilder. Tom

Re: scenebuilder and migpane

2014-01-03 Thread Tom Eugelink
not work straight away. Eric Le 3 janv. 2014 à 10:10, Tom Eugelink t...@tbee.org a écrit : Would it be possible to offer MigPane as a Container in SceneBuilder? Tom

Re: custom FXML builders in SceneBuilder

2014-01-03 Thread Tom Eugelink
builder setup. So FXMLLoader uses the default JavaFX builder factory. Since builders are deprecated, I'm not sure it make sense for SB to have dependency on them. Eric Le 3 janv. 2014 à 10:55, Tom Eugelink t...@tbee.org a écrit : I had no problems adding the JFXtras components to SceneBuilder

Re: not all custom controls are usable in SceneBuilder

2014-01-03 Thread Tom Eugelink
On 2014-1-3 11:18, Yves JOAN wrote: On 03/01/14 11:03, Tom Eugelink wrote: Not all JFXtras custom components are draggable from the library's custom tab to the scene. For example Agenda and CalendarTextField can be dragged, but CalendarPicker or ListSpinner cannot. Is there any way

Re: scenebuilder and migpane

2014-01-03 Thread Tom Eugelink
worth trying to drop MigPane JAR file in SB2 library panel and see. However SB2 makes some assumptions about containers. So that might not work straight away. Eric Le 3 janv. 2014 à 10:10, Tom Eugelink t...@tbee.org a écrit : Would it be possible to offer MigPane as a Container in SceneBuilder

JavaFX on headless Jenkins

2014-01-04 Thread Tom Eugelink
I'm trying to run JavaFX UI tests using TestFX on a headless Jenkins server (Ubuntu / Debian). I've gotten to the point where the UI is actually started by Jenkins, but then the test fail with a no suitable pipeline found. Any suggestions how to fix that? :*test* Executing task ':test'

Re: JavaFX on headless Jenkins

2014-01-06 Thread Tom Eugelink
Yes please, I've got Jenkins setup so it starts a vncserver and it runs on linux, so I'm interesting in the option you mention (as long as it doesn't require too many hoops I need to jump through). Tom On 2014-1-6 17:36, David Hill wrote: On 1/4/14, Jan 4, 3:57 PM, Tom Eugelink wrote: I'm

Re: JavaFX on headless Jenkins

2014-01-06 Thread Tom Eugelink
Ok. I saw xfvb passing by, but most blogs talked about xvnc, I'll give that a spin. Thanks. Tom BTW: the Travis environment keeps reporting errors; it has trouble downloading one of the supporting jar from maven. On 2014-1-6 23:49, Matthieu BROUILLARD wrote: On the linux nodes on

Re: scenebuilder and migpane

2014-01-06 Thread Tom Eugelink
On 2014-1-6 17:19, Richard Bair wrote: MigLayout is a very popular layout engine in Swing and SWT (and also gaining ground on Android), I think it would be good for SceneBuilder to better support MigLayout. +1, I’d love to see enough support in SceneBuilder that any 3rd party layout

Re: JavaFX on headless Jenkins

2014-01-07 Thread Tom Eugelink
as a service, not as an application. sh -e /etc/init.d/xvfb start But that script is not available on my Linux after installing Xvfb... Tom On 2014-1-7 6:58, Tom Eugelink wrote: Ok. I saw xfvb passing by, but most blogs talked about xvnc, I'll give that a spin. Thanks. Tom BTW: the Travis

Re: JavaFX on headless Jenkins

2014-01-07 Thread Tom Eugelink
Jenkins does that for me. On 2014-1-7 21:13, Matthieu BROUILLARD wrote: For JFXtras build on travis.org http://travis.org, I just followed some docs pages to setup xvfb, sorry I am not a linux/unix expert and don't know how to help more. /[Stupid linux user mode activated]/ If you do not

Re: CSS metadata boilerplate

2014-01-07 Thread Tom Eugelink
Yes, I had similar considerations. I was thinking about providing exactly such extended Property classes in JFXtras to remove as much of the boilerplate. Tom On 2014-1-8 3:34, John Hendrikx wrote: Hi List, I'm in the process of adding CSS metadata to a new control, and I noticed there is

Re: Future of Skins

2014-01-08 Thread Tom Eugelink
I've written the Agenda control (Google Calendar alike) in JFXtras, which of course also can have multiple skins although right now it only has one. So this is an interesting discussion. On 2014-1-8 22:31, John Hendrikx wrote: That's basically how I've solved it so far (although I call the

Re: custom FXML builders in SceneBuilder

2014-01-21 Thread Tom Eugelink
Hi Eric, Any chance you had time to look into this? Tom On 2014-1-3 12:19, Eric Le Ponner wrote: I will look at that and come back to you middle of next week. Eric Le 3 janv. 2014 à 12:12, Tom Eugelink t...@tbee.org a écrit : I think there are two usages of builders: - construct

Go Gerrit

2014-01-21 Thread Tom Eugelink
Just to update the people who are not keeping taps on what Gerrit Grunwald is doing, but he has his JavaFX application running on a Mac, Nexus 7, iPad, iPhone and this afternoon on an Android SmartWatch. Here is the watch version http://www.youtube.com/watch?v=XpplIIIKZ2s Of course the

Re: 8u20: Request for feedback on unit test proposal

2014-01-30 Thread Tom Eugelink
Am I to understand that this is using the VNC server? Because I'm not seeing the tell-tale -D parameters in the gradle.build. Or is this actually running on-screen? Tom On 2014-1-30 18:40, Daniel Blaukopf wrote: Hi, I put up on https://javafx-jira.kenai.com/browse/RT-35396 a draft of what

Re: UndoFX: undo manager for JavaFX

2014-02-06 Thread Tom Eugelink
And then there is JFXtras... :-) On 2014-2-6 18:20, Christian Schudt wrote: Hehe, funny how every project is called *FX. Still waiting for the YetAnotherProjectFX :-) Let's see, what I could find by a quick research: ControlsFX DataFX RedFX CodeAreaFX ReactFX UndoFX ExtFX ScreenFX

TestFX and popup

2014-02-12 Thread Tom Eugelink
I'm using a Popup and need TestFX to click some buttons that are in the popup, but the nodes are not found. How is a Popup hooked into an existing node tree? The code in a.o. PopupWindow seems to only reference one way; from the popup towards the owner, but not the other way. Only if the

Image by CSS and popup size

2014-03-01 Thread Tom Eugelink
In the datetime textfields in JFXtras, the picker popup has an explicit close button rendered using an ImageView, the image is specified using CSS -fx-image. This ImageView is added as the right of a BorderPane, and the BorderPane is the content of a popup. What happens is that the close

CircularPane

2014-03-19 Thread Tom Eugelink
For those interested, I've just put an implementation of a CircularPane in JFXtras-labs. http://jfxtras.org/images/gallery/CircularPane.png One never knows how to put such a thing to use. Regards, Tom

Re: add calculating methods to bind

2014-05-21 Thread Tom Eugelink
invalidations. Tomas On Wed, May 21, 2014 at 9:25 PM, Tom Eugelink t...@tbee.org wrote: I came up with this: startXProperty().bind( *snap(*heightProperty().multiply(0.2)) ) And then: private DoubleBinding snap(final ObservableNumberValue other, final Observable... dependencies

Re: add calculating methods to bind

2014-05-21 Thread Tom Eugelink
, Tomas Mikula tomas.mik...@gmail.com wrote: Yeah, and you could also eliminate Observable... dependencies from snap's signature, since now you are not using them to invalidate your binding. On Wed, May 21, 2014 at 9:36 PM, Tom Eugelink t...@tbee.org wrote: Found it! Slightly different DoubleBinding

Re: add calculating methods to bind

2014-05-22 Thread Tom Eugelink
...@gmail.com wrote: Yeah, and you could also eliminate Observable... dependencies from snap's signature, since now you are not using them to invalidate your binding. On Wed, May 21, 2014 at 9:36 PM, Tom Eugelink t...@tbee.org wrote: Found it! Slightly different DoubleBinding was required (copied it from

Re: add calculating methods to bind

2014-05-23 Thread Tom Eugelink
https://javafx-jira.kenai.com/browse/RT-37255 On 2014-5-23 8:05, Martin Sladecek wrote: That would be nice. Don't forget to add it to JIRA! -Martin On 23.5.2014 07:11, Tom Eugelink wrote: I feel the standard binding should offer an easy hook option heightProperty().multiply(3.4).calc

monitor mouse events but not capture them

2014-06-09 Thread Tom Eugelink
Hi all, Maybe someone has solved this already, so I thought I pop the question. Currently I'm working on CirclePopupMenu; a menu that is supposed to pop up on any place in a scene when a certain (usually the middle or right) mouse button is pressed. Right now CirclePopupMenu requires a

Re: monitor mouse events but not capture them

2014-06-09 Thread Tom Eugelink
solution that would work right now. If we'd support Node picking (https://javafx-jira.kenai.com/browse/RT-20184), it would be possible to redirect an unwanted event to a different event target on that mouse position. -Martin On 06/09/2014 08:44 AM, Tom Eugelink wrote: Ye. It does not work

Re: monitor mouse events but not capture them

2014-06-09 Thread Tom Eugelink
are not relevant to that popup? Thanks, -Martin On 06/09/2014 10:07 AM, Tom Eugelink wrote: Hm, maybe I chose bad words; I'm not using Canvas, but just a Pane. Since the Pane is only used to draw the menu on when it need to appear, I'm calling it the canvas pane, as in what is painted on. On 2014-6-9

Re: monitor mouse events but not capture them

2014-06-10 Thread Tom Eugelink
, Jun 9, 2014 at 11:01 AM, Tom Eugelink t...@tbee.org wrote: But a PopupWindow would be detached from the pane? Not sure if that is what I envision, but I'll give it a go and see what it looks like. Your event filter does work though for what I need now. Thanks! On 2014-6-9 10:41, Martin Sladecek

Re: monitor mouse events but not capture them

2014-06-10 Thread Tom Eugelink
the need for a StackPane. On Tue, Jun 10, 2014 at 3:52 PM, Tom Eugelink t...@tbee.org wrote: You're way ahead of me. Why use stackpane and not popup as suggested? Wouldn't Popup remove the need for a stackpane? Tom On 2014-6-10 15:38, Tomas Mikula wrote: Since talk is cheap, I slightly reworked

Re: monitor mouse events but not capture them

2014-06-10 Thread Tom Eugelink
, to allow child nodes to consume the event if they want to override the right click. Tomas On Tue, Jun 10, 2014 at 6:50 PM, Tom Eugelink t...@tbee.org wrote: Ah, attaching to Node is a good idea after all! Tom On 2014-6-10 17:44, Tom Eugelink wrote: Thanks for all the help, you've given me a lot

Re: monitor mouse events but not capture them

2014-06-10 Thread Tom Eugelink
Placed a new version in GIT, tests are green as well. I'm quite pleased with the improvements. Going to take a peek at CornerMenu to see if it makes sense to refactor it also. Tom

Re: Blurry strokes and zooming via scale transforms

2014-06-12 Thread Tom Eugelink
I recently had a similar situation, but then because certain properties were calculated-via-binding and the resulting value was not snapped to good values either. This resulted in my suggestion to allow custom calculations in bindings, which would then snap the value.

8u40 9 CSS issues

2014-10-08 Thread Tom Eugelink
Has anything changed in 8U40 and J9 concerning CSS processing? I'm using SVG and images in CSS to draw a.o. arrows. These are not visible in 8U40 and 9. But 8u20 and J8 they work fine. And clues where to look? Tom

Re: 8u40 9 CSS issues

2014-10-08 Thread Tom Eugelink
somewhere. Please file an issue in jira and include a reproducible example. On 10/8/14, 12:08 PM, Tom Eugelink wrote: Has anything changed in 8U40 and J9 concerning CSS processing? I'm using SVG and images in CSS to draw a.o. arrows. These are not visible in 8U40 and 9. But 8u20 and J8 they work fine

Re: CSS: style leaks from unrelated stylesheet

2014-10-09 Thread Tom Eugelink
My controls in JFXtras have been overriding getUserAgentStylesheet from day 1 (or better JavaFX 2.0), AFAIK that is the way to do it. But I'm curious if this change is the cause of the CSS issues I'm seeing in 8U40. On 9-10-2014 15:27, David Grieve wrote: In 8u20 and before, adding a

Re: CSS warning

2014-10-21 Thread Tom Eugelink
the existing selector logic to prevent leaking. Anywho, my concern was placed on the table, I do not have enough knowledge of the CSS engine to argue the finer details. Tom On 21-10-2014 19:20, David Grieve wrote: On 10/21/14, 1:09 PM, Tom Eugelink wrote: That makes sense :-) I've tested

Re: Java 8 not supporting Windows XP

2014-10-27 Thread Tom Eugelink
Java 8 is not supported on WindowsXP, so installing will not work. You can try copying an installed JDK or JRE directory from a Windows 7 or 8 system and see if it runs; I had problems with that, but some say it can work. Tom On 27-10-2014 10:30, Nada Milosavljevic wrote: I have problem to

Re: Monocle in 8u25

2014-11-05 Thread Tom Eugelink
This is extremely good news. I have no problem to drag that library along in the JFXtras project (project name seems to be a good match for this usage ;-) and release it to maven - if that is allowed by the JavaFX license. Tom On 5-11-2014 16:57, Benjamin Gudehus wrote: Hi Sean, I've put

off topic: LocalDate

2014-11-07 Thread Tom Eugelink
I'm trying to do some refactoring on the Agenda control; its skin class is quite large. I figured I also switch to use the new Java 8 date time API, because it is much easier than Calendar. At least... That is what I expect after using JodaTime a lot in my projects. But, ah, does anyone know

Re: off topic: LocalDate

2014-11-09 Thread Tom Eugelink
Starting point is a LocalDate. On 9-11-2014 08:29, oma...@free.fr wrote: Date date = Date.from(Instant.now()); - Mail original - De: Tom Eugelink t...@tbee.org À: openjfx-dev@openjdk.java.net Envoyé: Vendredi 7 Novembre 2014 22:49:01 Objet: off topic: LocalDate I'm trying to do some

Re: Monocle in 8u25

2014-11-12 Thread Tom Eugelink
[] appArgs) { new ToolkitApplicationLauncher().launch(appClass, appArgs); } and start the Application with -Djavafx.monocle.headless=true. ToolkitApplicationLauncher.jar: https://gist.github.com/hastebrot/cbca1128dd791966e3a6 On Wed, Nov 12, 2014 at 8:48 AM, Tom Eugelink t...@tbee.org

Re: Monocle in 8u25

2014-11-12 Thread Tom Eugelink
/hastebrot/cbca1128dd791966e3a6 On Wed, Nov 12, 2014 at 8:48 AM, Tom Eugelink t...@tbee.org mailto:t...@tbee.org wrote: I can roll it out under the same name (openjfx-monocle-1.8.0_20) within the org.jfxtras group. Just say so. Tom On 12-11-2014 08:30, Benjamin Gudehus wrote

Re: Monocle in 8u25

2014-11-13 Thread Tom Eugelink
() } It works nicely until fx.clickOn is called. The TestFX library is still moving the Windows mouse! Any thoughts? Thanks, Neil From:Benjamin Gudehus hasteb...@gmail.com To:Tom Eugelink t...@tbee.org, Cc:openjfx-dev@openjdk.java.net openjfx-dev@openjdk.java.net Date:11

Re: What Scene Builder needs YESTERDAY!

2014-11-24 Thread Tom Eugelink
I do not think that JavaFX is aiming at replacing flash, HTML and javascript are doing a great job there, hence animations are not equally important as they were for flash. Tom On 24-11-2014 10:46, Felix Bembrick wrote: I am surprised more people have not expressed an opinion on this. To

Re: What Scene Builder needs YESTERDAY!

2014-11-24 Thread Tom Eugelink
the building of everything from simple animations to complex visualisations if it is practically impossible to do so? On 24 November 2014 at 21:02, Tom Eugelink t...@tbee.org mailto:t...@tbee.org wrote: I do not think that JavaFX is aiming at replacing flash, HTML and javascript are doing

Re: What Scene Builder needs YESTERDAY!

2014-11-24 Thread Tom Eugelink
is make such use cases feasible. On 24 November 2014 at 22:04, Tom Eugelink t...@tbee.org mailto:t...@tbee.org wrote: I have no problems using JavaFX's animations for my purposes, which are decorative effects. I do not need an editor for that, forced me to use it and it probably will even

Re: What Scene Builder needs YESTERDAY!

2014-11-24 Thread Tom Eugelink
mature around 2006). Kudos to all who are working hard on the platform. I am totally aware those are not easy tasks and limited resources produce restrictions... br, Manfred Karrer Am 24.11.2014 um 13:37 schrieb Tom Eugelink t...@tbee.org: Oh, you are right, if the JavaFX team does not need

Re: What Scene Builder needs YESTERDAY!

2014-11-24 Thread Tom Eugelink
resources produce restrictions... br, Manfred Karrer Am 24.11.2014 um 13:37 schrieb Tom Eugelink t...@tbee.org mailto:t...@tbee.org: Oh, you are right, if the JavaFX team does not need to make choices on where to invest their precious time, then all

Re: JavaFX application for different resolutions

2014-12-14 Thread Tom Eugelink
Just like with any other application, HTML or Android for example, you can rearrange the layout depending on the screensize and use different icons with less detail, this is called responsive design. HTML offers through CSS support for automatically applying different styles based on the

switching skins at runtime

2014-12-23 Thread Tom Eugelink
Is it allowed / supported to execute setSkin with a new skin on a control that is part of a scene? Tom

Re: switching skins at runtime

2014-12-23 Thread Tom Eugelink
a skin that is either instance equal or the same class. On 12/23/14, 6:27 AM, Tom Eugelink wrote: Is it allowed / supported to execute setSkin with a new skin on a control that is part of a scene? Tom

Re: switching skins at runtime

2014-12-26 Thread Tom Eugelink
() should clear the children and reset the style classes itself? Tom On 23-12-2014 15:39, Tom Eugelink wrote: Then this NPE on getSkinnable() when switching Agenda's skin when the control is already shown (instead of when created) must be my doing some how. Thanks! Tom On 23-12-2014 14:36

Re: switching skins at runtime

2014-12-29 Thread Tom Eugelink
(). At any rate I wouldn't know if that is correct. It is just how I assume this would work. On 29.12.2014 11:44, Tom Eugelink wrote: That works for unbinding listeners to skinnable and the reset code for style class, I still need to clear the childeren. Tom

CSS under 1.8.0_40 not identical to 31 or older

2015-02-04 Thread Tom Eugelink
I've just now ran JFXtras Samples under the latest 1.8.0_40 and it does not render identical as when run under 1.8.0_31, some CSS rules are not applied. Samples is easily downloaded from here (http://jfxtras.org/resources/java/jfxtras-labs-samples-8.0-r4-SNAPSHOT-shadow.jar) and started

Re: Event when CSS is applied

2015-02-18 Thread Tom Eugelink
On 18-2-2015 08:34, Tomas Mikula wrote: Hope this helps. I'll give it a try! Maybe it will solve some of the TBEERNOT (TODO) tags further down the code. Tom

Re: Event when CSS is applied

2015-02-18 Thread Tom Eugelink
On 18-2-2015 08:34, Tomas Mikula wrote: What I think should be done is, instead of trying to hack around Pane, create class NeedlePane that extends Region and overrides layoutChildren. It would create its children in the constructor (or take them as constructor parameters), add them to its

Re: Event when CSS is applied

2015-02-18 Thread Tom Eugelink
I like the improvements to the code. Thanks! Tom

Re: Event when CSS is applied

2015-02-18 Thread Tom Eugelink
On 18-2-2015 21:49, Tomas Mikula wrote: So back to your original question: Basically I would like to be informed when the styling of a node has been applied or changed. Is there some place that can provide this information? Turns out you don't actually need this information ;) Indeed.

Re: Event when CSS is applied

2015-02-17 Thread Tom Eugelink
. --Benjamin On 2/17/15, Tom Eugelink t...@tbee.org wrote: I have a skin (of a control) that centers a Text node. This Text node can be styled via CSS, so this styling is a factor when centering. because larger font means wider text. The centering works perfectly, the only problem is figuring out

Re: Event when CSS is applied

2015-02-17 Thread Tom Eugelink
-2015 14:50, David Grieve wrote: On 2/17/15 8:02 AM, Tom Eugelink wrote: I have a skin (of a control) that centers a Text node. This Text node can be styled via CSS, so this styling is a factor when centering. because larger font means wider text. The centering works perfectly, the only problem

Re: Event when CSS is applied

2015-02-18 Thread Tom Eugelink
view is rather reverse to yours: The fact that the implementation of layout is best solved with inheritance is a sign that JavaFX does _not_ aim enough at doing things via composition. Tomas On Wed, Feb 18, 2015 at 4:37 PM, Tom Eugelink t...@tbee.org wrote: On 18-2-2015 21:49, Tomas Mikula wrote

Re: Event when CSS is applied

2015-02-17 Thread Tom Eugelink
On 17-2-2015 20:01, David Grieve wrote: On 2/17/15 1:30 PM, Tom Eugelink wrote: The control is a codewise polish up one of Gerrit's gauges (with permission!) and pulled into JFXtras (with tests and all). For an idea on what we are talking about: https://www.youtube.com/watch?v=RH5X1uBu1d8

Event when CSS is applied

2015-02-17 Thread Tom Eugelink
I have a skin (of a control) that centers a Text node. This Text node can be styled via CSS, so this styling is a factor when centering. because larger font means wider text. The centering works perfectly, the only problem is figuring out when to center the node. At the moment I'm centering

Re: Setting a default stylesheet for a custom control

2015-01-27 Thread Tom Eugelink
Indeed. There are more than enough examples to look at and copy from :-) https://github.com/JFXtras/jfxtras/blob/8.0/jfxtras-controls/src/main/java/jfxtras/scene/control/ListSpinner.java On 27-1-2015 23:30, Jonathan Giles wrote: If I'm correctly understanding your question, you want to

custom controls: printing

2015-01-27 Thread Tom Eugelink
Do I need to do something special to support printing of custom controls? The use case is that on screen a spreadsheet can be shown in a scrollpane, but when printing the whole spreadsheet should be printed. Tom

Re: custom controls: printing

2015-01-27 Thread Tom Eugelink
wrote: On 1/27/15 4:08 PM, Tom Eugelink wrote: Do I need to do something special to support printing of custom controls? The use case is that on screen a spreadsheet can be shown in a scrollpane, but when printing the whole spreadsheet should be printed. Being a 'custom' control doesn't really

Re: custom controls: printing

2015-01-28 Thread Tom Eugelink
pagination you need to explicitly call the WebEngine.print(PrinterJob) method -phil. On 1/27/15 10:22 PM, Tom Eugelink wrote: Ok, so looking at some examples like http://java.dzone.com/articles/introduction-example-javafx-8 where PrintJob is let lose on a node, JavaFX's PrintJob will either use

Re: custom controls: printing

2015-01-28 Thread Tom Eugelink
On 29-1-2015 08:01, Phil Race wrote: If you create an Agenda that is never displayed but has the same data and set its size so that it can display all the data, I expect it should be possible to scale it so that it fits on one page like the example you referenced but once you have 500 items in

  1   2   >