Re: Backport for [JDK-8131151] Pressing ESC in a nested alert closes self and parent alert

2015-09-28 Thread Werner Lehmann
Hi Jonathan, that's all I am asking. Thanks, Werner On 28.09.2015 01:41, Jonathan Giles wrote: I have no issue picking up this backport and attempting to get it into an 8u release. No promise though. -- Jonathan

Backport for [JDK-8131151] Pressing ESC in a nested alert closes self and parent alert

2015-09-24 Thread Werner Lehmann
Hi, since there seems to be an opportunity to have fixes backported to 8, I'd like to ask for a backport of the fix for [JDK-8131151] Pressing ESC in a nested alert closes self and parent alert https://bugs.openjdk.java.net/browse/JDK-8131151 Looks as if the fix is pretty simple. Without

Re: Use of clipping in TabPaneSkin

2015-09-06 Thread Werner Lehmann
Hi Pedro, from my understanding there is no automatic clipping feature on control bounds. If the tabpane could not grow to accomadate its content, the content would overlap the tabpane bounds if it is bigger. You can find a similar pattern on the titledpane for example. Werner On

Re: Use of clipping in TabPaneSkin

2015-09-05 Thread Werner Lehmann
Hi, On 04.09.2015 19:54, Pedro Duque Vieira wrote: What's the purpose of this? looks as if there is a clipping rectangle being updated whenever width/height of the clipped area changes? Werner

Re: JavaFx: printer dialog is shown behind main window(stage)

2015-06-15 Thread Werner Lehmann
Hi Alexander, this seems to be a known bug: https://bugs.openjdk.java.net/browse/JDK-8088395 Rgds Werner On 15.06.2015 07:54, Александр Свиридов wrote: The printer dialog appears. But! it appears behind the main window but not in front of main window! This strange behaviour happens only when

Re: slightly ot: java9 runtime images

2015-05-15 Thread Werner Lehmann
Hi Tom, could you do this with File.deleteOnExit? Question is, can it delete jars on its own classpath... Werner On 14.05.2015 08:22, Tom Eugelink wrote: Unfortunately you cannot have the spawned JVM cleanup after itself, otherwise I could stop the initial JVM after it spawned the other.

Re: Maximum size of a canvas?

2015-05-15 Thread Werner Lehmann
Hi Jeff, interesting idea although I am not sure in which way this improves things. I am already scaling the canvas node if it is bigger than necessary (due to previous zoom, works like supersampling then) or smaller than necessary (if the maximum size is reached but I need to present the

Maximum size of a canvas?

2015-05-13 Thread Werner Lehmann
Hi, is there a way to somewhat safely determine the maximum size of a canvas? I am using the canvas to display a report result in a custom report viewer control. The report can be zoomed in which basically means that I recreate the canvas with a bigger size (the canvas is inside a

Re: QML vs. FXML

2015-03-05 Thread Werner Lehmann
Like this? http://wiki.eclipse.org/Efxclipse/Tooling/FXGraph On 05.03.2015 16:23, Doug Schaefer wrote: You really want to use a domain specific language that’s easy to read and write. QML is that. I find XML tags overwhelm the rest of the text making it hard to understand what’s going on, and

Re: focus property in composed control

2015-02-23 Thread Werner Lehmann
Hi Tom, lately I've been battling similar issues. One important thing I learned here is that if my custom control wraps a TextField in its skin I have to make sure that the custom control is not focus-traversable. It also seems difficult to have focus on the custom control in terms of

Re: Question/feedback regarding Windows Hi DPI support and how it will affect applications

2015-02-18 Thread Werner Lehmann
Hi Jim, interesting read. I guess I learned more about the topic than I can help. Also found this resource interesting: http://kynosarges.de/GuiDpiScaling.html Some thoughts. Obviously it is less desirable to require every application to do their own scaling. I can't imagine that this would

Re: Question/feedback regarding Windows Hi DPI support and how it will affect applications

2015-02-18 Thread Werner Lehmann
My usecase is not about retina or not. It is about showing a report result in actual size which means I need to scale it depending on the screen DPI. Current workaround is this... -Dcom.sun.javafx.screenDPI=109 ...but I can't really advertise this to users. Werner On 18.02.2015 12:23, Mike

Re: How to apply skin?

2015-02-09 Thread Werner Lehmann
Hi Tomas, I think the expected way of doing this is to defer the code which requires the control width until normal layout passes come across it. Or maybe not only defer that code but actually move it to layouting methods. Werner On 09.02.2015 00:51, Tomas Mikula wrote: Actually, I want

Re: Event Filtering

2015-02-09 Thread Werner Lehmann
Hi Scott, at least in Java 8 you can override TextInputControl#replaceText and/or TextInputControl#replaceSelection to convert lowercase into uppercase. I have used it for exactly this purpose. Werner On 07.02.2015 01:33, Scott Palmer wrote: But let's say that I want to allow the user to

Re: Event Filtering

2015-02-09 Thread Werner Lehmann
I see. Looks as if the textfield in a combobox cannot be subclassed because of final restrictions. As a last resort, you could use your own textfield as a buttoncell - which would of course skip over all special handling for editable comboboxes in the skin... Werner On 09.02.2015 12:44,

Re: Label prefHeight vs wrapText

2015-02-05 Thread Werner Lehmann
- even if other children of the vbox need to be shrunk. Werner On 28.05.2014 18:10, Werner Lehmann wrote: Martin, thanks for the explanation. Feels good to finally understand this ;-) And while I created a ticket as per your suggestion... [#RT-37309] VBox: vshrink layout hint similar

Re: CSS under 1.8.0_40 not identical to 31 or older

2015-02-05 Thread Werner Lehmann
FWIW, we are also experiencing css differences between 8u25 and 8u40. In some custom controls portions appear completely unstyled on 8u40, as if the selectors would stop working. Couldn't take a closer look so far due to time constraints... Werner

Re: Is it possible to have a SwingNode inside a JFXPanel

2015-01-28 Thread Werner Lehmann
We have had both scenarios and encountered issues in these areas: - dragdrop inside the component/node and between swing/fx - repaint issues, sometimes the jfxpanel would appear all black - resize issues, changes to the content of either swingnode or jfxpanel would not be passed to the

Re: How to use scaleX/Y to change layout bounds?

2015-01-28 Thread Werner Lehmann
Hi Tobi, wrap the button into a group. Werner On 28.01.2015 07:51, Tobias Bley wrote: Hi, when I call button.setScaleX(.5) and button.setScaleY(.5) the button changes it’s size only visually - the layout bounds does not change… How can I change this behaviour? Best regards, Tobi

Re: TableView API, no lazy retrieval of visible cell content possible?

2015-01-28 Thread Werner Lehmann
Robert, I think Tomas is right, load your thumbnails on demand when updateItem is called for an item with missing thumbnail. You say that the cell of a visible item gets reused for another item. If that is the case I guess that the item is moved to another cell. Wouldn't it be possible to

Re: switching skins at runtime

2014-12-29 Thread Werner Lehmann
I think this is something you need to do in SkinBase.dispose. Werner On 26.12.2014 22:55, Tom Eugelink wrote: Hm, I've got it working, but I need to call a getChildren().clear() before I start creating nodes in a skin. If not, the control will retain the nodes an old skin has created. Also any

Re: switching skins at runtime

2014-12-29 Thread Werner Lehmann
That's what I meant: clear children, or undo whatever you are doing to them, in dispose(). At any rate I wouldn't know if that is correct. It is just how I assume this would work. On 29.12.2014 11:44, Tom Eugelink wrote: That works for unbinding listeners to skinnable and the reset code for

Select-binding still warns about null steps

2014-12-15 Thread Werner Lehmann
Hi, it seems as if bindings created with Bindings.selectXXX still do not support null steps fully. With RT-35957 the log level of NPEs caused by null steps was reduced to FINE. Howver, in 8u25 there is a still a warning logged for a perfectly normal operation: Dez 15, 2014 12:59:44 PM

Re: Scrollbars on *View or better VirtualFlow based UI elements

2014-12-15 Thread Werner Lehmann
Hi Tomas, On 15.12.2014 16:10, Tomas Mikula wrote: To add an idea, semi-transparent scrollbars could be shown over the content when the mouse approaches the edge. This would avoid flickering andto save space at the same time. I realize one could not use this if the scrollbars would cover some

High resolution printing

2014-12-09 Thread Werner Lehmann
Hi, I'd like to print a canvas node with native printer resolution. What is the best way to achieve that? I suppose I can't just set the canvas width and height to the printer page size equivalent because at 600 DPI this would mean about 5000x7000px. And as far as I know a canvas this size

Re: High resolution printing

2014-12-09 Thread Werner Lehmann
Hi Kevin, yes it has, and my users can save their reports to a PDF file, open it, and print it. I just felt there should be a more direct way to print a report. Anyway, I decided to use Jasper's built-in print-exporter which works with Java 1.4 AWT printing. This means I have a working

Re: Classpath-relative URLs in CSS

2014-10-15 Thread Werner Lehmann
Hi David, classpath-relative URLs in CSS do not seem to work, unfortunately. For example, -fx-background-image: url(/mint/report_16x16.png); has no effect. Relative addressing does work. Looks to me as if there is a bug in com.sun.javafx.css.converters.URLConverter.resolve. Basically it

Re: Classpath-relative URLs in CSS

2014-10-15 Thread Werner Lehmann
Hi, sure, I'll create a ticket. This is on 8u11. Please see also below. On 15.10.2014 14:36, David Grieve wrote: Two pieces of information are passed into the converter. The first is the value that was given in the style, e.g., /mint/report_16x16.png. The second is the URL of the stylesheet as

Re: Classpath-relative URLs in CSS

2014-10-15 Thread Werner Lehmann
Here's the ticket. Tried it also on 8u25, same result. https://javafx-jira.kenai.com/browse/RT-38991 Werner On 15.10.2014 16:25, Werner Lehmann wrote: sure, I'll create a ticket. This is on 8u11.

Re: CSS: style leaks from unrelated stylesheet

2014-10-09 Thread Werner Lehmann
believe the 8u40 branch of controlsfx has removed this work-around and is using the Region#getUserAgentStylesheet method. On 10/9/14, 8:58 AM, Werner Lehmann wrote: Turns out that the 3rd party control adds its stylesheet like this: class SomeControlSkin... static { StyleManager.getInstance

Re: openjfx-dev Digest, Vol 34, Issue 36

2014-09-22 Thread Werner Lehmann
Hi Daniel, actually, as it turns out that code did not even compile with javac 8u11: [mint.javac] [...] error: package sun.util.logging.PlatformLogger does not exist [mint.javac] com.sun.javafx.binding.Logging.getLogger().setLevel(sun.util.logging.PlatformLogger.Level.OFF); Eclipse's

How to suppress platform logger output

2014-09-19 Thread Werner Lehmann
Hi, I'd like to use one of the Bindings.select* methods but can't really accept the tons of stderr output it generates for null steps. According to this ticket... [#RT-35957] Bindings class spits out a lot of unneeded log messages https://javafx-jira.kenai.com/browse/RT-35957 ... 8u20

Re: How to suppress platform logger output

2014-09-19 Thread Werner Lehmann
Hi Nicolai, On 19.09.2014 15:43, Nicolai Parlog wrote: a little off topic but it might still be relevant for you. thanks, I noticed that ticket and found Tomas' blog to be a very interesting read. However, this is for a Webstart application and we already have way too many dependencies for

Re: How to suppress platform logger output

2014-09-19 Thread Werner Lehmann
Hi Peter, this one seems to work, based on your former suggestion: com.sun.javafx.binding.Logging.getLogger().setLevel(sun.util.logging.PlatformLogger.Level.OFF); Thanks for that. Of course I am not sure if that also kills other binding-related logs I might be interested in but generally I'd

Re: Close all ContextMenu with mouse button

2014-09-18 Thread Werner Lehmann
On 18.09.2014 14:38, Anthony Petrov wrote: If they don't, this is a bug in either Control, Scenegraph, or Glass. Please file a JIRA and provide a small test case that reproduces the problem. ...or a JFXPanel is involved: popups and contextmenus opened from a JFXPanel do not close when

Re: Skin layoutChildren: when to get bounds of child nodes?

2014-07-31 Thread Werner Lehmann
Hi Martin, On 30.07.2014 17:39, Martin Sladecek wrote: I assume you don't change child1 Nodes, so it should work. I may add/insert such nodes but in that case I take the easy route and simply rebuild the complete hbox. Yeah, one problem with layouts is when you want to do some layout that

Re: Skin layoutChildren: when to get bounds of child nodes?

2014-07-30 Thread Werner Lehmann
Richard, since I need to get x and width of child1 (the one inside the hbox) I have to use boundsInParent. According to the docs layoutBounds.x/y are always zero for resizable nodes so it does not work here. As to the question whether the parent might be size 0: the HBox is indeed size 0

Re: Skin layoutChildren: when to get bounds of child nodes?

2014-07-30 Thread Werner Lehmann
Martin, thanks a lot for this elaborate explanation :) Here's an image of what I am talking about. http://postimg.org/image/t9a6esc71/ child1 is one of the labels in a hbox, e.g. Query or Result child2 is the blueish region. It needs to be positioned under one of those labels. I am doing

Re: Double.MAX_VALUE in CSS -fx-max-width?

2014-07-28 Thread Werner Lehmann
Hi David, thanks - here it is: [#RT-38065] CSS -fx-pref-width et al do not accept infinity value Werner On 28.07.2014 05:31, David Grieve wrote: Hi Werner, Please file a bug. I'll have to update the parser to accept 'infinity' as a value.

Double.MAX_VALUE in CSS -fx-max-width?

2014-07-24 Thread Werner Lehmann
Hi, since FX8 we have a styleable property -fx-max-width on Region. I'd like to use this to replace the FXML attribute Node maxWidth=Infinity/ with CSS -fx-max-width: Infinity; This is actually a notation to achieve the equivalent of this code: node.setMaxWidth(Double.MAX_VALUE);

Re: Mirrored observable collections

2014-07-23 Thread Werner Lehmann
Hi, take a look at Bindings.format and Bindings.createStringBinding for that. I use it all the time. Werner On 23.07.2014 13:16, Mike Hearn wrote: Incidentally the lack of a uni-directional string binding utility in JavaFX is really annoying: converting a read only observable value into a

Re: ComboBox: TestEditor to ListView binding

2014-07-07 Thread Werner Lehmann
Kirill, ControlsFX has support for this if a 3rd party lib is ok. With TextFields.createClearableTextField() you create a search field with an eraser icon to clear the text. And the AutoCompletionBinding applied to the textfield implements the auto complete dropdown. You only have to provide

Re: New alias for hg commit notifications?

2014-06-24 Thread Werner Lehmann
+1 I was filtering these anyway to a separate mail folder. Werner On 24.06.2014 15:34, Kevin Rushforth wrote: What do others think?

ScrollPane.content moves with arrow keys

2014-06-10 Thread Werner Lehmann
Hi, we came across a curious behavior of ScrollPane in 8u5: the scrollpane content can be moved around with arrow keys if it is smaller than the viewport. This can be reproduced in SceneBuilder with simple FXML: ?xml version=1.0 encoding=UTF-8? ?import java.lang.*? ?import

Re: New skinning in FX8 – where do the style classes go

2014-06-10 Thread Werner Lehmann
Hi Randahl, see this wiki page... https://wiki.openjdk.java.net/display/OpenJFX/UI+Controls+Architecture and below: On 10.06.2014 19:18, Randahl Fink Isaksen wrote: Object ◀︎—— SkinBase ◀︎—— MySkin —— MySkinControl The new SkinBase is returning a modifiable version of the control's

Re: ScrollPane.content moves with arrow keys

2014-06-10 Thread Werner Lehmann
It affects 8u5 as well: [#RT-37491] ScrollPane content can be moved around with arrow keys https://javafx-jira.kenai.com/browse/RT-37491 Werner On 10.06.2014 18:30, Eric Le Ponner wrote: Curious indeed :) And probably not intended you’re right. Note that Scene Builder 2.0 embeds its own jdk.

Label baseline offset with a graphic

2014-06-03 Thread Werner Lehmann
Hi, I am trying to align labels on their baseline in an hbox. This is surprisingly difficult if some of the labels have a graphic (on the left). Turns out that LabeledSkinBase.computeBaselineOffset() simply uses the max of the text baseline and the height of the graphic: h =

Re: Label baseline offset with a graphic

2014-06-03 Thread Werner Lehmann
Hi Martin, excellent - then I don't have to start looking for workarounds. Werner On 03.06.2014 14:25, Martin Sladecek wrote: Hi Werner, this has changed in 8u20. Seehttps://javafx-jira.kenai.com/browse/RT-36729 -Martin

Re: Resizing stage creates delays in platform.runLater pool?

2014-06-02 Thread Werner Lehmann
We also experienced laggy animation with a stage slide out/down animation. The animation would change stage size and it appeared to have only 2 or 3 frames. Workaround was to use a different animation style: keep stage size but move it 20 px down while changing opacity from low to full, both

Re: Resizing stage creates delays in platform.runLater pool?

2014-06-02 Thread Werner Lehmann
Probably not (that code is gone so I don't know for sure). For some other (Mac-related) reason, the software pipeline was already used for our internal testing. Didn't seem to make a difference. FWIW, there was also an NPE occurring if someone was crazy enough to show that popup many times by

Re: Integrating JFX Dialog/Stage in Swing application

2014-05-31 Thread Werner Lehmann
Hi Robert, the problem with this is that the stage cannot have a swing window as its owner. If users misclick the stage will hide behind your main window. But if that is acceptable... Werner On 31.05.2014 14:27, Robert Krüger wrote: have a Swing JMenuItem trigger the showing of a JFX stage

Label prefHeight vs wrapText

2014-05-28 Thread Werner Lehmann
Hi, I am stumped. With a label and wrapText=true I am not getting wrapped text when I think I should. Consider this scene (code at bottom): VBox - Label, long text, wrapText=true - ListView, prefHeight=1000 (too big to fit) This will not wrap the label text. The VBox gives all room to

Re: Label prefHeight vs wrapText

2014-05-28 Thread Werner Lehmann
Martin, thanks for the explanation. Feels good to finally understand this ;-) And while I created a ticket as per your suggestion... [#RT-37309] VBox: vshrink layout hint similar to vgrow ...it seems I can use this as a workaround:

Re: No split-cursor inside JFXPanel

2014-03-12 Thread Werner Lehmann
Hi Anthony, I noticed the movement on the ticket ;-) Very good news, thx for looking into this! Werner On 11.03.2014 18:28, Anthony Petrov wrote: Hi Werner, I've re-targeted this bug to 8u20. -- best regards, Anthony On 3/7/2014 9:27 PM, Werner Lehmann wrote: Hi, inside a JFXPanel we

Can't gc a node removed from its scene

2014-02-26 Thread Werner Lehmann
Hi, I have removed a node from its scene. Node.scene and Node.parent both are null. However, inner classes of the Scene seem to keep a reference: Scene.ClickGenerator.pressedTargets Scene.ClickGenerator.releasedTargets Scene.MouseHandler.pdrEventTargets See http://imgur.com/L8dRQDW for a

Re: Reloading stylesheets

2013-12-10 Thread Werner Lehmann
Thanks, Tom. Somehow it does not work for me. Any idea? Basically this is what I am doing: Parent root = ... root.getStyleSheets().add(...stylesheets...) Scene scene = new Scene(root) StyleManager.getInstance().reloadStylesheets(scene) Then I show the scene in a JFXPanel, change and save the

Re: Reloading stylesheets

2013-12-10 Thread Werner Lehmann
Got it. The key was to move the stylesheets from the root node to the scene before reloading them: scene.styleSheets.clear scene.styleSheets.addAll(root.styleSheets) root.styleSheets.clear styleManager.reload(scene) The hotkey also works now: shift+ctrl+7 reloads CSS while the scene is

Re: Reloading stylesheets

2013-12-10 Thread Werner Lehmann
Interesting. Assuming the stylesheets are still cached, how would it know when to reload and not use the cached sheet? Or has sheet processing been optimized so much that caching is not necessary anymore... On 10.12.2013 16:15, Tom Schindl wrote: No on FX8 you need to remove and readd them!

Re: Reloading stylesheets

2013-12-10 Thread Werner Lehmann
Makes sense. Thanks! On 10.12.2013 17:09, David Grieve wrote: The way it works in 8.0 is that there is a cache of loaded stylesheets. [...]

Re: Look and feel mechanism?

2013-12-09 Thread Werner Lehmann
By the way, platform order of dialog buttons is implemented by the ButtonBar control in ControlsFX. It is of course Java8 only but can easily be brought back to FX2. Werner On 09.12.2013 10:45, Hendrik Ebbers wrote: Next to the skinning of controls additional features are needed. One example

Re: Focus handling on custom controls

2013-11-21 Thread Werner Lehmann
Interesting idea with those textfield insets. I have noticed that the FX2 combobox may not do this right because the cursor can be moved behind the combobox button. I'll give it a shot. Would still be nice to see how this would be done properly... Werner On 20.11.2013 13:57, Scott Palmer

Focus handling on custom controls

2013-11-20 Thread Werner Lehmann
Hi, I made a custom control and am trying to get the focus handling right. This is a textfield with some buttons on the right hand side, e.g. an ellipsis button: http://i.imgur.com/naPzK1W.png The control skin basically is an hbox with a textfield and a few stackpanes as its children. The

H/V resize cursors in a JFXPanel

2013-11-18 Thread Werner Lehmann
Hi, still on FX2 I am plagued with a bug that prevents getting h-resize (split) cursor in a JFXPanel. This is a known and acknowledged issue, see [#RT-26235] SplitPane in JFXPanel: Mouse cursor not changed I have looked some more into this and noticed that this really seems to affect the

Re: Checkboxes in a combobox popup

2013-09-16 Thread Werner Lehmann
? Rgds Werner On 14.09.2013 00:13, Werner Lehmann wrote: Hi, I am displaying checkboxes in the popup of a combobox via custom cell factory. Only problem is that a click on the checkbox actually hides the popup, even before that checkbox was selected. As I can see, the combobox skin has

Re: Checkboxes in a combobox popup

2013-09-16 Thread Werner Lehmann
Jasper, a listview does not seem to use a ScrollPane. That's what its virtualization effort is about, using the VirtualFlow instead. Or do you mean I should nest the popup listview in a scrollpane? The MenuButton approach would be completely different and seems to have a few disadvantages

Checkboxes in a combobox popup

2013-09-13 Thread Werner Lehmann
Hi, I am displaying checkboxes in the popup of a combobox via custom cell factory. Only problem is that a click on the checkbox actually hides the popup, even before that checkbox was selected. As I can see, the combobox skin has a MOUSE_PRESSED event filter which hides the popup. Current

Re: FocusModel too restricted?

2013-09-02 Thread Werner Lehmann
Jonathan, appreciate your elaborate answer. I arrived at the same conlusion, not to use the official FocusModel. There wasn't any hope to get changes for 2.2 anyway. It just felt as if it could have been a good match because a subset of it would fit perfectly, namely the focused item

FocusModel too restricted?

2013-09-01 Thread Werner Lehmann
Hi, I am trying to use FocusModel in a custom property sheet component - it is probably a good idea to reuse as much API as possible and make components work similar to each other. However, the focus model makes this more difficult than it should be: 1. Why is it index-based? With methods

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

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

Re: Swing and JavaFX thread merge

2013-08-12 Thread Werner Lehmann
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

Re: Missed pulse?

2013-07-31 Thread Werner Lehmann
Easy trap with invalidation listeners. If you don't get the property value after invalidation, the property remains invalidated and subsequent changes won't trigger another invalidation. To fix this, simply get the value (for nothing), or switch to change listeners... You probably know this

Re: Can JavaFX do CAD?

2013-07-29 Thread Werner Lehmann
Wouldn't this be covered by Shape.union? Obviously it depends on how union is implemented under the sheets, but it seems to me as if there was an opportunity to optimize it like that. Werner On 24.07.2013 21:06, Richard Bair wrote: I filed an RFE a little while ago for a LineGroup or

Re: Can JavaFX do CAD?

2013-07-29 Thread Werner Lehmann
Good questions. I've had experience with some of these, building a GUI designer. At this stage customers will use it to build input forms. Later it is supposed to grow into sort of a report designer. The core is a custom component containing a ScrollPane containing a content pane. And that

Re: Thread checks in Glass

2013-07-22 Thread Werner Lehmann
Seems as if the ticket isn't public... On 22.07.2013 11:06, Petr Pchelko wrote: You can follow progress inhttps://javafx-jira.kenai.com/browse/RT-26891

Re: Validate cell, or request a cell update

2013-07-09 Thread Werner Lehmann
Ok - this means that in Cell.updateItem I would have to add a (weak?) listener to the item's state property. If the cell is reused for another item I would have to remove the old listener first. My only concern is that this will be done a lot when scrolling through the list. Thanks... If the

Re: Experience with piecewise migration Swing - JFX

2013-06-17 Thread Werner Lehmann
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, resulting in deadlocks in native AWT code (which currently is a guess, not confirmed,

Re: NullPointer in BaseGraphics.drawTextureVO

2013-06-11 Thread Werner Lehmann
Is this the same as SwingFXUtils.toFXImage? On 11.06.2013 14:27, Daniel Zwolenski wrote: BufferedImage buffImage = AWTImageConverter.toBufferedImage(image); jfxImage = javafx.scene.image.Image.impl_fromExternalImage(buffImage); previewView.setImage(jfxImage);

Re: ScrollPane.prefViewportWidth == computed size?

2013-06-03 Thread Werner Lehmann
Hi Richard, thanks for the quick reply. FYI, I am currently using a hardcoded value with some extra space, hopefully sufficient for all platforms. On 03.06.2013 20:57, Richard Bair wrote: I think calling it a bug would be fair, and this approach should work. I'll create a ticket later.