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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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,
- 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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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.
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);
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
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
+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?
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
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
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.
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 =
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
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
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
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
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
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:
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
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
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
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
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!
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. [...]
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
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
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
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
?
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
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
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
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
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
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
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
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
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
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
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
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
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
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,
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);
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.
79 matches
Mail list logo