Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #28189 > unrolled thread

Any good CSS style sheets for JavaFX Native look-and-feel?

Started byWayne <nospam@all.invalid>
First post2014-04-22 23:27 -0400
Last post2014-04-23 14:32 +1000
Articles 5 — 3 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  Any good CSS style sheets for JavaFX Native look-and-feel? Wayne <nospam@all.invalid> - 2014-04-22 23:27 -0400
    Re: Any good CSS style sheets for JavaFX Native look-and-feel? "Qu0ll" <Qu0llSixFour@gmail.com> - 2014-04-23 13:39 +1000
      Re: Any good CSS style sheets for JavaFX Native look-and-feel? Joerg Meier <joergmmeier@arcor.de> - 2014-04-23 09:50 +0200
        Re: Any good CSS style sheets for JavaFX Native look-and-feel? "Qu0ll" <Qu0llSixFour@gmail.com> - 2014-04-23 18:11 +1000
    Re: Any good CSS style sheets for JavaFX Native look-and-feel? "Qu0ll" <Qu0llSixFour@gmail.com> - 2014-04-23 14:32 +1000

#28189 — Any good CSS style sheets for JavaFX Native look-and-feel?

FromWayne <nospam@all.invalid>
Date2014-04-22 23:27 -0400
SubjectAny good CSS style sheets for JavaFX Native look-and-feel?
Message-ID<8qG5v.60379$Pk4.24681@fx28.iad>
The textbook I have been using has switched from swing
and a bit of AWT, to nothing except JavaFX.  While I
might agree JavaFX is a better designed API, a serious
drawback is the lack of any native LAF.

I have seen some references to some CSS style-sheets
for JavaFX, but none seem to be widely accepted.  I'm
hoping someone with more knowledge of JavaFX (that won't
be hard to find) can provide some pointers for some
CSS to provide Windows 7, Mac, Linux (Gnome) native
LAF.  Especially Windows.

Thanks!

-- 
Wayne

[toc] | [next] | [standalone]


#28190

From"Qu0ll" <Qu0llSixFour@gmail.com>
Date2014-04-23 13:39 +1000
Message-ID<lj7con$1o8$1@speranza.aioe.org>
In reply to#28189
"Wayne"  wrote in message news:8qG5v.60379$Pk4.24681@fx28.iad...

> The textbook I have been using has switched from swing
> and a bit of AWT, to nothing except JavaFX.  While I
> might agree JavaFX is a better designed API, a serious
> drawback is the lack of any native LAF.
>
> I have seen some references to some CSS style-sheets
> for JavaFX, but none seem to be widely accepted.  I'm
> hoping someone with more knowledge of JavaFX (that won't
> be hard to find) can provide some pointers for some
> CSS to provide Windows 7, Mac, Linux (Gnome) native
> LAF.  Especially Windows.

JavaFX is positively awesome but definitely lacks native look and feel 
CSS/skins at this stage.

The only one I know of at the moment is AquaFX for MacOS 
(http://aquafx-project.com/project.html) and there is certainly none 
available for any flavour of Windows or Linux.

Some work is being done on an iOS "skin" but it is very preliminary.

The goal of JavaFX is not to try to emulate native look and feel so I am not 
sure you will ever see such "skins" in the future.

Personally, I feel emulated native look and feel is a very bad idea and 
never works the way you want.  On the contrary, I always feel a bit "conned" 
using such fake interfaces, especially when even minor non-compliant quirks 
appear.

Also, as for JavaFX itself, don't even bother with JavaFX 2 (part of JDK 7); 
just jump straight to JavaFX 8 (part of JDK 8).  Just take my word for it 
;-)

--
And loving it,

-Qu0ll (Rare, not extinct)
_________________________________________________
Qu0llSixFour@gmail.com
[Replace the "SixFour" with numbers to email me] 

[toc] | [prev] | [next] | [standalone]


#28193

FromJoerg Meier <joergmmeier@arcor.de>
Date2014-04-23 09:50 +0200
Message-ID<uc0qt5h9b4qf$.1iprw35e514rj.dlg@40tude.net>
In reply to#28190
On Wed, 23 Apr 2014 13:39:50 +1000, Qu0ll wrote:

> Personally, I feel emulated native look and feel is a very bad idea and 
> never works the way you want.  On the contrary, I always feel a bit "conned" 
> using such fake interfaces, especially when even minor non-compliant quirks 
> appear.

Maybe it's the uncanny valley of program UIs :p

Liebe Gruesse,
		Joerg

-- 
Ich lese meine Emails nicht, replies to Email bleiben also leider
ungelesen.

[toc] | [prev] | [next] | [standalone]


#28195

From"Qu0ll" <Qu0llSixFour@gmail.com>
Date2014-04-23 18:11 +1000
Message-ID<lj7skm$3fp$1@speranza.aioe.org>
In reply to#28193
"Joerg Meier"  wrote in message 
news:uc0qt5h9b4qf$.1iprw35e514rj.dlg@40tude.net...

> Maybe it's the uncanny valley of program UIs :p

Yeah, I love that analogy.  The user feels uneasy yet can't quite put their 
finger on the reason.

And in UIs, the last thing you want is for your end user to "feel uneasy" or 
even "revolted" (as in the real uncanny valley)...

--
And loving it,

-Qu0ll (Rare, not extinct)
_________________________________________________
Qu0llSixFour@gmail.com
[Replace the "SixFour" with numbers to email me] 

[toc] | [prev] | [next] | [standalone]


#28192

From"Qu0ll" <Qu0llSixFour@gmail.com>
Date2014-04-23 14:32 +1000
Message-ID<lj7fqk$713$1@speranza.aioe.org>
In reply to#28189
"Stefan Ram"  wrote in message 
news:JavaFX-20140423054618@ram.dialup.fu-berlin.de...

> Oracle does not seem to be willing to supply this.
> They must have a reason for this, but this reason is
> not published AFAIK.

1. As mentioned in my other post, native look and feel *never* works well 
enough to be acceptable.
2. The developer of said look and feel is forever playing catch-up as the 
target OS evolves.
3. Such beasts are not needed anyway.  The look and feel of an 
app/application (particularly on iOS or Android) is the least significant 
aspect of it.
4. A vast array of apps/applications already do not even try to look 
"native", even when they were developed using native tools like Visual 
Studio on Windows for example.
5. The cost of building an emulated native look and feel is extremely 
prohibitive as there are just so may subtle little nuances that you need to 
cater for, many of which utilise APIs only available to true native apps, 
and if you *don't* cater for these nuances your resulting product will be 
picked as bogus by any user.

> One third-party attempt is JMetro. But the Window L&F
>  itself today seems to be a moving target.

Yes, there is JMetro.  But given that Microsoft recently declared Metro (or 
"Modern UI") on Windows 8 and 8.1 as "a mistake" and that there will be no 
new updates for this OS after 8.1U1, don't expect any such touch-based UI in 
Windows 9 (which will be a familiar desktop OS like Windows 7 and earlier 
and will revitalise Win32 which MS were trying to kill-off).  Windows 9 will 
be rushed to market in a bid to wipe the painful memories of Windows 8 from 
loyal users in much the same way Windows 7 did for Vista.

--
And loving it,

-Qu0ll (Rare, not extinct)
_________________________________________________
Qu0llSixFour@gmail.com
[Replace the "SixFour" with numbers to email me] 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web