Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

JavaFX GTK and rotate

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm have some trouble with javaFX.

my linux arm box won't work with eglfb for some reason. (still trying to figure that part out)

but if i force my java application with GTK it starts just fine.
most of the trasistions work, for example a simple fade.

But somehow when i do a rotate transition it goes wrong:

the image disappears as soon as i start it.

when the transistion is complete, it shows the image (rotated) at the top left of the screen.

When i rotate it back, it disappears again. and once complete it is back at the original position.

i tried 2 pieces of code's:

first: rotateLock = new RotateTransition(new Duration(500),imgLock);

second:
Rotate rotationTransform = new Rotate(0, 79, 0);
and then with a Timeline.

Does anyone have any experience with this? or does the GTK platform simply not support these kinds of effects?


Regards
 
Everyone is a villain in someone else's story. Especially this devious tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic