UIWindow: resizing and text fields

1:
Is there any possibility to resize a UIWindow? I tried some obvious changes to make it possible in the Xith3D source, but they caused problems. Are there plans to support resizing?

Background: For using a UIWindow, I subclass it. If the size of the UIWindow depends on arguments in the constructor of my subclass I have no chance to resize it.

2:
I often noticed artefacts when displaying text in a JTextField (within UIWindow). In the worst case whole characters disappear. Does anyone else have this problem? (try Xith3DGuiTest and look at the last character of the text field) Why does this happen? Can this be avoided? Are there chances/plans to fix this?

  1. could be expanded to UIWindow generally. The current implementatin doesn’t seem to be perfect. If you look at the FPS counter in my demo you see artifacts alot of the time. Its done with a JPanel which is g.drawString() to display the text.

Been meaning to mention this, thanks for reminding me Jens :slight_smile:

Kev

[quote]If you look at the FPS counter in my demo you see artifacts alot of the time. Its done with a JPanel which is g.drawString() to display the text.
[/quote]
It’s the same with my FPS counter, which is a JTextField added to a JPanel.