hg: openjfx/8/graphics/rt: RT-32239: Merged graphics tests.

2013-08-13 Thread hang . vo
Changeset: a1fe539edc60
Author:Pavel Safrata pavel.safr...@oracle.com
Date:  2013-08-13 08:26 +0100
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/a1fe539edc60

RT-32239: Merged graphics tests.

! .idea/graphics.iml
! build.gradle
- modules/graphics/src/stub/java/com/sun/javafx/UtilsTest.java
- 
modules/graphics/src/stub/java/com/sun/javafx/Utils_getScreenForPoint_Test.java
- 
modules/graphics/src/stub/java/com/sun/javafx/Utils_getScreenForRectangle_Test.java
- modules/graphics/src/stub/java/com/sun/javafx/WeakReferenceMapTest.java
- modules/graphics/src/stub/java/com/sun/javafx/WeakReferenceQueueTest.java
- modules/graphics/src/stub/java/com/sun/javafx/css/BooleanTypeTest.java
- modules/graphics/src/stub/java/com/sun/javafx/css/CssMetaDataTest.java
- modules/graphics/src/stub/java/com/sun/javafx/css/CursorTypeTest.java
- modules/graphics/src/stub/java/com/sun/javafx/css/DeclarationTest.java
- modules/graphics/src/stub/java/com/sun/javafx/css/EffectTypeTest.java
- modules/graphics/src/stub/java/com/sun/javafx/css/EnumTypeTest.java
- modules/graphics/src/stub/java/com/sun/javafx/css/FontSizeTypeTest.java
- modules/graphics/src/stub/java/com/sun/javafx/css/FontTypeTest.java
- 
modules/graphics/src/stub/java/com/sun/javafx/css/HonorDeveloperSettingsTest.java
- modules/graphics/src/stub/java/com/sun/javafx/css/InsetsTypeTest.java
- modules/graphics/src/stub/java/com/sun/javafx/css/Node_cssStyleMap_Test.java
- modules/graphics/src/stub/java/com/sun/javafx/css/PaintTypeTest.java
- modules/graphics/src/stub/java/com/sun/javafx/css/ParsedValueTest.java
- modules/graphics/src/stub/java/com/sun/javafx/css/PseudoClassTest.java
- modules/graphics/src/stub/java/com/sun/javafx/css/RuleTest.java
- 
modules/graphics/src/stub/java/com/sun/javafx/css/SelectorPartitioningTest.java
- modules/graphics/src/stub/java/com/sun/javafx/css/SizeTest.java
- modules/graphics/src/stub/java/com/sun/javafx/css/SizeTypeTest.java
- modules/graphics/src/stub/java/com/sun/javafx/css/StringTypeTest.java
- modules/graphics/src/stub/java/com/sun/javafx/css/StyleManagerTest.java
- modules/graphics/src/stub/java/com/sun/javafx/css/StyleTest.java
- modules/graphics/src/stub/java/com/sun/javafx/css/StylesheetTest.java
- modules/graphics/src/stub/java/com/sun/javafx/css/TestNode.java
- modules/graphics/src/stub/java/com/sun/javafx/css/TestNodeBase.java
- modules/graphics/src/stub/java/com/sun/javafx/css/TypeTest.java
- modules/graphics/src/stub/java/com/sun/javafx/css/URLTypeTest.java
- 
modules/graphics/src/stub/java/com/sun/javafx/css/converters/URLConverterTest.java
- modules/graphics/src/stub/java/com/sun/javafx/css/parser/CSSLexerTest.java
- modules/graphics/src/stub/java/com/sun/javafx/css/parser/CSSParserTest.java
- modules/graphics/src/stub/java/com/sun/javafx/image/ConverterTest.java
- modules/graphics/src/stub/java/com/sun/javafx/pgstub/CursorSizeConverter.java
- modules/graphics/src/stub/java/com/sun/javafx/pgstub/SVGPathImpl.java
- modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubAsyncImageLoader.java
- modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubFilterable.java
- modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubFontLoader.java
- modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubImageLoader.java
- 
modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubImageLoaderFactory.java
- modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubMasterTimer.java
- 
modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubPerformanceTracker.java
- modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubPlatformCursor.java
- modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubPlatformImage.java
- 
modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubPlatformImageCursor.java
- 
modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubPlatformImageInfo.java
- modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubPopupStage.java
- modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubScene.java
- modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubStage.java
- modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubTextLayout.java
- 
modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubTextLayoutFactory.java
- modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubToolkit.java
- modules/graphics/src/stub/java/com/sun/javafx/scene/KeyboardShortcutsTest.java
- modules/graphics/src/stub/java/com/sun/javafx/scene/layout/RegionTest.java
- 
modules/graphics/src/stub/java/com/sun/javafx/scene/layout/region/BackgroundFillConverterTest.java
- 
modules/graphics/src/stub/java/com/sun/javafx/scene/layout/region/BackgroundFillTest.java
- 
modules/graphics/src/stub/java/com/sun/javafx/scene/layout/region/BackgroundImageTest.java
- 
modules/graphics/src/stub/java/com/sun/javafx/scene/layout/region/BackgroundRepeatConverterTest.java
- 
modules/graphics/src/stub/java/com/sun/javafx/scene/transform/TransformUtilsTest.java
- 

hg: openjfx/8/graphics/rt: An attempt to fix ARM build; added armv6hf build

2013-08-13 Thread hang . vo
Changeset: eedc6eb68312
Author:peterz
Date:  2013-08-13 12:30 +0400
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/eedc6eb68312

An attempt to fix ARM build; added armv6hf build

! build.gradle
! modules/web/src/main/native/Source/JavaScriptCore/TargetJava.pri
! modules/web/src/main/native/Source/WebCore/TargetJava.pri



hg: openjfx/8/graphics/rt: RT-32240: Better Netbeans project for graphics module

2013-08-13 Thread hang . vo
Changeset: 02082767e713
Author:Pavel Safrata pavel.safr...@oracle.com
Date:  2013-08-13 09:57 +0100
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/02082767e713

RT-32240: Better Netbeans project for graphics module
 - cleaner sources/dependencies/libraries
 - produces jar closer to the gradle build
 - is capable of running tests

! netbeans/graphics/build.xml
! netbeans/graphics/nbproject/build-impl.xml
! netbeans/graphics/nbproject/genfiles.properties
! netbeans/graphics/nbproject/project.properties
! netbeans/graphics/nbproject/project.xml



Exception in one JFXPanel kills other JFXPanels, too

2013-08-13 Thread Werner Lehmann

Hi,

I have noticed the following problem with exception handling and 
multiple JFXPanels (FX 2.2):


1. Two JFXPanels, J1 and J2
2. Throw NPE in layoutChildren of a control inside J1

This would print a stacktrace (see below). Then J2 is blocked: mouse 
clicks have no effect anymore. I think I have seen something similar 
with invalid FXML but did not check again now. On the other hand, if a 
button action-event handler throws an exception everything is fine: 
stacktrace is printed but the JFXPanels stay alive.


What is the deal here? When are exceptions lethal, and what can I do 
to protect against this, preferably without adding a try..catch to each 
layoutChildren (and whereever else this might be needed)...


Werner


java.lang.NullPointerException: kaboom
at 
mint.javafx.scene.layout.designerpane.MintDesignerPane.layoutChildren(MintDesignerPane.java:192)
at javafx.scene.Parent.layout(Parent.java:1018)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Scene.layoutDirtyRoots(Scene.java:513)
at javafx.scene.Scene.doLayoutPass(Scene.java:484)
at javafx.scene.Scene.access$3900(Scene.java:169)
at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2199)
at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:363)
at 
com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:460)
at 
com.sun.javafx.tk.quantum.QuantumToolkit$9.run(QuantumToolkit.java:329)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at 
com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:73)
at java.lang.Thread.run(Unknown Source)




hg: openjfx/8/graphics/rt: Workaround for rt-32214 - Downgrade warning about window not being in list from SEVERE to WARNING - yes, this is an issue but it doesn't cause any loss of functionality so t

2013-08-13 Thread hang . vo
Changeset: b1e7f19d5e10
Author:lisa.se...@oracle.com
Date:  2013-08-13 07:16 -0400
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/b1e7f19d5e10

Workaround for rt-32214 - Downgrade warning about window not being in list from 
SEVERE to WARNING - yes, this is an issue but it doesn't cause any loss of 
functionality so there is no need for a SEVERE warning.

! modules/graphics/src/main/native-glass/lens/LensWindow.c



hg: openjfx/8/graphics/rt: Fix for Webkit-less build

2013-08-13 Thread hang . vo
Changeset: 6c44868107bd
Author:peterz
Date:  2013-08-13 15:38 +0400
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/6c44868107bd

Fix for Webkit-less build

! build.gradle



hg: openjfx/8/graphics/rt: Windows doesn't need libxml2/libxslt anymore

2013-08-13 Thread hang . vo
Changeset: a6f53477ead2
Author:peterz
Date:  2013-08-13 16:18 +0400
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/a6f53477ead2

Windows doesn't need libxml2/libxslt anymore

! modules/web/src/main/native/Source/WebCore/platform/java/javalibs.pl



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. Throw NPE in layoutChildren of a control inside J1

This would print a stacktrace (see below). Then J2 is blocked: mouse
clicks have no effect anymore. I think I have seen something similar
with invalid FXML but did not check again now. On the other hand, if a
button action-event handler throws an exception everything is fine:
stacktrace is printed but the JFXPanels stay alive.

What is the deal here? When are exceptions lethal, and what can I do
to protect against this, preferably without adding a try..catch to each
layoutChildren (and whereever else this might be needed)...

Werner


java.lang.NullPointerException: kaboom
at
mint.javafx.scene.layout.designerpane.MintDesignerPane.layoutChildren(MintDesignerPane.java:192)

at javafx.scene.Parent.layout(Parent.java:1018)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Scene.layoutDirtyRoots(Scene.java:513)
at javafx.scene.Scene.doLayoutPass(Scene.java:484)
at javafx.scene.Scene.access$3900(Scene.java:169)
at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2199)
at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:363)
at
com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:460)
at
com.sun.javafx.tk.quantum.QuantumToolkit$9.run(QuantumToolkit.java:329)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at
com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
at
com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:73)
at java.lang.Thread.run(Unknown Source)




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 through the control's Java 
properties, but since the spinners are embedded, this is not available on the 
calendar picker API. I would really like to be able to configure these 
properties in CSS.

If I remember correctly, CSS set properties were made possible. Is there some 
example or explanation on how to do this?

Regards, Tom




hg: openjfx/8/graphics/rt: Fixed testing projects with stub toolkit, broken by fix for RT-32239.

2013-08-13 Thread hang . vo
Changeset: 30b49047dc32
Author:Pavel Safrata pavel.safr...@oracle.com
Date:  2013-08-13 14:35 +0100
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/30b49047dc32

Fixed testing projects with stub toolkit, broken by fix for RT-32239.

! build.gradle



Re: Unchecked conversion warning

2013-08-13 Thread Tom Schindl
Hi Sven,

I'm building from master and don't see this. Do you build with gradle or
inside your IDE? I've so many type warnings in Eclipse (~12.000) that I
probably don't spot this warning. In the gradle build I think all
warnings are simply turned off.

Tom

On 13.08.13 15:29, Sven Reimers wrote:
 Hi guys,
 
 trying to compile
 
 ReadOnlyObjectPropertyWorker.State stateProperty =
 task.stateProperty();
 
 leads to
 
 warning: [unchecked] unchecked conversion
 ReadOnlyObjectPropertyWorker.State stateProperty =
 task.stateProperty();
   required: ReadOnlyObjectPropertyState
   found:ReadOnlyObjectProperty
 
 Not sure if this is something broken om my dev machine - can anyone confirm?
 
 Thanks
 
 -Sven
 



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 
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 through the control's Java 
properties, but since the spinners are embedded, this is not available on the 
calendar picker API. I would really like to be able to configure these 
properties in CSS.

If I remember correctly, CSS set properties were made possible. Is there some 
example or explanation on how to do this?

Regards, Tom







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. Could 
you run your apps with 7u40 and check if the problems are gone, please?


Thanks,

Artem

On 8/12/2013 4:51 PM, Werner Lehmann wrote:

Hi,

coincidentally we were experiencing the exact same problem with the
combination 7u25, OSX, Webstart. Also, we arrived at pretty much the
same workaround.

Investigation showed that multiple Swing eventqueues were created in the
above configuration. This would cause threading issues (NPE), paint
issues (flicker etc), drag-drop issues.

See below for a testcase: JFrame with a JButton and an fx button. When
clicked, the former prints its current thread, while the later switches
to EDT first (invokeLater) and then also prints the thread. On Windows,
this turns out to be the same thread as expected. On WebStart 7u25 OSX
we are getting different AWT-EventQueue-X threads.

Werner


public class TestSwingEDT extends JFrame{

  public static void main(final String[] args){
SwingUtilities.invokeLater(new Runnable() {
  @Override
  public void run() {
new TestSwingEDT().runTest(args);
  }
});
  }

  private void runTest(String[] args){

System.out.println(runTest in  + Thread.currentThread().getName());

this.setDefaultCloseOperation(EXIT_ON_CLOSE);
this.setSize(300, 200);

final JFXPanel jfxPanel = new JFXPanel();
Platform.runLater(new Runnable(){
  @Override
  public void run() {
Button btn = new Button(click me);
btn.onActionProperty().set(new EventHandlerActionEvent() {
  @Override public void handle(ActionEvent ae) {
System.out.println(jfx button click in  +
Thread.currentThread().getName());
SwingUtilities.invokeLater(new Runnable() {
  @Override public void run() {
System.out.println(invokeLater from jfx button click
in  + Thread.currentThread().getName());
  }
});
  }
});
HBox hbox = new HBox();
hbox.getChildren().add(btn);
jfxPanel.setScene(new Scene(hbox));
  }
});

JButton jbutton = new JButton(click me);
jbutton.addActionListener(new ActionListener() {
  @Override public void actionPerformed(java.awt.event.ActionEvent
e) {
System.out.println(jbutton click in  +
Thread.currentThread().getName());
  }
});

JPanel rootPanel = new JPanel();
rootPanel.add(jbutton);

this.getContentPane().add(jfxPanel, BorderLayout.NORTH);
this.getContentPane().add(rootPanel, BorderLayout.CENTER);

this.setVisible(true);

Platform.runLater(new Runnable(){
  @Override
  public void run() {
SwingUtilities.invokeLater(new Runnable() {
  @Override
  public void run() {
System.out.println(invokeLater in Platform.runLater in 
+ Thread.currentThread().getName());
  }
});
  }
});

  }
}


Re: Unchecked conversion warning

2013-08-13 Thread Tom Schindl
No warning in Eclipse so:
a) it is javac (Eclipse uses its own compiler)
b) it is netbeans use of javac

Tom

On 13.08.13 16:20, Sven Reimers wrote:
 Just use b102 create a new file and type the line...
 
 -Sven
 
 
 On Tue, Aug 13, 2013 at 4:01 PM, Tom Schindl
 tom.schi...@bestsolution.at mailto:tom.schi...@bestsolution.at wrote:
 
 Hi Sven,
 
 I'm building from master and don't see this. Do you build with gradle or
 inside your IDE? I've so many type warnings in Eclipse (~12.000) that I
 probably don't spot this warning. In the gradle build I think all
 warnings are simply turned off.
 
 Tom
 
 On 13.08.13 15:29, Sven Reimers wrote:
  Hi guys,
 
  trying to compile
 
  ReadOnlyObjectPropertyWorker.State stateProperty =
  task.stateProperty();
 
  leads to
 
  warning: [unchecked] unchecked conversion
  ReadOnlyObjectPropertyWorker.State stateProperty =
  task.stateProperty();
required: ReadOnlyObjectPropertyState
found:ReadOnlyObjectProperty
 
  Not sure if this is something broken om my dev machine - can
 anyone confirm?
 
  Thanks
 
  -Sven
 
 
 
 
 
 -- 
 Sven Reimers
 
 * Senior Expert Software Architect
 * NetBeans Dream Team Member: http://dreamteam.netbeans.org
 * Community Leader  NetBeans: http://community.java.net/netbeans
   Desktop Java:
 http://community.java.net/javadesktop
 * Duke's Choice Award Winner 2009
 * Blog: http://nbguru.blogspot.com
 
 * XING: https://www.xing.com/profile/Sven_Reimers8
 * LinkedIn: http://www.linkedin.com/in/svenreimers
 
 Join the NetBeans Groups:
 * XING: http://www.xing.com/group-20148.82db20
 * NUGM: http://haug-server.dyndns.org/display/NUGM/Home
 * LinkedIn: http://www.linkedin.com/groups?gid=1860468
http://www.linkedin.com/groups?gid=107402
http://www.linkedin.com/groups?gid=1684717
 * Oracle: https://mix.oracle.com/groups/18497



hg: openjfx/8/graphics/rt: Yet another minor libraries cleanup of graphics NetBeans project.

2013-08-13 Thread hang . vo
Changeset: 77bc4215e63e
Author:Pavel Safrata pavel.safr...@oracle.com
Date:  2013-08-13 15:42 +0100
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/77bc4215e63e

Yet another minor libraries cleanup of graphics NetBeans project.

! netbeans/graphics/nbproject/project.properties



Re: Unchecked conversion warning

2013-08-13 Thread Sven Reimers
Did you try on console?

-Sven


On Tue, Aug 13, 2013 at 4:39 PM, Tom Schindl tom.schi...@bestsolution.atwrote:

 No warning in Eclipse so:
 a) it is javac (Eclipse uses its own compiler)
 b) it is netbeans use of javac

 Tom

 On 13.08.13 16:20, Sven Reimers wrote:
  Just use b102 create a new file and type the line...
 
  -Sven
 
 
  On Tue, Aug 13, 2013 at 4:01 PM, Tom Schindl
  tom.schi...@bestsolution.at mailto:tom.schi...@bestsolution.at
 wrote:
 
  Hi Sven,
 
  I'm building from master and don't see this. Do you build with
 gradle or
  inside your IDE? I've so many type warnings in Eclipse (~12.000)
 that I
  probably don't spot this warning. In the gradle build I think all
  warnings are simply turned off.
 
  Tom
 
  On 13.08.13 15:29, Sven Reimers wrote:
   Hi guys,
  
   trying to compile
  
   ReadOnlyObjectPropertyWorker.State stateProperty =
   task.stateProperty();
  
   leads to
  
   warning: [unchecked] unchecked conversion
   ReadOnlyObjectPropertyWorker.State stateProperty =
   task.stateProperty();
 required: ReadOnlyObjectPropertyState
 found:ReadOnlyObjectProperty
  
   Not sure if this is something broken om my dev machine - can
  anyone confirm?
  
   Thanks
  
   -Sven
  
 
 
 
 
  --
  Sven Reimers
 
  * Senior Expert Software Architect
  * NetBeans Dream Team Member: http://dreamteam.netbeans.org
  * Community Leader  NetBeans: http://community.java.net/netbeans
Desktop Java:
  http://community.java.net/javadesktop
  * Duke's Choice Award Winner 2009
  * Blog: http://nbguru.blogspot.com
 
  * XING: https://www.xing.com/profile/Sven_Reimers8
  * LinkedIn: http://www.linkedin.com/in/svenreimers
 
  Join the NetBeans Groups:
  * XING: http://www.xing.com/group-20148.82db20
  * NUGM: http://haug-server.dyndns.org/display/NUGM/Home
  * LinkedIn: http://www.linkedin.com/groups?gid=1860468
 http://www.linkedin.com/groups?gid=107402
 http://www.linkedin.com/groups?gid=1684717
  * Oracle: https://mix.oracle.com/groups/18497




-- 
Sven Reimers

* Senior Expert Software Architect
* NetBeans Dream Team Member: http://dreamteam.netbeans.org
* Community Leader  NetBeans: http://community.java.net/netbeans
  Desktop Java:
http://community.java.net/javadesktop
* Duke's Choice Award Winner 2009
* Blog: http://nbguru.blogspot.com

* XING: https://www.xing.com/profile/Sven_Reimers8
* LinkedIn: http://www.linkedin.com/in/svenreimers

Join the NetBeans Groups:
* XING: http://www.xing.com/group-20148.82db20
* NUGM: http://haug-server.dyndns.org/display/NUGM/Home
* LinkedIn: http://www.linkedin.com/groups?gid=1860468
   http://www.linkedin.com/groups?gid=107402
   http://www.linkedin.com/groups?gid=1684717
* Oracle: https://mix.oracle.com/groups/18497


Re: Swing and JavaFX thread merge

2013-08-13 Thread Werner Lehmann

Artem,

we already tested with 7u40 b35 - same thing:


Java Web Start 10.40.2.35
Using JRE version 1.7.0_40-ea-b35 Java HotSpot(TM) 64-Bit Server VM

...

runTest in AWT-EventQueue-2
jfx button click in JavaFX Application Thread
invokeLater from jfx button click in AWT-EventQueue-0
jbutton click in AWT-EventQueue-2
jfx button click in JavaFX Application Thread
invokeLater from jfx button click in AWT-EventQueue-0
jbutton click in AWT-EventQueue-2


Werner

On 13.08.2013 16:31, 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 at java.net. Could
you run your apps with 7u40 and check if the problems are gone, please?

Thanks,

Artem


Re: Swing and JavaFX thread merge

2013-08-13 Thread Jeff Martin
Same here.

jeff

On Aug 13, 2013, at 10:17 AM, Werner Lehmann lehm...@media-interactive.de 
wrote:

 Artem,
 
 we already tested with 7u40 b35 - same thing:
 
 Java Web Start 10.40.2.35
 Using JRE version 1.7.0_40-ea-b35 Java HotSpot(TM) 64-Bit Server VM
 ...
 runTest in AWT-EventQueue-2
 jfx button click in JavaFX Application Thread
 invokeLater from jfx button click in AWT-EventQueue-0
 jbutton click in AWT-EventQueue-2
 jfx button click in JavaFX Application Thread
 invokeLater from jfx button click in AWT-EventQueue-0
 jbutton click in AWT-EventQueue-2
 
 Werner
 
 On 13.08.2013 16:31, 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 at java.net. Could
 you run your apps with 7u40 and check if the problems are gone, please?
 
 Thanks,
 
 Artem



hg: openjfx/8/graphics/rt: RT-19596: Win: No notification from glass when visual bounds of a screen change

2013-08-13 Thread hang . vo
Changeset: 83ecc91e38f1
Author:Petr Pchelko petr.pche...@oracle.com
Date:  2013-08-13 18:59 +0400
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/83ecc91e38f1

RT-19596: Win: No notification from glass when visual bounds of a screen change
Reviewed-by: anthony, art

! modules/graphics/src/main/native-glass/win/GlassApplication.cpp



hg: openjfx/8/graphics/rt: RT-31870: error rendering Arc.setStroke

2013-08-13 Thread hang . vo
Changeset: 3afad8bb1b60
Author:felipe
Date:  2013-08-13 09:02 -0700
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/3afad8bb1b60

RT-31870: error rendering Arc.setStroke

! buildSrc/win.gradle



hg: openjfx/8/controls/rt: RT-28966: add a map of calculated values keyed on the resolved, parsed value.

2013-08-13 Thread hang . vo
Changeset: 4446003c91e2
Author:David Grievedavid.gri...@oracle.com
Date:  2013-08-13 12:07 -0400
URL:   http://hg.openjdk.java.net/openjfx/8/controls/rt/rev/4446003c91e2

RT-28966: add a map of  calculated values keyed on the resolved, parsed value.

! modules/graphics/src/main/java/com/sun/javafx/css/ParsedValueImpl.java
! modules/graphics/src/main/java/com/sun/javafx/css/StyleConverterImpl.java
! modules/graphics/src/main/java/com/sun/javafx/css/StyleManager.java
! 
modules/graphics/src/main/java/com/sun/javafx/css/converters/EffectConverter.java
! 
modules/graphics/src/main/java/com/sun/javafx/css/converters/PaintConverter.java
! 
modules/graphics/src/main/java/com/sun/javafx/css/converters/ShapeConverter.java
! modules/graphics/src/main/java/javafx/scene/CssStyleHelper.java



hg: openjfx/8/graphics/rt: [Eclipse only] fixed .classpath after RT-32239 (merged graphics tests)

2013-08-13 Thread hang . vo
Changeset: 7a1a49fa1ae1
Author:felipe
Date:  2013-08-13 09:18 -0700
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/7a1a49fa1ae1

[Eclipse only] fixed .classpath after RT-32239 (merged graphics tests)

! modules/graphics/.classpath



hg: openjfx/8/graphics/rt: 29 new changesets

2013-08-13 Thread hang . vo
Changeset: 147daed4b355
Author:mhowe
Date:  2013-08-05 19:47 -0700
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/147daed4b355

RT-31839: Mac native bundle segfaults on application launch [ngthomas]

! buildSrc/mac.gradle

Changeset: a010db088f27
Author:ngthomas
Date:  2013-08-06 10:13 -0700
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/a010db088f27

Merge

- 
modules/controls/src/main/java/com/sun/javafx/scene/control/behavior/TwoLevelFocusComboListBehavior.java
- 
modules/graphics/src/main/java/com/sun/javafx/animation/transition/AnimationPathHelper.java
- 
modules/graphics/src/main/java/com/sun/javafx/animation/transition/Position2D.java
- modules/graphics/src/main/java/com/sun/javafx/effect/EffectUtils.java
- modules/graphics/src/main/java/com/sun/javafx/sg/prism/BaseCacheFilter.java
- modules/graphics/src/main/java/com/sun/javafx/sg/prism/BaseEffectFilter.java
- 
modules/graphics/src/main/java/com/sun/javafx/sg/prism/BaseNodeEffectInput.java
- modules/graphics/src/main/java/com/sun/javafx/tk/quantum/AbstractPainter.java
- modules/graphics/src/main/java/com/sun/prism/camera/PrismCameraImpl.java
- modules/graphics/src/main/java/com/sun/prism/camera/PrismDefaultCamera.java
- 
modules/graphics/src/main/java/com/sun/prism/camera/PrismParallelCameraImpl.java
- 
modules/graphics/src/main/java/com/sun/prism/camera/PrismPerspectiveCameraImpl.java

Changeset: 78a1636e68b1
Author:ngthomas
Date:  2013-08-06 14:14 -0700
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/78a1636e68b1

Merge

- 
apps/samples/Ensemble8/src/samples/java/ensemble/samples/controls/table/tablecellfactory/CheckBoxTableCell.java
- 
apps/samples/Ensemble8/src/samples/java/ensemble/samples/controls/table/tablecellfactory/EditingCell.java
- modules/graphics/src/android/java/com/oracle/dalvik/MainActivity.java
- modules/graphics/src/main/java/com/sun/javafx/tk/quantum/PopupScene.java
- modules/graphics/src/main/java/com/sun/javafx/tk/quantum/PopupStage.java
- netbeans/android/glass-lib-lens/Android.mk
- netbeans/android/glass-lib-lens/nbproject/configurations.xml
- netbeans/android/glass-lib-lens/nbproject/project.xml

Changeset: 19197d39ad7f
Author:hudson
Date:  2013-08-08 11:07 -0700
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/19197d39ad7f

Added tag 8.0-b102 for changeset 78a1636e68b1

! .hgtags

Changeset: 925eeb161438
Author:jgiles
Date:  2013-08-07 09:05 +1200
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/925eeb161438

RT-32139: Can't change ComboBox value in change listener

! modules/controls/src/main/java/javafx/scene/control/SingleSelectionModel.java
! modules/controls/src/test/java/javafx/scene/control/ComboBoxTest.java

Changeset: 84847b5a5dbc
Author:jgiles
Date:  2013-08-07 09:50 +1200
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/84847b5a5dbc

RT-32119: ListView doesn't unselect correct items when Shift + left mouse btn 
is used
(Same bug also existed for TableView, TreeView and TreeTableView, so it has 
been fixed there too)

! 
modules/controls/src/main/java/com/sun/javafx/scene/control/behavior/ListCellBehavior.java
! 
modules/controls/src/main/java/com/sun/javafx/scene/control/behavior/TableCellBehaviorBase.java
! 
modules/controls/src/main/java/com/sun/javafx/scene/control/behavior/TreeCellBehavior.java
! 
modules/controls/src/test/java/javafx/scene/control/ListViewMouseInputTest.java
! 
modules/controls/src/test/java/javafx/scene/control/TableViewMouseInputTest.java
! 
modules/controls/src/test/java/javafx/scene/control/TreeTableViewMouseInputTest.java
! 
modules/controls/src/test/java/javafx/scene/control/TreeViewMouseInputTest.java

Changeset: 210aa0f86593
Author:jgiles
Date:  2013-08-07 13:24 +1200
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/210aa0f86593

RT-27156: Animated TitledPane does not synch animation with its content
RT-30566: Opening/Closing Animation of TitledPane in nested Accordions with 
some Controls not working as expected

! 
modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TitledPaneSkin.java

Changeset: f63ed218267f
Author:jgiles
Date:  2013-08-07 13:32 +1200
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/f63ed218267f

Automated merge with 
ssh://jfxsrc.us.oracle.com//javafx/8.0/scrum/controls/jfx/rt


Changeset: 97666cdda3fd
Author:David Grievedavid.gri...@oracle.com
Date:  2013-08-07 08:29 -0400
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/97666cdda3fd

Automated merge with ssh://jfxsrc.us.oracle.com//javafx/8.0/MASTER/jfx/rt


Changeset: 779268099d54
Author:jgiles
Date:  2013-08-08 09:47 +1200
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/779268099d54

[DOC ONLY] Added javadoc to TableView to explain the new sorted list 
functionality.

! modules/controls/src/main/java/javafx/scene/control/TableView.java

Changeset: 41bec1a02dd2

hg: openjfx/8/controls/rt: RT-30249: [DatePicker] Exception when Hijrah-umalqura chronology is used, and old data is set, breaks control

2013-08-13 Thread hang . vo
Changeset: 15836dc053df
Author:leifs
Date:  2013-08-13 14:11 -0700
URL:   http://hg.openjdk.java.net/openjfx/8/controls/rt/rev/15836dc053df

RT-30249: [DatePicker] Exception when Hijrah-umalqura chronology is used, and 
old data is set, breaks control

! 
modules/controls/src/main/java/com/sun/javafx/scene/control/skin/DatePickerHijrahContent.java



hg: openjfx/8/graphics/rt: [ECLIPSE ONLY] removing non-existent plugin.jar from classpath

2013-08-13 Thread hang . vo
Changeset: 326328b398fa
Author:Felipe Heidrich felipe.heidr...@oracle.com
Date:  2013-08-13 10:21 -0700
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/326328b398fa

[ECLIPSE ONLY] removing non-existent plugin.jar from classpath

! buildSrc/.classpath



hg: openjfx/8/graphics/rt: RT-30704 [FX3D] PhongMaterial: SpecularColor and SpecularPower properties changes does not take any effect after first change.

2013-08-13 Thread hang . vo
Changeset: ee7b7299fd7d
Author:Yao Wang yao.w.w...@oracle.com
Date:  2013-08-13 16:16 -0700
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/ee7b7299fd7d

RT-30704  [FX3D] PhongMaterial: SpecularColor and SpecularPower properties 
changes does not take any effect after first change.

+ apps/toys/FX8-3DFeatures/src/fx83dfeatures/SpecularColorTestApp.java
+ apps/toys/FX8-3DFeatures/src/resources/cup_diffuseMap_1024.png
! modules/graphics/src/main/java/com/sun/javafx/scene/DirtyBits.java
! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGPhongMaterial.java
! modules/graphics/src/main/java/javafx/scene/shape/Shape3D.java



hg: openjfx/8/controls/rt: RT-31915: DatePicker: When set style -fx-border width increased steadily if scene with focus

2013-08-13 Thread hang . vo
Changeset: 8295caae3138
Author:leifs
Date:  2013-08-13 17:10 -0700
URL:   http://hg.openjdk.java.net/openjfx/8/controls/rt/rev/8295caae3138

RT-31915: DatePicker: When set style -fx-border width increased steadily if 
scene with focus

! 
modules/controls/src/main/java/com/sun/javafx/scene/control/skin/DatePickerSkin.java
! modules/controls/src/main/java/javafx/scene/control/DatePicker.java



hg: openjfx/8/graphics/rt: Partial fix for RT-32289: OpenJDK fails to build web

2013-08-13 Thread hang . vo
Changeset: da0c36d6e5fe
Author:peterz
Date:  2013-08-14 09:43 +0400
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/da0c36d6e5fe

Partial fix for RT-32289: OpenJDK fails to build web

! build.gradle