Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Texugo

#1
Support / Swing as Gui Layer
June 20, 2011, 06:09:38 AM
Hello buddies

I tried to put swing as a gui layer in my application but the components don't show. How to make it? I've searched in forum/wiki but i'm still confused. My code is exactly the same from Loading models from Blender http://www.jpct.net/wiki/index.php/Loading_3ds_Models_from_Blender. the only difference is a method who's add swing components to frame.
There's a simple way to do this?

Thanx
#2
Support / Changing bpp from application?
June 14, 2011, 06:46:38 AM
Hi buddies ... a new dummy on the block :-)

I'm on Ubuntu 10.10 - 64 bits and a GeForce 9600.
I try the Hello World and have this problem:


Software renderer (OpenGL mode) initialized
Software renderer disposed
Can't find desired videomode (800 x 600 x 32) - searching for alternatives
Can't find alternative videomode (800 x 600 x 32) - trying something else
[ Tue Jun 14 01:24:04 BRT 2011 ] - ERROR: Can't find any suitable videomode!
[ Tue Jun 14 01:24:04 BRT 2011 ] - ERROR: Can't set videomode - try different settings!
Exception in thread "main" java.lang.IllegalStateException: Cannot determine close requested state of uncreated window
at org.lwjgl.opengl.Display.isCloseRequested(Display.java:577)
at Main.loop(Main.java:39)
at Main.main(Main.java:15)


I came to forum and saw another topic with the same problem. The solution were change bpp from 24 to 32 but ... how to make it? I try in my nvidia settings and it tell me the max bpp is 24 :-|
There's some way to change it in FrameBuffer configuration?
Thanx