On Wed, 01 Apr 2015 22:50:44 +0200, Scott Palmer
wrote:
I seems like a decent compromise to defer to the native platform code
that
will ultimately be used to process the file anyway. It seems a little
heavy, but the alternative is perhaps bloating the JavaFX API.
It likely makes more sens
I seems like a decent compromise to defer to the native platform code that
will ultimately be used to process the file anyway. It seems a little
heavy, but the alternative is perhaps bloating the JavaFX API.
It likely makes more sense to use the MediaInfo project with some JNA
bindings (you can p
> I was a bit surprised that the metadata retrieval functionality
> of javafx.scene.media.Media is only usable in conjunction with a player, so
> if I want to retrieve the dimensions of a video file I have to instantiate
> a player and wait for it to reach ready state? That's how I read the
> java
Hi,
I was a bit surprised that the metadata retrieval functionality
of javafx.scene.media.Media is only usable in conjunction with a player, so
if I want to retrieve the dimensions of a video file I have to instantiate
a player and wait for it to reach ready state? That's how I read the
javadoc. I
On character input, two events are fired: KEY_PRESSED and KEY_TYPED.
When my control is interested in the characters, KEY_TYPED should be
handled, because it contains the entered Unicode characters. In that
case, however, I would also like to consume the corresponding
KEY_PRESSED event, so that it
Hello,
I have found the following answer :
http://stackoverflow.com/questions/27846659/how-to-draw-an-1-pixel-line-using-javafx-canvas
*Imagine each pixel as a (small) rectangle (instead of a point). The
integer coordinates are the boundaries between pixels; so a (horizontal or
vertical) line wi
Hello,
I'm using a Canvas to display some content (mostly text with lines also for
underline).
I've just noticed something that is a big problem for me : with
line-width=1 and no scaling, actual line-width on display takes 2 pixels.
Canvas canvas = new Canvas(300, 300);
GraphicsContext g