Re: Default Font in JavaFX 2.2 and JavaFX 8

2013-08-24 Thread Scott Palmer
I pressed send just a moment too soon it seems. That makes sense. Perhaps the comment in the CSS file should reflect that? Scott On Sat, Aug 24, 2013 at 10:55 AM, Richard Bair richard.b...@oracle.comwrote: It depends on the platform. We choose as the default whatever the OS tells us the

Re: Default Font in JavaFX 2.2 and JavaFX 8

2013-08-24 Thread Jasper Potts
Windows XP = Tahoma 8pt Windows Vista or newer = Segoe UI 12,15 or 18 depending on user large font setting Mac = Lucida Grande 13 Linux = I am not 100% sure think Lucida Sans 12 Jasper On Aug 24, 2013, at 7:55 AM, Richard Bair richard.b...@oracle.com wrote: It depends on the platform. We

Re: Default Font in JavaFX 2.2 and JavaFX 8

2013-08-24 Thread Peter Penzov
I found these post how to embed fonts: http://thierrywasyl.wordpress.com/2013/01/27/set-custom-font-in-javafx-2/ http://stackoverflow.com/questions/16855677/how-to-embed-ttf-fonts-is-javafx-2-2 Do you think that it's a good idea to embed a font and use it on every OS? Maybe I will have future

Call static content

2013-08-24 Thread Peter Penzov
I have this code from JavaFX application: private static final ImageView ncpic; static { ncpic = new ImageView(TabContent.class.getResource(/images/6.jpg).toExternalForm()); } I noticed that I can use this picture only once. When I use it twice the scene where I call it it's

Re: Call static content

2013-08-24 Thread Tom Schindl
This is more a user group question! A node can be shown only in one place. If you want to reuse the same image load the image into javafx.scene.Image and set it to different ImageView-Nodes. Tom On 24.08.13 21:01, Peter Penzov wrote: I have this code from JavaFX application: private static