Re: JavaFX graphics performance and suitability for advanced animations

2013-05-31 Thread Scott Palmer
is not anywhere near the limit and it is the occasional stutter that is the problem, but I'm not certain. Knowing that helps to point in which direction to go. The fact that it runs pretty well on a PI is indication that it isn't the framerate. Richard On May 31, 2013, at 4:26 AM, Scott Palmer swpal

Re: JavaFX graphics performance and suitability for advanced animations

2013-05-31 Thread Scott Palmer
, at 1:32 AM, Scott Palmer swpal...@gmail.com wrote: Richard, I suspect you made a typo. I think you mean *40*ms is a really odd number... (it was 25 FPS, not 25ms) I quickly hacked it to use AnimationTimer and the animation is very smooth now. Though I didn't make the required

Re: JavaFX graphics performance and suitability for advanced animations

2013-05-31 Thread Scott Palmer
No problem. I wish I took a look sooner! Scott On 2013-05-31, at 4:45 PM, Richard Bair richard.b...@oracle.com wrote: I pushed the fix to graphics. Thanks Scott for tracking that down! It looks 10x better. Richard On May 31, 2013, at 9:25 AM, Richard Bair richard.b...@oracle.com

Re: Canvas clip problems

2013-06-01 Thread Scott Palmer
This looks like it may be related to the clipping issue that I'm having (the one that forces me o use the software pipeline in JavaFX 8 or the j2d pipeline in JavaX 2.2) https://javafx-jira.kenai.com/browse/RT-30591 I'll try to do the same screencast thingy, as the still in my report don't do

Re: Canvas clip problems

2013-06-01 Thread Scott Palmer
Try -Dprism.order=sw with JavaFS 8 or -Dprism.order=j2d with JavaFX 2.2 to see if the clipping issue goes away. Also try -Dprism.dirtyopts=false to see if that fixes the smearing. On Sat, Jun 1, 2013 at 9:14 PM, Scott Palmer swpal...@gmail.com wrote: This looks like it may be related

Re: Canvas clip problems

2013-06-04 Thread Scott Palmer
as Scott makes the smear go away. On Sun, Jun 2, 2013 at 11:16 AM, Scott Palmer swpal...@gmail.com wrote: Try -Dprism.order=sw with JavaFS 8 or -Dprism.order=j2d with JavaFX 2.2 to see if the clipping issue goes away. Also try -Dprism.dirtyopts=false to see if that fixes the smearing

Re: Table Column Headers

2013-06-27 Thread Scott Palmer
Can you use CSS to set the Labeled to Graphic Only mode? Scott On Thu, Jun 27, 2013 at 1:01 PM, Mark Fortner phidia...@gmail.com wrote: Recently I found that I needed to make a custom table column header. I needed the column header background to be different, and I needed to display a

Re: [API Review]: Add 'fxml.version' to System Properties (Was: FXML version number)

2013-07-05 Thread Scott Palmer
+1 Let's keep the XML easy to deal with. This smells a little funky to me. Scott On 2013-07-05, at 12:59 PM, Danno Ferrin danno.fer...@shemnon.com wrote: I may be coming into this a little late, but I have concerns about using the default namespace for version identification. I feel a

Re: [API Review]: Node validation

2013-07-08 Thread Scott Palmer
one and not the other at times). Richard On Jul 8, 2013, at 9:27 AM, Scott Palmer swpal...@gmail.com wrote: Since CSS is implicitly tied to layout, validateLayout() seems to be enough. I don't like verify or check - To me, these imply a method that is doing checks only and not changing

Re: MSAA and Scene anti aliasing

2013-07-15 Thread Scott Palmer
I would vote for option b) Use a full class that can be extended later as needed. You don't have to use it like an enum. It could be a container for configuration parameters, possibly including the enum that says the antialiasing mode, but with separate fields (or maybe even just a single map)

ComboBoxTableCell: Can we make it easier to use?

2013-07-18 Thread Scott Palmer
ComboBoxTableCell is very awkward to use if you want to have graphics in the choices. There is poor support in general for setting the graphic for items in a combobox, we have a StringConverter for the text part, but no NodeConverter for the graphic part. With ComboBoxTableCell it gets worse

Fwd: API Change Proposal - Re: MSAA and Scene anti aliasing

2013-07-23 Thread Scott Palmer
copying the list... -- Forwarded message -- From: Scott Palmer swpal...@gmail.com Date: Tue, Jul 23, 2013 at 9:33 PM Subject: Re: API Change Proposal - Re: MSAA and Scene anti aliasing To: Chien Yang chien.y...@oracle.com Is DEFAULT intended to defer to the settings

Re: Can JavaFX do CAD?

2013-07-24 Thread Scott Palmer
You mention zoom level and bezier curves... I found JavaFX Path drawing combined with zooming and a ScrollPane was pathologically slow (approximately 100 times slower than normal). I filed an issue with a test case: RT-25166 I managed to speed it up a bit by avoiding the use of one of the

Re: Modularisation and repositories (forked from Re: Building JavaDoc and Sources JARs)

2013-07-29 Thread Scott Palmer
You also need the native resources to go with it. All the DLLs or .so files or what have you. That would imply yet another classifier. E.g. win-x86, win-x64, etc. (OS X would typically only be 64-bit, or use a fat binary) But what is the end goal? If it is just getting the jar for build

My app locks up with b100

2013-07-29 Thread Scott Palmer
I'm experiencing a lockup just as my UI should show when I try to run my app with JavaFX 8.0 b100 on OS X. Anyone else seeing anything like that? Scott

Re: My app locks up with b100

2013-07-30 Thread Scott Palmer
AM, Gerrit Grunwald han.s...@muenster.de wrote: B100 has problems when using webview...so it might be related to that if you use webview... Gerrit Am 30.07.2013 um 06:28 schrieb Scott Palmer swpal...@gmail.com: I'm experiencing a lockup just as my UI should show when I try to run my app

Missed pulse?

2013-07-30 Thread Scott Palmer
(I'm talking JavaFX2.x, but this happens in 8 as well.) In my application I occasionally see a situation where the rendering doesn't jive with what it should. For example I have implemented my own scroll pane (ironically enough I did this to workaround manifestations of a problem similar to what

Re: Missed pulse?

2013-07-31 Thread Scott Palmer
Interesting. The problem outlined in RT-31025 does involve GridPane with ColumnConstraints. I will try to dig up the code. Scott On Wed, Jul 31, 2013 at 4:47 AM, Diego Cirujano-Cuesta diego.cirujano-cue...@zeiss.com wrote: Hi Scott, I have a component quite similar to the one you

Re: Missed pulse?

2013-07-31 Thread Scott Palmer
the TabPane There is an issue with BASELINE alignment and ComboBoxes that was also affecting my real app. That isn't demonstrated here. Scott On Wed, Jul 31, 2013 at 10:42 AM, Scott Palmer swpal...@gmail.com wrote: Interesting. The problem outlined in RT-31025 does involve GridPane

Re: Missed pulse?

2013-08-05 Thread Scott Palmer
be great if Scott could upload the source code somewhere available for all. Diego From:Scott Palmer swpal...@gmail.com To:Richard Bair richard.b...@oracle.com Cc:Diego Cirujano-Cuesta diego.cirujano-cue...@zeiss.com, openjfx-dev@openjdk.java.net openjfx-dev

Re: A different way to handle pulse timing

2013-08-05 Thread Scott Palmer
The idea of user event starvation has been mentioned before and has me a little confused… Why aren't things handled as a simple queue, with no priorities or anything, so starvation is impossible? Is this something the OS is doing? In terms of rendering fast enough that you can fit things

Re: A different way to handle pulse timing

2013-08-05 Thread Scott Palmer
On 2013-08-05, at 12:49 PM, David Hill david.h...@oracle.com wrote: On 8/5/13 Aug 5, 12:27 PM, Scott Palmer wrote: The idea of user event starvation has been mentioned before and has me a little confused… Why aren't things handled as a simple queue, with no priorities or anything, so

Re: JavaFX Media issues

2013-08-08 Thread Scott Palmer
The Media APIs are mostly useless in their current state. Other than demoing that you can play a video, they don't go far enough to be of practical value. I tried to get someone to pay attention to them back in the JavaFX 1.0 days https://javafx-jira.kenai.com/browse/RT-2684 at least someone

Re: JavaFX Media issues

2013-08-08 Thread Scott Palmer
, Scott On Thu, Aug 8, 2013 at 9:06 PM, John Hendrikx hj...@xs4all.nl wrote: On 9/08/2013 02:10, Scott Palmer wrote: The Media APIs are mostly useless in their current state. Other than demoing that you can play a video, they don't go far enough to be of practical value. I tried to get someone

Re: Canvas blowing up (was Re: JavaFX Media issues)

2013-08-09 Thread Scott Palmer
That's okay for a quick hack. In the case of a video preview surface, I will be explicitly setting the value for every pixel from a ByteBuffer. You could save the extra step of doing a rectFill or clearRect if you knew that every pixel was about to be overwritten. It's a reasonable

Re: Poor quality font rendering

2013-08-22 Thread Scott Palmer
To do a fair comparison you need to use the same font face,size, foreground and background colors, etc. and compare the native and java -rendered text side by side (even at the same pixel coordinates in case it makes a difference). John H. mentioned Arial 16px normal in the CSS, and he mentions

JavaFX 2.2.40 FCS?

2013-08-22 Thread Scott Palmer
I see the latest jdk7 EA build is now labelled FCS.. I guess that means it's a done deal and is just soaking a bit before being put up on oracle.com? Scott

Re: Default Font in JavaFX 2.2 and JavaFX 8

2013-08-24 Thread Scott Palmer
I pressed send just a moment too soon it seems. That makes sense. Perhaps the comment in the CSS file should reflect that? Scott On Sat, Aug 24, 2013 at 10:55 AM, Richard Bair richard.b...@oracle.comwrote: It depends on the platform. We choose as the default whatever the OS tells us the

Re: Performance benchmarks

2013-08-26 Thread Scott Palmer
Might I suggest nodecount.PathBench I bring it up because Path performance is costly for my app, when it represents a fraction of the number of pixels rendered. I.e. it could use some attention and with a test app like these at least you will know when things are going in the right direction

Re: Poor quality font rendering

2013-08-28 Thread Scott Palmer
From what I have observed, Text and Label appear to have different defaults for when antialiasing is applied. Text will do it always, Label only when the font is greater than a certain size. Scott On 2013-08-28, at 5:26 AM, John C. Turnbull ozem...@ozemail.com.au wrote: Hi Felipe, Thanks

Re: Poor quality font rendering

2013-08-28 Thread Scott Palmer
. On Wed, Aug 28, 2013 at 5:23 AM, Scott Palmer swpal...@gmail.com wrote: From what I have observed, Text and Label appear to have different defaults for when antialiasing is applied. Text will do it always, Label only when the font is greater than a certain size. Scott On 2013-08-28

Re: Will video and audio recording make it to jdk8?

2013-09-06 Thread Scott Palmer
Is VanNess 8.1 or 9.0? Scott On 2013-09-06, at 4:02 PM, Christian Schudt christian.sch...@gmx.de wrote: Just recently the Camera and Microphone feature was rescheduled from Lombard to Van Ness. As well as some related issues, like radio streaming. So unfortunately, I guess no.

Re: [API Review] : Baseline offset depends on layout bounds which are calculated during layout

2013-09-09 Thread Scott Palmer
I don't get it. When is the height ever the correct position for the baseline? The height value can't actually be used as the baseline as that would mean descenders are cut off. How can the layout container compute the baseline for a node if it isn't what is painting the text? Scott On Mon,

Re: PrefWidth/Height calculations only works if stage is shown

2013-09-24 Thread Scott Palmer
On Wed, Aug 28, 2013 at 3:18 PM, John Smith john_sm...@symantec.com wrote: I hadn't seen the applyCSS conversation, but looks like it was contained deep in a node validation thread: http://mail.openjdk.java.net/pipermail/openjfx-dev/2013-July/008549.html Looks like the request is already

Re: PrefWidth/Height calculations only works if stage is shown

2013-09-24 Thread Scott Palmer
I should point out that what I'm doing does appear to work in JavaFX 8. But I need something that works in Java 7u40. Scott On Tue, Sep 24, 2013 at 8:40 PM, Scott Palmer swpal...@gmail.com wrote: [replying back to the list] Ah.. well the trick here is that I need to apply a scale transform

Re: Strange NullPointerException when I use a certain CSS.

2013-09-26 Thread Scott Palmer
I found a better way to implement that feature so I stopped caring :-) Scott On 2013-09-26, at 4:01 PM, Richard Bair richard.b...@oracle.com wrote: Hi Scott, Did this ever get answered? Is the issue reproducible on the latest 8 builds? Thanks Richard On May 8, 2013, at 7:10 AM, Scott

Re: JavaFX Media HTTPS support

2013-10-03 Thread Scott Palmer
I'm curious about only one instance for MP4 playback. QuickTime Player on OS X simultaneously plays multiple MP4s. Of course it isn't using GStreamer, but if you are going direct to QuickTime for HTTPLS what's stopping you from doing the same for MP4? Scott On Thu, Oct 3, 2013 at 4:28 AM,

Reacting to mouse events on a TreeCell. Is it supposed to be this awkward?

2013-10-08 Thread Scott Palmer
I'm investigating a memory leak and it seems that the culprit is event listeners attached to TreeCells The GC roots of my leaks are deep in the JavaFX window/event system In a class extending TreeCell, am calling methods on such as: setOnContextMenuRequested(contextMenuRequestHandler);

Re: Reacting to mouse events on a TreeCell. Is it supposed to be this awkward?

2013-10-08 Thread Scott Palmer
in JavaFX 8.0. One thing that sticks out: you don't say if you're using WeakEventHandler or EventHandler instances. If you're using EventHandler you could consider using WeakEventHandler. This may help to alleviate some of the memory leak. -- Jonathan On 9/10/2013 8:37 a.m., Scott Palmer wrote

Re: Reacting to mouse events on a TreeCell. Is it supposed to be this awkward?

2013-10-08 Thread Scott Palmer
) at com.sun.javafx.binding.ExpressionHelper$SingleChange.init(Unknown Source) at com.sun.javafx.binding.ExpressionHelper.addListener(Unknown Source) at javafx.beans.binding.ObjectBinding.addListener(Unknown Source) On Tue, Oct 8, 2013 at 4:00 PM, Scott Palmer swpal...@gmail.com wrote

Re: JavaFX on iOS and Android - are we there yet?

2013-10-22 Thread Scott Palmer
+1 for native keyboard support. Unless you want to emulate the dictation feature in iOS and all that kind of stuff, you pretty much have to use the native keyboard. But I think native widgets in general could be postponed, so long as JNI could be used to implement settings and the sort of thing

Re: Proportional paint object behavior inconsistent and needs to change

2013-11-18 Thread Scott Palmer
I would lean towards using the stroke bounds for both. Those being the real bounds, and resulting in less mis-aligned gradients. Always calculate the stroke bounds as if the shape will be stroked, so it doesn't affect Canvas. If you don't want that to affect the bounds used for a gradient fill

Re: Proportional paint object behavior inconsistent and needs to change

2013-11-18 Thread Scott Palmer
expensive bounds operation for ever shape that is filled even if the extra work would never come into play...? ...jim On 11/18/2013 4:58 PM, Scott Palmer wrote: I would lean towards using the stroke bounds for both. Those being the real bounds, and resulting in less mis-aligned

Re: Focus handling on custom controls

2013-11-20 Thread Scott Palmer
I did this by putting a TextField and a button in a region, and positioning the button manually in the layout method to be just inside the right edge of the TextField. Simple manipulation of the TextField's insets in the CSS prevents the text from going under the button. I set the button so

Re: HEADS-UP: switching to gradle 1.8 for next week's build

2013-11-20 Thread Scott Palmer
or Ubuntu or SuSe having dependencies that keep changing is very problematic. Of course, upstream should rarely care about those problems unless they want to be nice for downstream users :) I hope this explain a bit more why my concerns regarding this topic. Cheers, Mario 2013/11/20 Scott

Re: To Be Or Not To Be (Native), was:Look and feel mechanism?

2013-12-09 Thread Scott Palmer
that is not so heavily dependent on the native Look and Feel and doesn't need to be. There are probably hundreds of thousands of apps that are like this. They are everywhere and JavaFX is *perfect* for them! Scott Palmer has argued that this approach is not valid (and sorry Scott if am

Re: To Be Or Not To Be (Native), was:Look and feel mechanism?

2013-12-09 Thread Scott Palmer
Doesn’t this also imply that you are using AWT/Swing? JavaFX has no way to be hosted in anything other than a JFXPanel or a JavaFX Stage. Only the JFXPanel can be hosted in a windows that allows heavy weight (native) controls, or even allows JNI code to get the window handle so you can

Re: Look and feel mechanism?

2013-12-09 Thread Scott Palmer
I see the point of he higher-level abstraction, but I think we need more control over the user experience than that for most cases. If not simply for aesthetics, there are times when I know I want a combobox vs. a spinner vs. a list with a single selection model. What we need are more of what

Re: Look and feel mechanism?

2013-12-09 Thread Scott Palmer
official solution will ever be provided by Oracle. I guess that we all need to do what works for ourselves in this area which is admittedly unfortunate and undesirable... On 10 December 2013 07:49, Scott Palmer swpal...@gmail.com wrote: I see the point of he higher-level abstraction, but I

Re: Reloading stylesheets

2013-12-10 Thread Scott Palmer
: That doesn't work in 2.x because the CSS is cached on a scene base! A trick that could work is to load the CSS with an URL like this like: my.css?timestamp=123456789 but I have not tried that and don't know if this would work. Tom On 10.12.13 13:41, Scott Palmer wrote: Have you tried simply removing

b119 layout issues

2013-12-11 Thread Scott Palmer
I'm seeing very significant layout issues in b119. Content is rendering outside of it's parent container when it shouldn't be. The parent should be re-sizing to accomodate the content, but it isn't, or it is resizing based on an old size of the child content. Borders are not painting properly

Re: To Be Or Not To Be (Native), was:Look and feel mechanism?

2013-12-11 Thread Scott Palmer
is *perfect* for them! Scott Palmer has argued that this approach is not valid (and sorry Scott if am inaccurately

Re: b119 layout issues

2013-12-11 Thread Scott Palmer
This appears to be a significant regression in JavaFX 8. I have created https://javafx-jira.kenai.com/browse/RT-34849 with a test case. Scott On Wed, Dec 11, 2013 at 10:58 AM, Scott Palmer swpal...@gmail.com wrote: I'm seeing very significant layout issues in b119. Content is rendering

Re: [announce] InhiBeans: mitigate redundant recalculations

2013-12-15 Thread Scott Palmer
Interesting idea. There is a case I have been curious about and wonder what the best practices are for it. Suppose you have a case when you are changing multiple different properties that will be used in a single calculation. You want to deal with a single change to all of them in one go. E.g.

Re: [announce] InhiBeans: mitigate redundant recalculations

2013-12-15 Thread Scott Palmer
little piece of observer code runs on the JavaFX thread. Since nothing can modify the properties except on the JavaFX thread, this is almost like a form of transactions, ensuring that every change has completed before observing the results. --John On 15/12/2013 18:39, Scott Palmer wrote

Re: [announce] InhiBeans: mitigate redundant recalculations

2013-12-15 Thread Scott Palmer
Good stuff! This is the sort of thing that might make a good contribution to extend the standard Bindings class. Scott On Sun, Dec 15, 2013 at 5:49 PM, Tomas Mikula tomas.mik...@gmail.comwrote: On Sun, Dec 15, 2013 at 6:39 PM, Scott Palmer swpal...@gmail.com wrote: Interesting idea

Re: 8u API Review request: RT-153 : [Stage] Option to keep Stages always on top

2014-01-07 Thread Scott Palmer
A couple quick questions: Why is the property Read-Only? Can the setter only be called once? Does it have to be set before the Stage is shown? Should it be an initAlwaysOnTop(boolean value)? Cheers, Scott On Tue, Jan 7, 2014 at 8:27 AM, Martin Sladecek martin.slade...@oracle.comwrote:

Launching JavaFX apps

2014-01-08 Thread Scott Palmer
Based on the discussion I saw in the comments for RT-34236 I discovered that using com.javafx.main.Main is not the way JavaFX 8 is supposed to work. There are comments that read, ...making sure their Application class has a main that calls launcher(String[] args). This seems to imply that a main

Re: Announcing Monocle, an experimental port of Glass for embedded systems

2014-01-08 Thread Scott Palmer
What's the situation on Raspberry Pi? I got one for Christmas and made a quick memory game for my daughter with JavaFX - works great. Should I bother trying or do you already know it doesn't work? Scott On Wed, Jan 8, 2014 at 7:00 PM, Daniel Blaukopf daniel.blauk...@oracle.comwrote: Hi, A

javafxpackager and launcher

2014-01-08 Thread Scott Palmer
The Java 8 java.exe launcher is now JavaFX aware in that it will launch JavaFX Applications that don't have a main(String []) method. The javafxpackager uses it's own launcher when creating a native package. Are there plans to unify those launchers? I noticed a comment under future work in

Serious ClassLoader issues with standard JavaFX packaging.

2014-01-09 Thread Scott Palmer
Has anyone tried using a custom Log Formatter with a JavaFX app, where the log formatter was not part of the main application jar? We have a class implementing java.util.logging.Formatter that is present in a utility Jar. That utility jar is specified on the classpath for our JavaFX application

Re: javafxpackager and launcher

2014-01-10 Thread Scott Palmer
Comments inline… On Jan 10, 2014, at 12:11 PM, Danno Ferrin danno.fer...@shemnon.com wrote: I came on board working on the packager stuff last month. Nearly all of the design decisions for this were made before I came on board, but I will do my best to explain it. I'm wondering why

Re: javafxpackager and launcher

2014-01-10 Thread Scott Palmer
What I'm referring to is data that is already available to the packager that is not being used effectively. It's only applied to JNLP data or something, when it can also apply to the resources in the launcher exe. I think the two issues are distinct. Scott On Fri, Jan 10, 2014 at 5:23 PM,

Re: Launching JavaFX apps

2014-01-15 Thread Scott Palmer
Thanks. I'm participating in NetCat 8.0 so I'm well aware of that link :-). But this doesn't appear to be a NetBeans issue. Inclusion of metadata into the launcher stub is not implemented in the javafxpackager command line tool or ant task as far as I can tell. (I'm using the gradle plugin

Re: Launching JavaFX apps

2014-01-15 Thread Scott Palmer
:40, Scott Palmer wrote: Thanks. I'm participating in NetCat 8.0 so I'm well aware of that link :-). But this doesn't appear to be a NetBeans issue. Inclusion of metadata into the launcher stub is not implemented in the javafxpackager command line tool or ant task as far as I can tell. (I'm

Re: Launching JavaFX Apps with Java 8

2014-01-23 Thread Scott Palmer
, Jan 23, 2014 at 8:53 PM, Alexander Kouznetsov alexander.kouznet...@oracle.com wrote: I would expect the same. However, there are bugs already filed on this: https://javafx-jira.kenai.com/browse/RT-19863 Best regards, Alexander Kouznetsov (408) 276-0387 On 23 янв 2014 17:31, Scott

Re: JavaFX Performance with Debugger attached

2014-01-29 Thread Scott Palmer
to Tools - Options - Java - Java Debugger - Visual Debugging and uncheck Track locations of component hierarchy changes. Cheers, Scott On Fri, Jan 24, 2014 at 7:16 AM, Scott Palmer swpal...@gmail.com wrote: Only line breakpoints. But you are on to something I just did some experiments: If I

RT-24371 or just a documentation issue?

2014-02-13 Thread Scott Palmer
// How NOT to do this private void removeSelectedListItemsBAD(ListView list) { list.getItems().removeAll(list.getSelectionModel().getSelectedItems()); list.getSelectionModel().clearSelection(); } Can you spot the flaw? Hint... Try it on a list, but only select the first item. Related issue:

Re: Heads up... changing the rt/build/*sdk/ directory

2014-02-14 Thread Scott Palmer
Are you guys using the NetBeans Gradle plugin? Scott On Fri, Feb 14, 2014 at 2:17 PM, Kevin Rushforth kevin.rushfo...@oracle.com wrote: Thanks David. For NB 7.4 (or 8) users, you should be able to just open up the apps projects in NB and have it work without needing to do anything extra.

Re: Poor font rendering..

2014-03-06 Thread Scott Palmer
This looks to me like a sub-pixel horizontal alignment issue. Perhaps it is just a difference in kerning or something along those lines? Scott On Thu, Mar 6, 2014 at 4:21 AM, Robert Fisher rfis...@tesis.de wrote: Hi all, I think there is still room for improvement in terms of the

Re: Poor font rendering..

2014-03-06 Thread Scott Palmer
. On 3/6/2014 10:40 AM, Scott Palmer wrote: I think the stem of the L is colored differently because of *sub-pixel* differences in its position. I.e. it appears to be at the same integer position, but it isn't at the same real position. It looks to me like that alone could account

Lambda Lambda

2014-03-20 Thread Scott Palmer
So I'm looking at Java 8 stuff now and I see that addListener has methods. One takes a ChangeListener, the other an InvalidationListener. So what does this do: Node n = getSomeNode(); n.managedProperty().addListener(x - test(x)); Well it seems it adds an InvalidationListener. So I tried this:

Re: Lambda Lambda

2014-03-20 Thread Scott Palmer
to produce. If there was ambiguity, the compiler would complain. Richard On Mar 20, 2014, at 12:54 PM, Scott Palmer swpal...@gmail.com wrote: So I'm looking at Java 8 stuff now and I see that addListener has methods. One takes a ChangeListener, the other an InvalidationListener. So what does

Re: Lambda Lambda

2014-03-20 Thread Scott Palmer
So why doesn't this complain: n.managedProperty().ChangeListeneraddListener(x - test(x)); ChangeListener has no business being there. Scott On Thu, Mar 20, 2014 at 4:02 PM, Scott Palmer swpal...@gmail.com wrote: Thanks.. just figured that out myself. As my colleague just said to me the world

Re: Adding GStreamer plugins

2014-03-23 Thread Scott Palmer
I applaud your effort, but please consider while you are doing this: Addressing RT-18009 is good Addressing RT-2684 is way better. https://javafx-jira.kenai.com/browse/RT-2684 If there is a mechanism to write a stub plugin that hooks into the GStreamer plugin mechanism such that end users of

Re: Glass Robot and getSCreenCapture

2014-03-26 Thread Scott Palmer
It isn't public API now.. but keep in mind that making it public in some way has been requested for over two years. See RT-17571 Since those issues have made the internal Robot API known, no doubt people are using it. (We all know how well people listen to the warnings about using internal APIs

All-Permissions not working properly with sun.plugin2.applet.FXAppletSecurityManager

2014-04-14 Thread Scott Palmer
Can someone confirm that all-permissions is working for JavaFX apps that are launched via Web Start with Java 8.0 and use daemon threads in a Service? I have a JNLP file that has: security all-permissions/ /security and the manifest of my app's jar has the following instruction in my Gradle

Re: Should Canvas have been Image subclass instead of Node?

2014-04-22 Thread Scott Palmer
It would be great if you could get a Graphics context for drawing into a WritableImage instead of having to deal with snapshots. But I suppose you could build something like that based on Canvas that would update an image. Scott On Apr 22, 2014 6:52 PM, Jeff Martin j...@reportmill.com wrote:

Re: Should Canvas have been Image subclass instead of Node?

2014-04-23 Thread Scott Palmer
PM, Scott Palmer swpal...@gmail.com wrote: It would be great if you could get a Graphics context for drawing into a WritableImage instead of having to deal with snapshots. But I suppose you could build something like that based on Canvas that would update an image. Scott On Apr 22, 2014 6:52

Javadocs and CSS

2014-05-16 Thread Scott Palmer
Should a better cross-reference or mention of CSS properties in the Javadocs? Many properties can be set via calling methods or through CSS, but when browsing the Javadocs the related CSS properties are not mentioned (at least not in most cases). The package docs for javafx.scene mention the CSS

Re: Javadocs and CSS

2014-05-16 Thread Scott Palmer
Created https://javafx-jira.kenai.com/browse/RT-37168 On Fri, May 16, 2014 at 10:57 AM, David Grieve david.gri...@oracle.com wrote: Would you mind creating a bug for this? On 5/16/14, 10:38 AM, Scott Palmer wrote: Should a better cross-reference or mention of CSS properties

Re: Javadocs and CSS

2014-05-16 Thread Scott Palmer
and theme to theme and so are an implementation detail. Tom Von meinem iPhone gesendet Am 16.05.2014 um 16:38 schrieb Scott Palmer swpal...@gmail.com: Should a better cross-reference or mention of CSS properties in the Javadocs? Many properties can be set via calling methods or through

Re: Layout regression

2014-05-22 Thread Scott Palmer
This appears to be a bug introduced in JavaFX 8 I have filed https://javafx-jira.kenai.com/browse/RT-37252 and will work on a test case. Scott On Thu, May 22, 2014 at 3:45 PM, Scott Palmer swpal...@gmail.com wrote: I'm investigating an issue with my application where things are working fine

Gradle Scripts

2014-05-27 Thread Scott Palmer
I know the wiki says only Gradle 1.8 is guaranteed to work so I have to ask: Why not use the Gradle Wrapper to force use of 1.8? http://www.gradle.org/docs/current/userguide/gradle_wrapper.html Well, I tried tweaking the build scripts to use it myself, running on OS X and found that the scripts

Re: Gradle Scripts

2014-05-27 Thread Scott Palmer
complaining. Cheers, Scott On Tue, May 27, 2014 at 11:56 AM, Scott Palmer swpal...@gmail.com wrote: I know the wiki says only Gradle 1.8 is guaranteed to work so I have to ask: Why not use the Gradle Wrapper to force use of 1.8? http://www.gradle.org/docs/current/userguide/gradle_wrapper.html Well, I

Re: Gradle Scripts

2014-05-27 Thread Scott Palmer
native compilation would be good. Do you want to file a JIRA for this? -- Kevin Scott Palmer wrote: I know the wiki says only Gradle 1.8 is guaranteed to work so I have to ask: Why not use the Gradle Wrapper to force use of 1.8? http://www.gradle.org/docs/current/userguide

Re: Gradle Scripts

2014-05-27 Thread Scott Palmer
is compiled). If you would like to file a JIRA we can look into it for 8u40. It would be great to fix the scripts so it works with 1.8 and 1.12. -- Kevin Scott Palmer wrote: I am using a clone of http://hg.openjdk.java.net/openjfx/8u-dev/rt/ *** I have updated to the 8u5-b13 tag

Re: Fwd: All-Permissions not working properly with sun.plugin2.applet.FXAppletSecurityManager

2014-06-11 Thread Scott Palmer
! Two bugs created for this: security manager and applet-desc webstart mode: https://bugs.openjdk.java.net/browse/JDK-8040231 reflection in daemon thread: https://bugs.openjdk.java.net/browse/JDK-8040699 -thomas *From: *Scott Palmer swpal...@gmail.com *Subject: **All-Permissions

Re: Formatted text field API (RT-14000, RT-30881)

2014-06-11 Thread Scott Palmer
(and it's up to the developer to make it uneditable), so I'll make the value rw. -Martin On 11.6.2014 16:03, Scott Palmer wrote: There are two cases for this: - a regular binding could be used with a read-only FormattedTextField for cases where you want the text representation shown

Re: Fwd: All-Permissions not working properly with sun.plugin2.applet.FXAppletSecurityManager

2014-06-11 Thread Scott Palmer
Rushforth kevin.rushfo...@oracle.com wrote: These are now assigned to Dmitry Cherapanov who I have copied here in case he isn't on the openjfx alias. They are both targeted to JDK 9. -- Kevin Scott Palmer wrote: I tried to send an email to Thomas asking about the status of these issues

Re: Exposing native surface or opengl handle

2014-06-13 Thread Scott Palmer
This is critical, but I don't think we need to focus on a specific technology like Direct3D or OpenGL. As a first step all we need is a mechanism to get a native reference to the Window. Just like we can with JAWT. I'm guessing that JavaFX doesn't use heavyweight child windows so we could add

Re: All-Permissions not working properly with sun.plugin2.applet.FXAppletSecurityManager

2014-06-13 Thread Scott Palmer
(so you can at least track progress), but I suspect they cannot in their current form, in which case new bugs should be filed with the confidential information moved to confidential comments in the bug. I will help with this. -- Kevin Scott Palmer wrote: Drat... I was hoping

Re: JavaFX at JavaOne 2014

2014-06-23 Thread Scott Palmer
That first article was so wrong about nearly everything mentioned in it that it made me want to vomit. On Jun 23, 2014, at 2:31 PM, John Smith john_sm...@symantec.com wrote: I don't know much about Android, but does it have to be a VM, or could you use ART or an ART equivalent:

Re: ANGLE - Translating OpenGL ES 2 code to DirectX?

2014-07-23 Thread Scott Palmer
If I'm resorting to native code I care a lot less about it being cross-platform (not 100% less, but less). Give me a GLContext on Linux and Mac and whatever DirectX has on Windows. I just want a way to get content generated on the native side to the screen without losing performance. Scott

Re: ANGLE - Translating OpenGL ES 2 code to DirectX?

2014-07-23 Thread Scott Palmer
Another way to get some native visualization (though a different kind perhaps) would be to address some limitations in the media APIs. MediaPlayer needs a mechanism to allow developers to plug in their own codecs. If it played a stream of frames generated from whatever JNI code I wished, I

8u20 broken in OS X Yosemite?

2014-07-27 Thread Scott Palmer
Is anyone testing on Yosemite? I installed the Yosemite public beta and am running with 8u20 b23 (also tested with 8u11, same results) Without violating my Beta Agreement with Apple, lets just say that I strongly suggest that someone at Oracle try it out and perhaps focus on: -AudioClips

Re: 8u20 broken in OS X Yosemite?

2014-07-27 Thread Scott Palmer
Just to follow up.. things are not as dire as I initially thought. After a reboot my application is working much better. On Sun, Jul 27, 2014 at 12:59 PM, Scott Palmer swpal...@gmail.com wrote: Is anyone testing on Yosemite? I installed the Yosemite public beta and am running with 8u20 b23

Re: How to learn the identity of the graphics card?

2014-07-31 Thread Scott Palmer
I believe it is possible, though not through public API, to determine if you are using the software pipeline or not. If that isn't enough, how about just adapt at runtime by starting out with the more demanding animations and falling back automatically if the framerate doesn't meet your minimum

Accelerators - odd behavior

2014-09-26 Thread Scott Palmer
KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, KeyCombination.CONTROL_DOWN); KeyCombination cmdMinusFromCharacter = new Key*Character*Combination(-, KeyCombination.CONTROL_DOWN); Using the above like this: scene.getAccelerators().put(cmdMinus, runnable);

Re: Accelerators - odd behavior

2014-09-26 Thread Scott Palmer
(+, KeyCombination.CONTROL_DOWN); This is weird. On Fri, Sep 26, 2014 at 1:01 PM, Scott Palmer swpal...@gmail.com wrote: KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, KeyCombination.CONTROL_DOWN); KeyCombination cmdMinusFromCharacter = new Key*Character*Combination

  1   2   3   >