Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I don't know if this is a valid question, but: What kind of window manager do games use which have internal frames (Frames inside frames)? Does this differ between the programming languages (Are e.g. in Java the AWT/Swing libraries used to manage these and other graphical elements, such as buttons,or is this to restrictive (speed, graphical possibilities?))

A special example would be EVE Online, where the client can use the ingame windows like on a normal desktop.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

You can actually use Swing canvas as an opengl context where you can render your game. You can use all the classic Swing components around your game. I say around because you cannot add components inside your game, which is what you seems to ask for.

Games usally use what we call a GUI (for G raphical U ser I nterface). A GUI will just draw windows and other composents like you would draw a character in your game.

Here are two GUI's written in Java using LWJGL (OpenGL port in Java) for rendering:

Since the above GUI's use OpenGL for rendering, you can render them in the OpenGL context of your game for example. A lot of others GUI's exist for many others languages and using differents technologies.

share|improve this answer
    
That's great! Thank you for the answer :) I think major companies will use their own GUI-systems, so I don't want to start even thinking about programming my own (for now) :D –  2080 Sep 30 '12 at 13:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.