jme canvas in swing (5 posts)

  • Profile picture of maxim maxim said 3 months, 2 weeks ago:

    Im trying to make a swing application with the jme canvas in it, but there are conflicts with the SystemListener or so.
    I read this article: http://jmonkeyengine.org/wiki/doku.php/jme3:advanced:swing_canvas

    now I want to insert some textboxes, wich works, but they arent selectable unless I unset the systemlistener of the jme canvas.
    what can I do about that?

  • Profile picture of Empire Phoenix Empire Phoenix157p said 3 months, 2 weeks ago:

    Textboxes in Swing I assume ? not in Nifty?

    What about the approach used in jme3tests.post.TextRenderToMemory

  • Profile picture of maxim maxim said 3 months, 2 weeks ago:

    I dont know what you mean. I use swing textfield in a swing window. I tried several workarrounds like settings the systemlistener to null when the mouse enters a certain component and resetting it when it exits, but it just didnt work.

  • Profile picture of Empire Phoenix Empire Phoenix157p said 3 months, 2 weeks ago:

    Have you tried the way it is done in the TestRenderToMemory?

  • Profile picture of maxim maxim said 3 months, 2 weeks ago:

    how am I sopposed to use that?