View Single Post
Old 12-28-2012, 09:48 PM   PM User | #3
rich1051414
New to the CF scene

 
Join Date: Dec 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
rich1051414 is an unknown quantity at this point
Quote:
Originally Posted by Fou-Lu View Post
Despite the similar sounding names, Java is not the same as Javascript.
Moving from javascript forum to Java forum.

I'm not familiar with the JavaFX library (which I recall looking a bit into and its a gui extension?), but what you have here looks similar to swing. Under the description you have here, it is similar to a swing component issue as well. The setGraphic is a bit different though.

Does the JavaFX have an invalidate option as a part of its base component? If so, try invalidating "this" and see if the gui forces a repaint. I often have these same issues with the swing which is why I typically reserve components that are treatable as input components as the container for anything dynamic (textboxes for example will always repaint).
I know the difference, and I thought I did post in the Java forum.
And javafx does not invalidate, nor can I find anything about repaint/redraw/paint/etc you would expect from typical java.

Last edited by rich1051414; 12-28-2012 at 09:52 PM..
rich1051414 is offline   Reply With Quote