Question about what's on topic

2015-11-05 Thread Fabrizio Giudici
Hi. Is it appropriate to post here questions about why a certain API (e.g. in Java8) has been made in a way instead of another? Thanks. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Re: Questions about Stream/Iterable/Files - and possibly the compiler

2015-11-05 Thread Fabrizio Giudici
lient... and I probably have to convince myself I can't use small fonts as I've been doing for years. Apologies to everyone. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Questions about Stream/Iterable/Files - and possibly the compiler

2015-11-05 Thread Fabrizio Giudici
ible with Iterable and the cast is needed? At last, question C: Given all those premises, is there a specific reason for which Files.write() hasn't been overloaded with a version capable of accepting a Stream? It would have been the perfect complement of Files.lines() Thanks. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Re: JDK 1.8.0 33/40, diacritics and file problems

2015-05-10 Thread Fabrizio Giudici
ion(input, 148"Malformed input or input contains unmappable characters"); 149} 150 151// trim result to actual length if required 152int len = bb.position(); 153if (len != ba.length) 154ba = Arrays.copyOf(ba, len); 155 156return ba;

Re: JDK 1.8.0 33/40, diacritics and file problems

2015-04-29 Thread Fabrizio Giudici
ly add a WebDAV interface or such. Thanks. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Re: JDK 1.8.0 33/40, diacritics and file problems

2015-04-28 Thread Fabrizio Giudici
. So, if I understand, there are no assumptions I can do. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Re: JDK 1.8.0 33/40, diacritics and file problems

2015-04-28 Thread Fabrizio Giudici
rything is encoded/normalised in the same way? In this case I could just run a quick test at the start of the application, find once for all the correct normalisation, and then always apply the same. Otherwise, I have to try all the combinations for every file that I open... -- Fab

JDK 1.8.0 33/40, diacritics and file problems

2015-04-24 Thread Fabrizio Giudici
documentation I can reference? BTW, I'm not aware of why the NFD normalisation is the one who works, and not one of the other three. Thanks. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Re: JavaFX JIRA issues moving to JBS

2015-04-16 Thread Fabrizio Giudici
involved please do the same, and then let's start there. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Re: JavaFX JIRA issues moving to JBS

2015-04-16 Thread Fabrizio Giudici
an, more than just describing bugs and providing patches: it would have a role in moderating the public instance, and I understand this is definitely much more boring than grokking code), but I think this is somewhat unavoidable if Oracle doesn' want to pay the costs for this activity. -

Re: JavaFX JIRA issues moving to JBS

2015-04-15 Thread Fabrizio Giudici
have to sift through the forums looking for users that would make good JBS participants. Good points. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Re: JavaFX JIRA issues moving to JBS

2015-04-15 Thread Fabrizio Giudici
there are a couple of dozen developers from the same corporate that could share the same email alias. Even in this case self-subscribing wouldn't be needed, actually it might make sense to have a control process to be sure that the corporate account is official, I mean the corporate is in

Re: JavaFX JIRA issues moving to JBS

2015-04-15 Thread Fabrizio Giudici
vel posting of issues, that would be expensive to manage. If this is the case, let's discuss it. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Re: JavaFX JIRA issues moving to JBS

2015-04-15 Thread Fabrizio Giudici
about having the access policy of JBS more open, such as the current JIRA for OpenJFX? I suppose these are more legal issues, or internal Oracle policy issues, than technical issues. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://ti

Re: JavaFX JIRA issues moving to JBS

2015-04-15 Thread Fabrizio Giudici
While consolidating the issue tracked is a plus, I share the doubts about the usability of JBS vs Jira. Why not going the opposite path :-) that is consolidating everything under Jira? -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere.&

Re: Media API question regarding metadata retrieval

2015-04-01 Thread Fabrizio Giudici
are some pure Java media parsers around; the problem is that one should check whether they are complete, that is whether they support all the kinds of media one needs. For instance, at the moment I'm using Jaudiotagger. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We

Re: Questions/possible bugs about JDK 1.8.0 + OpenJFK on the PI 2

2015-03-26 Thread Fabrizio Giudici
On Thu, 26 Mar 2015 19:40:41 +0100, Fabrizio Giudici wrote: The mouse is ok, it was probably a connection fault. The keyboard navigation of buttons is still not working - still investigating. The keyboard is definitely not working with my app, even with a simple TextField. It does work

Re: Questions/possible bugs about JDK 1.8.0 + OpenJFK on the PI 2

2015-03-26 Thread Fabrizio Giudici
On Wed, 25 Mar 2015 21:04:28 +0100, David Hill wrote: On 3/25/15, 3:28 PM, Fabrizio Giudici wrote: Two possibilities - Did you up the allocated vram ? (I think this might not be a factor on newer Raspbians, they were going to a dynamic split). Does X11 fill the full screen when it runs

Re: Questions/possible bugs about JDK 1.8.0 + OpenJFK on the PI 2

2015-03-25 Thread Fabrizio Giudici
-20150325.201531-2-bin.zip The sources are here (still with possibly troubled snapshots dependencies): https://bitbucket.org/tidalwave/bluemarine2-src/ Changeset from which I build the binaries is 22ccace8a18b -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Every

Re: Questions/possible bugs about JDK 1.8.0 + OpenJFK on the PI 2

2015-03-25 Thread Fabrizio Giudici
On Wed, 25 Mar 2015 21:04:28 +0100, David Hill wrote: On 3/25/15, 3:28 PM, Fabrizio Giudici wrote: Two possibilities - Did you up the allocated vram ? (I think this might not be a factor on newer Raspbians, they were going to a dynamic split). Yes. It just didn't work with the sta

Re: Questions/possible bugs about JDK 1.8.0 + OpenJFK on the PI 2

2015-03-25 Thread Fabrizio Giudici
can share the code, but I need to fix a couple of things so it doesn't depend on Maven snapshot artifacts (also, my Hudson is in maintenance and I can't confirm the app can be compiled from the outside world). I'll alter post to oss.sonatype.org the binaries, so if someone

Questions/possible bugs about JDK 1.8.0 + OpenJFK on the PI 2

2015-03-25 Thread Fabrizio Giudici
ome more with the pre-installed JDK, but obviously I'd like to move to the latest available one as soon as possible. Please also let me know how I can help in the investigations. Thanks. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Re: libjfxmedia.so on armv6hf?

2015-03-17 Thread Fabrizio Giudici
t the thing didn't work many times. This doesn't mean I'm necessarily in a fatalistic mood. When my RPI2 arrives, I'll try the option you and others suggested. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Re: libjfxmedia.so on armv6hf?

2015-03-16 Thread Fabrizio Giudici
ms that no matter Sun or Oracle, there's a sort of curse preventing the Java ecosystem to fully work on the reference rich UI hardware. Sorry for the rant, nothing against people of course, but that's just my feelings at the moment. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a

Re: JavaFX (1.7.0_45) and Applet: problem with layout

2014-09-19 Thread Fabrizio Giudici
On Tue, 16 Sep 2014 11:55:26 +0200, Fabrizio Giudici wrote: Hello. A customer submitted me a problem concerning a Java WebStart applet made with JavaFX (JDK 1.7.0_45): the thing works, but at the beginning the rendering in the browser is such that a number of pixels are off the

Re: JavaFX (1.7.0_45) and Applet: problem with layout

2014-09-16 Thread Fabrizio Giudici
On Tue, 16 Sep 2014 11:55:26 +0200, Fabrizio Giudici wrote: it by removing unneeded stuff and making sure that PREFERRED_SIZE is Correction: I meant USE_COMPUTED_SIZE. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.i

JavaFX (1.7.0_45) and Applet: problem with layout

2014-09-16 Thread Fabrizio Giudici
;d like to understand what's wrong. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Re: OT: Netbeans ported to JFX?

2014-07-10 Thread Fabrizio Giudici
-users (Microsoft jokes apart). Oracle doesn't. This doesn't mean that they couldn't. But should they do that, it should be a business decision, which means also to update their business plans, not just a way to push their technology. -- Fabrizio Giudici - Java Architect @

Re: OT: Netbeans ported to JFX?

2014-07-10 Thread Fabrizio Giudici
ss was not to create real world apps (I mean, with the exception of IDEs or other apps for the management of Oracle apps). A technology owner, usually, when tries to create a real world app only creates a demonstrator of a real world app, which doesn't have any success. -- Fabrizio

Re: JFXPanel vs. real world usage

2013-10-24 Thread Fabrizio Giudici
y experience is from a closed-source project of a customer. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Re: Moving on (forked from Re: JavaOne roundup?)

2013-09-30 Thread Fabrizio Giudici
t weeks, a "swept" of re-scheduling of bugs (were planned for JDK8, now are for "Van Ness" (*)). I suppose that might have had some impact. (*) Please, can somebody clarify when "Van Ness" is expected to happen, including any eventual re-scheduling? Thanks. -- Fabri

Re: CNET: Google begins barring browser plug-ins from Chrome

2013-09-25 Thread Fabrizio Giudici
. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Re: CNET: Google begins barring browser plug-ins from Chrome

2013-09-25 Thread Fabrizio Giudici
d by WebStart should be unaffected. Or am I missing something? -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Re: Why is almost everything in the API final

2013-09-03 Thread Fabrizio Giudici
ere's a good design in this sense and eventually ask for a better one when needed. I mean, rather than subclassing, perhaps that quick fix can be done by composition? -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalw

Re: Why is almost everything in the API final

2013-09-02 Thread Fabrizio Giudici
of extending a class, while the few developers would see the accumulation of a huge number of problems because those minor things are multiplied by the large number of users. It's precisely by putting oneself in the perspective of the developers that 'final' makes sense. -

Re: Why is almost everything in the API final

2013-09-02 Thread Fabrizio Giudici
dition.May.2008.3000th.Release.pdf It explains the burden and dangers of non-final design quite well. +1 -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Re: JavaFX Media issues

2013-08-08 Thread Fabrizio Giudici
upport more formats. Will it be replaced by FX2 media or co-exist with it? -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Re: JavaFX Sightings (forked from Re: Can JavaFX do CAD?)

2013-08-07 Thread Fabrizio Giudici
slides and diagrams about the market share. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Re: JavaFX Sightings (forked from Re: Can JavaFX do CAD?)

2013-08-04 Thread Fabrizio Giudici
ogy (for JavaFX it's typically GWT) and such a page is a great FUD-killer. +1 -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Re: Can JavaFX do CAD?

2013-07-27 Thread Fabrizio Giudici
t is around since 2007 might even deliver the opposite message that we want. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Re: Can JavaFX do CAD?

2013-07-26 Thread Fabrizio Giudici
at the technology was viable. So I think Oracle should do the same for JavaFX - (if it doesn't exist, I'm not aware of it). -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Re: Detecting when a TreeItem is no more used

2013-07-26 Thread Fabrizio Giudici
usually intervene too late. For instance, the TreeItem might subscribe to events that are used to update its state, and unsubscription must happen when the TreeItem is no more used, otherwise bad things can happen. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java

Re: Detecting when a TreeItem is no more used

2013-07-26 Thread Fabrizio Giudici
t;...> i2 = new TreeItem<...>(); treeView.setRoot(i2); I'd say that when you change the root to i2, i1 is no more needed, right? -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Detecting when a TreeItem is no more used

2013-07-26 Thread Fabrizio Giudici
used. It would be fine for me, but I'm just trying to understand whether this is the simpler, most appropriate approach. Thanks. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Re: Pushing OpenJFX to Maven - licensing and other stuff (forked from Re: jfxrt.jar - is it platform specific?)

2013-07-25 Thread Fabrizio Giudici
(with the exception of native compilations, for which I'm probably not the best candidate). -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Re: Can JavaFX do CAD?

2013-07-24 Thread Fabrizio Giudici
ing whether a port of the old project with Batik would be feasible. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Re: Disabling JavaFX minimise/maximise/etc buttons

2013-07-24 Thread Fabrizio Giudici
ngful actions. The more useless freedom you give him, the more damage he will do :-) -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Re: Disabling JavaFX minimise/maximise/etc buttons

2013-07-24 Thread Fabrizio Giudici
On Wed, 24 Jul 2013 09:59:07 +0200, Artem Ananiev wrote: On 7/24/2013 12:45 AM, Fabrizio Giudici wrote: On Tue, 23 Jul 2013 22:34:48 +0200, Anthony Petrov wrote: I don't agree. IMO, it's annoying when I'm able to resize a window freely but unable to maximize it. This ju

Re: Disabling JavaFX minimise/maximise/etc buttons

2013-07-23 Thread Fabrizio Giudici
ke to stretch them a bit. But I don't know how this stands with the various operating system design guidelines. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

Re: Disabling JavaFX minimise/maximise/etc buttons

2013-07-23 Thread Fabrizio Giudici
whole application window is pushed back (that is, other application windows get over it). I presume it doesn't make much sense :-) But it actually disables the "full screen" and maximize buttons as expected. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "W

Re: Thread checks in Glass

2013-07-22 Thread Fabrizio Giudici
On Mon, 22 Jul 2013 11:06:14 +0200, Petr Pchelko wrote: Hello all, This is goodness. Definitely +1, if this approach was followed in Swing since 199X we'd have much less troubles with existing code today. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make

Re: JavaFX app with Spring doesn't terminate on Mac OS X with Cmd-Q

2013-07-05 Thread Fabrizio Giudici
ion you came up with (calling applicationContext.close()) looks correct: you tell the background services to shut down, and then the application can terminate as expected. Hope this helps. It makes perfectly sense. Thanks. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. &qu

JavaFX app with Spring doesn't terminate on Mac OS X with Cmd-Q

2013-07-04 Thread Fabrizio Giudici
(); } }); For me it's fine, but I'd like to understand whether this is the correct behaviour, or I'm doing something wrong, or there's a bug somewhere. Details: JDK 1.7.0_25 with its embedded JavaFX runtime, Mac OS X 10.8.4. Sources fully available if neede

Re: JavaFX8 on iPhone! It works!

2013-07-03 Thread Fabrizio Giudici
On Wed, 03 Jul 2013 18:07:01 +0200, Niklas Therning wrote: Awesome! Can you please post the build instructions somewhere? I'm not getting a long with gradle at all. :-( Please post some photos too... :-) -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make

Re: openjfx-dev Digest, Vol 19, Issue 73

2013-07-02 Thread Fabrizio Giudici
eeing seems to be a bug in processing font metrics. Looks very similar to RT-18883 indeed. Thanks. I did some research in the past days and collected some other issue references - I opened RT-31382 (I see that you just commented on it). -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. &qu

Re: WebView and Aloha Editor

2013-07-01 Thread Fabrizio Giudici
prism graphics It soudns as they are. Given that hopefully somebody is working on that, do you think is it possible to apply some temporary workaround in Aloha? Or I only have to wait for a fix in JavaFX? -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywh

WebView and Aloha Editor

2013-06-29 Thread Fabrizio Giudici
t an expert of JavaScript and I don't know how the text manipulation in Aloha works, but I wonder whether a font rendering that is not the original of WebKit can cause harm. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://ti