• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java ImageView get position and set alignment

Dmitriy Logov
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

JEditorPane contains within itself the ImageView. I can get the size and alignment:

I need to get the coordinates x/y (absolute or relative) and change the y alignment to 0.75. How can I do this?

lines 258-267 and 111
How i can change private float vAlign; value ?


error: vAlign has private access in ImageView
Why is this not working?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!