Re: How to see when a scene gets shown?

2013-06-13 Thread Artem Ananiev
On 6/13/2013 6:22 PM, Pedro Duque Vieira wrote: Hi David, But does that work for a scene that's embeded in a JXPanel? I would think there is no window in this case or is JXPanel the window? There is a window. It's not a regular top-level window, though. It's implicitly shown/hidden by

Re: Experience with piecewise migration Swing - JFX

2013-06-17 Thread Artem Ananiev
On 6/17/2013 5:17 PM, Anthony Petrov wrote: On 06/17/13 16:35, Werner Lehmann wrote: In addition to what has been said before, you could check Jira for keywords jfxpanel and/or swing. Just today we had another Mac-only problem. Apparently AWT is not as thread-safe on Mac as it is on Windows,

Re: Experience with piecewise migration Swing - JFX

2013-06-17 Thread Artem Ananiev
On 6/17/2013 6:00 PM, Werner Lehmann wrote: Artem, On 17.06.2013 15:37, Artem Ananiev wrote: Even with one JFXPanel and other Swing UI on the same window, you'll get a problem with tab focus movement: the jfxpanel would happily receive focus but then users cannot tab out of the jfxpanel

Re: JavaFX 8 Progress

2013-07-18 Thread Artem Ananiev
On 7/18/2013 3:00 AM, David Ray wrote: Hi Richard, I don't see any mention of WebStart and JavaFX on the milestone list - are issues surrounding (and suffocating :)) WebStart going to addressed as part of the JDK release 8 instead? Java Plugin and Java Web Start are not parts of JavaFX

Re: CFV: New OpenJFX Committer: Alexander Kouznetsov

2013-07-18 Thread Artem Ananiev
Vote: YES Artem On 7/10/2013 2:09 AM, Richard Bair wrote: I hereby nominate Alexander Kouznetsov to OpenJFX Committer. Alex is a member of the samples team, but also contributes to the core platform itself and to J1 demos. His recent work can be seen here:

Re: Disabling JavaFX minimise/maximise/etc buttons

2013-07-22 Thread Artem Ananiev
On 7/22/2013 11:14 AM, Pavel Safrata wrote: Hi Jonathan, I believe this has been neither requested nor discussed so far. I don't see why this couldn't be added, it just might have to be a conditional feature, we'll have to check. Feel free to file a feature request. Some native platforms

Re: Disabling JavaFX minimise/maximise/etc buttons

2013-07-23 Thread Artem Ananiev
on the desktop, which is not what users expect. Thanks, Artem -- best regards, Anthony On 07/22/2013 07:20 PM, Artem Ananiev wrote: On 7/22/2013 11:14 AM, Pavel Safrata wrote: Hi Jonathan, I believe this has been neither requested nor discussed so far. I don't see why this couldn't be added, it just

Re: Disabling JavaFX minimise/maximise/etc buttons

2013-07-24 Thread Artem Ananiev
On 7/24/2013 12:34 AM, Anthony Petrov wrote: Hi Werner, On 07/23/2013 03:19 PM, Werner Lehmann wrote: On 23.07.2013 12:39, Artem Ananiev wrote: To me, making a window non-resizable is a good way to make the window unmaximizable. Do you see any cases, when a window should be resizable

Re: Disabling JavaFX minimise/maximise/etc buttons

2013-07-24 Thread Artem Ananiev
On 7/24/2013 12:45 AM, Fabrizio Giudici wrote: On Tue, 23 Jul 2013 22:34:48 +0200, Anthony Petrov anthony.pet...@oracle.com wrote: I don't agree. IMO, it's annoying when I'm able to resize a window freely but unable to maximize it. This just doesn't look logical or convenient. I'm with

Re: WebView capabilities review

2013-07-24 Thread Artem Ananiev
On 7/24/2013 2:55 AM, Felix Bembrick wrote: Windows 7 64-bit here. On this platform, JavaFX web component is compiled without JIT support for JavaScript: https://javafx-jira.kenai.com/browse/RT-24998 It explains why it is slow, but it doesn't explain rendering artifacts. Thanks, Artem

Re: WebView capabilities review

2013-07-25 Thread Artem Ananiev
) perform so poorly? On 25 July 2013 02:02, Artem Ananiev artem.anan...@oracle.com mailto:artem.anan...@oracle.com wrote: On 7/24/2013 2:55 AM, Felix Bembrick wrote: Windows 7 64-bit here. On this platform, JavaFX web component is compiled without JIT

Re: hg: openjfx/8/graphics/rt: RT-26702 Poor DisplacementMap effect performance on Mac

2013-07-26 Thread Artem Ananiev
On 7/25/2013 9:24 PM, Richard Bair wrote: Hi Petr, We are in a separate thread discussing jitter where being able to measure dropped frames is crucial. We have the PulseLogger class which keeps track of this kind of information (at least, it measures the amount of time spent in a particular

Re: resize issue

2013-07-26 Thread Artem Ananiev
On 7/26/2013 7:35 PM, Peter Penzov wrote: I tested to resize component using mouse drag in JVM 8 b94. It's working very smooth and easy when I move the mouse and hold the border of the component. I also tested the same code in JVM 8 b99. It's not very easy to resize the component. I cannot hold

Re: A different way to handle pulse timing

2013-08-01 Thread Artem Ananiev
Hi, Richard, as far as I can read it, your idea is to start preparing the next frame right after synchronization (scenegraph to render tree) is completed for the previous frame. Do I get it correctly? If yes, we'll likely re-introduce the old problem with input events starvation. There will

Re: A different way to handle pulse timing

2013-08-06 Thread Artem Ananiev
On 8/5/2013 10:26 PM, Richard Bair wrote: In the past we have seen situations where there are so many tasks on the user event thread, that user response (even on desktop) was not acceptable. Some of these items are getting better as we improve design (ie less redundant layout operations causes

Re: A different way to handle pulse timing

2013-08-06 Thread Artem Ananiev
On 8/5/2013 9:09 PM, Richard Bair wrote: In the past we have seen situations where there are so many tasks on the user event thread, that user response (even on desktop) was not acceptable. Some of these items are getting better as we improve design (ie less redundant layout operations causes

Re: A different way to handle pulse timing

2013-08-06 Thread Artem Ananiev
On 8/6/2013 6:07 PM, Scott Palmer wrote: On 2013-08-06, at 9:10 AM, Artem Ananiev artem.anan...@oracle.com wrote: On 8/5/2013 10:26 PM, Richard Bair wrote: In this proposal, we also would be putting the next pulse on the end of the queue, so it is impossible to starve input events

Re: CFV: New OpenJFX Committer:Daniel Blaukopf

2013-08-06 Thread Artem Ananiev
Vote: yes. Artem On 8/6/2013 7:15 PM, David Hill wrote: I hereby nominate Daniel Blaukopf to OpenJFX Committer. Daniel is a member of the Embedded Device team, which means he works across various aspects of the platform. He is also the architect for the embedded device space. His recent work

Re: Swing and JavaFX thread merge

2013-08-07 Thread Artem Ananiev
Hi, Pedro Duque Vieira, this is in progress. JDK part is tracked in 8015477: http://bugs.sun.com/view_bug.do?bug_id=8015477 JavaFX part is described in RT-30694: https://javafx-jira.kenai.com/browse/RT-30694 Note that in JDK8/JavaFX8 single-threaded mode will not be a part of public API, it

Re: Swing and JavaFX thread merge

2013-08-08 Thread Artem Ananiev
). Is there a secret setting that has a different default with JAWS? NPEs look like a bug, either in AWT/FX, or in your application. I really doubt it's related to Java Web Start. Could you provide a test to reproduce the exceptions, please? Thanks, Artem jeff On Aug 7, 2013, at 5:06 AM, Artem Ananiev

Re: Exception in one JFXPanel kills other JFXPanels, too

2013-08-13 Thread Artem Ananiev
Hi, Werner, it looks like a bug in JFXPanel, could you file it to JIRA with a test case, please? Thanks, Artem On 8/13/2013 2:32 PM, Werner Lehmann wrote: Hi, I have noticed the following problem with exception handling and multiple JFXPanels (FX 2.2): 1. Two JFXPanels, J1 and J2 2.

Re: Swing and JavaFX thread merge

2013-08-13 Thread Artem Ananiev
Jeff, Werner, thank you very much for detailed evaluation. The issues you observe may be related to recent changes in AWT/Swing in 7u25. If my guess is correct, they should be fixed in the latest 7u40 builds. I know it's not released yet, but early access builds are available at java.net.

Re: Swing and JavaFX thread merge

2013-08-14 Thread Artem Ananiev
, Artem Ananiev wrote: Jeff, Werner, thank you very much for detailed evaluation. The issues you observe may be related to recent changes in AWT/Swing in 7u25. If my guess is correct, they should be fixed in the latest 7u40 builds. I know it's not released yet, but early access builds are available

CFV: New OpenJFX Committer: Mick Fleming

2013-08-15 Thread Artem Ananiev
I hereby nominate Mick Fleming (OpenJDK user name: mickf) to OpenJFX Commmitter. Mick is a member of JavaFX Controls team at Oracle. He fixed many bugs and implemented tons of features in virtually every JavaFX Control, from buttons to tables. Here is a short list of his commits:

Re: Why is almost everything in the API final

2013-09-02 Thread Artem Ananiev
As Jonathan said, Richard is the best person to answer this question, but let me provide my own thoughts below as well. On 9/2/2013 3:55 AM, Pedro Duque Vieira wrote: Hi, Why is almost everything in the API final? OK, I understand there is a security problem and not making things final

Result: New OpenJFX Committer: Chien Yang

2013-09-02 Thread Artem Ananiev
Voting for Chien Yang to OpenJFX Committer [1] is now closed. Yes: 6 Veto: 0 Abstain: 0 According to the Bylaws definition of Lazy Consensus [2], this is sufficient to approve the nomination. [1] http://mail.openjdk.java.net/pipermail/openjfx-dev/2013-August/009720.html [2]

Result: New OpenJFX Committer: Mick Fleming

2013-09-02 Thread Artem Ananiev
Voting for Mick Fleming to OpenJFX Committer [1] is now closed. Yes: 5 Veto: 0 Abstain: 0 According to the Bylaws definition of Lazy Consensus [2], this is sufficient to approve the nomination. [1] http://mail.openjdk.java.net/pipermail/openjfx-dev/2013-August/009732.html [2]

CFV: New OpenJFX Committer: Joseph Andresen

2013-09-25 Thread Artem Ananiev
I hereby nominate Joe Andresen to OpenJFX Committer. Joe is a member of JavaFX Graphics team at Oracle. His first changeset in Prism is dated by 2009, and total number of commits is close to one hundred. Full list of Joe's changesets in the open workspace is available from command line:

CFV: New OpenJDK Committer: Lisa Selle

2013-09-25 Thread Artem Ananiev
I hereby nominate Lisa Selle to OpenJFX Committer. Lisa is a member of JavaFX Embedded team. Her changes are all over the JavaFX code, from cursors and input events to makefiles and virtual keyboard. The list of Lisa's commits in the workspace: hg log -u Lisa Selle hg log -u Lisa.Selle

CFV: New OpenJFX Committer: Yao Wang

2013-09-25 Thread Artem Ananiev
I hereby nominate Yao Wang to OpenJFX Committer. Yao is a member of JavaFX Graphics team at Oracle. Most of recent Yao's changes are in 3D support code, but not only there: hg log -u Yao Wang Incomplete list of Yao's commits and reviews is also available by the following link:

Re: com.sun.prism.tkal.Window

2013-10-01 Thread Artem Ananiev
On 10/1/2013 8:27 PM, steve.x.northo...@oracle.com wrote: Hi FX developers, The class com.sun.prism.tkal.Window seems to have no references. Speak now if you know anybody who uses it, otherwise it will get deleted. This package was introduced as abstraction between Newt and Glass, so it's

Re: Keyboard events

2013-10-07 Thread Artem Ananiev
On 10/7/2013 2:40 AM, Pedro Duque Vieira wrote: Hi, I have the following use case: When the user presses shift and the mouse is hover the chart component the cursor must change to an open hand cursor signaling to the user that the chart is ready for a panning action. The problem is that for

Re: Keyboard events

2013-10-07 Thread Artem Ananiev
...@oracle.com wrote: That being said, this seems like a very common use case, and I wonder if there is something more we could do (in the longer term, short term do as Artem suggests) On Oct 7, 2013, at 3:56 AM, Artem Ananiev artem.anan...@oracle.com mailto:artem.anan

Re: Keyboard events

2013-10-07 Thread Artem Ananiev
. Thanks, Artem On Oct 7, 2013, at 3:56 AM, Artem Ananiev artem.anan...@oracle.com wrote: On 10/7/2013 2:40 AM, Pedro Duque Vieira wrote: Hi, I have the following use case: When the user presses shift and the mouse is hover the chart component the cursor must change to an open hand cursor signaling

Re: Keyboard events

2013-10-10 Thread Artem Ananiev
On 10/10/2013 3:11 AM, Pedro Duque Vieira wrote: Done. https://javafx-jira.kenai.com/browse/RT-33458 Thank you! Artem Thanks, best regards, On Wed, Oct 9, 2013 at 12:11 PM, Artem Ananiev artem.anan...@oracle.com mailto:artem.anan...@oracle.com wrote: On 10/9/2013 4:19 AM, Pedro

Result: New OpenJFX Committer: Joseph Andresen

2013-10-18 Thread Artem Ananiev
Voting for Joseph Andresen to OpenJFX Committer [1] is now closed. Yes: 8 Veto: 0 Abstain: 0 According to the Bylaws definition of Lazy Consensus [2], this is sufficient to approve the nomination. [1] http://mail.openjdk.java.net/pipermail/openjfx-dev/2013-September/010431.html [2]

Result: New OpenJFX Committer: Yao Wang

2013-10-18 Thread Artem Ananiev
Voting for Joseph Andresen to OpenJFX Committer [1] is now closed. Yes: 5 Veto: 0 Abstain: 0 According to the Bylaws definition of Lazy Consensus [2], this is sufficient to approve the nomination. [1] http://mail.openjdk.java.net/pipermail/openjfx-dev/2013-September/010436.html [2]

CFV: New OpenJFX Committer: Oleg Barbashov

2013-10-24 Thread Artem Ananiev
I hereby nominate Oleg Barbashov (OpenJDK user name: ogb) to OpenJFX Committer. Oleg is a member of JavaFX SQE team at Oracle. He is currently an Author in OpenJFX and is an active contributor to this project, about 30 changesets in the tests repository:

Re: CFV: New OpenJFX Committer: Oleg Barbashov

2013-10-24 Thread Artem Ananiev
On 10/24/2013 5:07 PM, Kevin Rushforth wrote: Vote: YES Btw, the correct repo is: http://hg.openjdk.java.net/openjfx/8/master/tests Thanks for correction. This is indeed the repo I meant. Artem -- Kevin Artem Ananiev wrote: I hereby nominate Oleg Barbashov (OpenJDK user name: ogb

Request for review: RT-28347 - DnD between two JFXPanels

2013-11-01 Thread Artem Ananiev
Hi, could you take a look at the following fix, please: http://cr.openjdk.java.net/~art/javafx/RT-28347/ Some information about the changes is available in bug comments: https://javafx-jira.kenai.com/browse/RT-28347 Thanks, Artem

Re: Serializing JFXPanel with java.beans.XMLEncoder

2013-11-05 Thread Artem Ananiev
Hi, Lidierth, could you provide the exception stack trace, please? It would help to understand whether you're over-optimistic or not :) Thanks, Artem On 11/5/2013 9:14 PM, Lidierth Malcolm wrote: When I add a JFXPanel to a Swing hierarchy that is then written to XML using

Re: did anyone encountered this?

2013-11-06 Thread Artem Ananiev
Yes, I've seen this many times. I didn't spend much time trying to understand what is the problem, though. The workaround is simple: just delete 3DViewer build folder. Thanks, Artem On 11/6/2013 5:35 PM, Assaf Yavnai wrote: :apps:experiments:3DViewer:compileJava FAILED FAILURE: Build

Re: JFXPanel with WebView in JDK8

2013-11-06 Thread Artem Ananiev
Hi, Lidierth, what JDK8 version do you run your app? This exception is expected, when an old JDK8 build is used. Thanks, Artem On 11/5/2013 11:37 PM, Lidierth Malcolm wrote: NOTE: THIS EXCEPTION OCCURS WITH JDK8, BUT NOT WITH JDK7 public class NewFXMain1 { public static void

Re: Scene Builder performance regression between 1.1 and 2.0

2013-11-07 Thread Artem Ananiev
On 11/7/2013 10:11 AM, Felix Bembrick wrote: Scene Builder 2.0 has very serious performance issues (on my machines at least). When running 1.1 2.0 side-by-side, 1.1 is very responsive and behaves very well. On the contrary, 2.0 is extremely sluggish with a few seconds between clicking on a

Re: Review Request: RT-34077 [Graphics, Swing] JFXPanel with WebView in JDK

2013-11-07 Thread Artem Ananiev
Hi, Petr, since the return value now depends on presence/absence of FX scene embedded into JFXPanel, shouldn't we also change setEmbeddedScene() in JFXPanel.HostContainer? Thanks, Artem On 11/7/2013 4:48 PM, Petr Pchelko wrote: Hello, OpenJFX community. Please review the fix for the

Re: Review Request: RT-34077 [Graphics, Swing] JFXPanel with WebView in JDK

2013-11-07 Thread Artem Ananiev
On 11/7/2013 7:38 PM, Stephen F Northover wrote: Artem old friend!! We are moving all sorts of comments like this over to the JIRA rather than sending them to the list. My bad. I've duplicated this question in RT-34077 comments. Thanks, Artem Steve On 2013-11-07 10:24 AM, Artem Ananiev

Re: Fwd: CFV: New OpenJFX Committer: Vadim Pakhnushev

2013-12-12 Thread Artem Ananiev
Vote: yes Artem On 12/12/2013 1:17 AM, David Hill wrote: I hereby nominate Vadim Pakhnushev to OpenJFX Committer. Vadim is a member of JavaFX Embedded team at Oracle. Vadim's changes are in Glass Windows/D3d: hg log -M -u vadim An incomplete list of Vadim's commits and reviews is also

Re: javafx.embed.singleThread=true not working

2014-02-03 Thread Artem Ananiev
Hi, Hendrik, please, try adding the following line to the very beginning of the main() method: PlatformImpl.startup(() - {}); PlatformImpl is an internal class from com.sun.javafx.application, so it is not an official way to do the job, it's just a workaround. Another option is to wrap

Result: New OpenJFX Committer: Victor Shubov

2014-02-14 Thread Artem Ananiev
Voting for Victor Shubov [1] was closed on Nov 07, 2013, but the results were never announced. Here they are: Yes: 4 Veto: 0 Abstain: 0 According to the Bylaws definition of Lazy Consensus [2], this is sufficient to approve the nomination. [1]

Re: Build Errors on Windows 8.1 / VS2012 Pro / JDK 1.8.0-b132 [was: Build Errors on Windows 8.1 / VS2010 Pro / JDK 1.8.0-b132]

2014-03-10 Thread Artem Ananiev
On 3/8/2014 1:04 AM, Kevin Rushforth wrote: Hi Kay, It looks like you are using VS2012 not 2010. We build JavaFX with VS 2010, and have some issues with 2012. However, we will need to resolve them at some point. Maybe someone else on the list has had luck building with VS 2012? I was able

Re: CFV: New OpenJFX Committer: Jerome Cambon

2014-05-16 Thread Artem Ananiev
Vote: yes Artem On 5/14/2014 9:39 PM, Stephen F Northover wrote: I hereby nominate Jerome Cambon to be an OpenJFX Committer. Jerome Cambon is a significant contributor of the JavaFX Scene Builder 2.0 product, and is the designated owner of the Inspector Panel as well as the CSS Panel. Jerome

Re: CFV: New OpenJFX Committer: Eric Le Ponner

2014-05-16 Thread Artem Ananiev
Vote: yes Artem On 5/14/2014 9:33 PM, Stephen F Northover wrote: I hereby nominate Eric Le Ponner to be an OpenJFX Committer. Eric Le Ponner is a significant contributor of the JavaFX Scene Builder 2.0 product, and is the architect of the SB Kit API as well as the designated owner of the

Re: CFV: New OpenJFX Committer: Sandra Lions-Piron

2014-05-16 Thread Artem Ananiev
Vote: yes Artem On 5/14/2014 9:48 PM, Stephen F Northover wrote: I hereby nominate Sandra Lions-Piron to be an OpenJFX Committer. Sandra Lions-Piron is a significant contributor of the JavaFX Scene Builder 2.0 product, and is the designated owner of the Hierarchy Panel as well as all menu

Re: CFV: New OpenJFX Committer: Yves Joan

2014-05-16 Thread Artem Ananiev
Vote: yes Artem On 5/14/2014 9:48 PM, Stephen F Northover wrote: I hereby nominate Yves Joan to be an OpenJFX Committer. Yves Joan is a significant contributor of the JavaFX Scene Builder 2.0 product, and is the designated owner of the Library Panel, Document Panel and product packaging.

Re: CFV: New OpenJFX Committer: Mo Chicharro

2014-05-16 Thread Artem Ananiev
Vote: yes Artem On 5/14/2014 9:48 PM, Stephen F Northover wrote: I hereby nominate Mo Chicharro to be an OpenJFX Committer. Mo Chicharro is a significant contributor of the JavaFX Scene Builder 2.0 product, and, as the visual and interaction designer, he is the designated owner of all FXML

Re: SnapCode is the first and only pure JavaFX IDE

2014-06-16 Thread Artem Ananiev
On 6/12/2014 5:36 AM, Jeff Martin wrote: Today we finished a two week port of the remaining Swing components of SnapCode to JavaFX, including the code editer, file manager, welcome panel, runtime browser/player and much more. That means JavaFX now has a real IDE written in JavaFX! Check out

Re: Only 1 GUI thread dialogs (was Re: 2 JavaFX applets in the same JVM)

2014-07-09 Thread Artem Ananiev
On 7/9/2014 1:51 AM, ngalarn...@abinitio.com wrote: Hi Steve, My understanding of Swing was that when in a modal dialog, which blocked the EDT, a second EDT was fired up for the duration of the dialog to keep the events flowing. Swing doesn't do that. When a modal dialog is shown, it starts

Re: CFV: New OpenJFX Committer: Alexander Matveev

2015-08-28 Thread Artem Ananiev
Vote: yes Artem On 08/28/15 4:55 AM, Kevin Rushforth wrote: I hereby nominate Alexander Matveev [1] to OpenJFX Committer. Alexander was an initial member of JavaFX team at Oracle when the OpenJFX project was created, and was on the initial list of approved committers [2]. His status as

Re: Subject: New OpenJFX Project Lead: Kevin Rushforth

2016-06-23 Thread Artem Ananiev
Vote: yes Artem On 6/23/16 8:01 PM, Alexandr Scherbatiy wrote: I hereby nominate Kevin Rushforth to OpenJFX Project Lead [1][2]. Kevin has been working in OpenJFX Project for several years and is currently acting as the de facto Project Lead. Group Leads of the Project’s Sponsoring Groups,

Re: CFV: New OpenJFX Committer: Murali Billa

2016-04-01 Thread Artem Ananiev
Vote: yes Artem On 4/1/16 12:04 AM, Kevin Rushforth wrote: I hereby nominate Murali Billa [1] to OpenJFX Committer. Murali is a member of JavaFX team at Oracle working on WebKit, who has contributed 10 changesets [5] to OpenJFX, at least 8 of which are significant. Votes are due by April

Re: Necessity of com.sun.javafx.embed.AbstractEvents

2016-09-16 Thread Artem Ananiev
Hi, Alexander, I believe I introduced that extra abstraction layer for FX/Swing events long time ago. At that time, we thought we might eventually want to embed different components than just JavaFX, but it doesn't make any sense these days. JFXPanel and FXCanvas contain a lot of FX specific

Re: CFV: New OpenJFX Committer: Victor Drozdov

2016-12-14 Thread Artem Ananiev
Vote: yes Artem On 12/13/16, 4:21 PM, Chris Bensen wrote: I hereby nominate Victor Drozdov [1] to OpenJFX Committer. Victor is a member of Java Deployment team at Oracle working on the Java Packager tool, who has contributed 11 changesets [5] to OpenJFX, at least 8 of which are

Re: JEP 286: Local-Variable Type Inference: Usage

2018-03-29 Thread Artem Ananiev
On 2018/03/29 9:36, Kevin Rushforth wrote: As a prerequisite, we would need to update the minimum boot JDK to JDK 10, which I was going to propose doing anyway -- it seems the right time now that JDK 10 is out. I have no objections to then allowing the use of 'var' in new code. Do any others