I have this layout:
BorderPane with a MenuBar (top) and TabPane (center)
I have two initial tabs. Selecting some menu option will create a new tab.
One of the menu options creates a drawing surface, which is made up of a
StackPane with a Canvas. The canvas has FocusTraversable set to true and
learRect(x1 - 1, y1 - 1, x2 + 1, y2 + 1);
>
> Take a look at this Gist...
> https://gist.github.com/HanSolo/f25412352ff7ec5b9b53
>
>
> Am 04.02.2016 um 08:53 schrieb Bryan Buchanan <bry...@webbtide.com>:
>
> Don't know if this is correct mailing list.
>
> If I hav
Don't know if this is correct mailing list.
If I have
gc.setStroke(Color.RED);
gc.moveTo(x1, y1);
gc.lineTo(x2, y2);
gc.stroke();
and later I want to remove this line, how do I do that ?
I don't want to clear the whole the Canvas (in fact
gc.clearRect(0, 0, canvas.getWidth(),
Found out what the problem was - I'm using Thrift for RPC, and was
initialising the underlying Thrift socket with a connection timeout of zero
(i.e. infinite). When there was a network disconnection, it appeared the FX
UI thread was getting starved and the app freezes. All good now, and FX is
I have a customer testing an FX app and more often than not, if the app is
left open for a while (20 minutes or so), either the mouse ceases to work,
or if it does work, when you click a field, or do something that should
re-paint the window, the whole FX window goes totally grey and the app
Can anyone please give me instructions on how to get the source to the
Ensemble8 demo. It has a really nice UI which I'm interested to see how it
is achieved.