title: How to calculate the pixel width of a String in JavaFX?
body: <p>It appears that there is no API call to calculate the width (in pixels) of a text string in Java FX 2.2.  There have been suggestions of workarounds on other forums, but my efforts to create or find any code that returns the width of a String, either using the default font or otherwise, have failed.  Any help would be appreciated.</p>