Longarmx
|
 |
«
Posted
2012-04-03 22:18:34 » |
|
[size=10pt]Hi again!
This time I am having a problem registering for the LWJGL forum. The only problem is I can't seem to get the right answer to this question: "What is the package + class name that Display inherits from?"
I have tried to do org.lwjgl.opengl, opengl, and org.lwjgl.opengl.Display. It says that they are all wrong. If somebody could help me, that would be great!
Thanks, Longarmx[/size]
|
|
|
|
Riven
|
 |
«
Reply #1 - Posted
2012-04-03 22:22:30 » |
|
Please ask this question in irc.freenode.net #lwjgl.
Not that this question is not welcome here, but because answering this question is not allowed, as it will be crawled by Google, leading to (human) spammers easily finding the answer.
|
|
|
|
Longarmx
|
 |
«
Reply #2 - Posted
2012-04-03 23:13:07 » |
|
Oh, sorry. I didn't think about spammers coming here. 
|
|
|
|
Games published by our own members! Check 'em out!
|
|
Longarmx
|
 |
«
Reply #3 - Posted
2012-04-03 23:17:29 » |
|
Wait a second... I went to that site and all it said was "It works!" Am I supposed to email somebody for support?
|
|
|
|
|
|
Longarmx
|
 |
«
Reply #5 - Posted
2012-04-03 23:27:20 » |
|
Besides that, please read the captcha again, does it really ask for the package/class of you thought earlier? Yes, I am sure that it says that. Thank you for helping, Longarmx
|
|
|
|
Riven
|
 |
«
Reply #6 - Posted
2012-04-03 23:27:58 » |
|
then you're wrong 
|
|
|
|
Longarmx
|
 |
«
Reply #7 - Posted
2012-04-03 23:40:12 » |
|
Wow... I was thinking along an entirely different set of lines. After countless failed attempts, reentering my password, and redoing the captcha, I FINALLY GOT IT!!!  Thank you Riven, Longarmx
|
|
|
|
|
|
ra4king
|
 |
«
Reply #9 - Posted
2012-04-04 01:19:54 » |
|
Also, LWJGL is meant for those who are proficient with Java already. If you are a complete Java noob, DO NOT JUMP STRAIGHT INTO LWJGL/OPENGL. Instead, read this. Thank you and have a good day 
|
|
|
|
Games published by our own members! Check 'em out!
|
|
Longarmx
|
 |
«
Reply #10 - Posted
2012-04-04 03:27:14 » |
|
@ra4king yeah, right now I'm just using LWJGL for the ease of use with actionListeners and the Display. Maybe later I'll get into 3D though. 
|
|
|
|
theagentd
|
 |
«
Reply #11 - Posted
2012-04-04 09:00:53 » |
|
@ra4king yeah, right now I'm just using LWJGL for the ease of use with actionListeners and the Display. Maybe later I'll get into 3D though.  ActionListeners...? ^^'
|
Myomyomyo.
|
|
|
Longarmx
|
 |
«
Reply #12 - Posted
2012-04-04 14:16:39 » |
|
@ra4king yeah, right now I'm just using LWJGL for the ease of use with actionListeners and the Display. Maybe later I'll get into 3D though. ActionListeners...? ^^' Yeah, stuff like mouse events, and keyboard events. 
|
|
|
|
ra4king
|
 |
«
Reply #13 - Posted
2012-04-04 23:00:28 » |
|
There aren't any ActionListeners in LWJGL 
|
|
|
|
Longarmx
|
 |
«
Reply #14 - Posted
2012-04-05 18:09:42 » |
|
There aren't any ActionListeners in LWJGL
Hmmm... Then where does the Keyboard class and mouse class come from? 
|
|
|
|
sproingie
|
 |
«
Reply #15 - Posted
2012-04-05 19:21:09 » |
|
Those aren't ActionListeners. Look at the javadoc for them sometime. They're barely event-based at all.
|
|
|
|
|
Longarmx
|
 |
«
Reply #16 - Posted
2012-04-05 19:44:11 » |
|
So they're just state based? Or did I understand the javadoc wrong?
|
|
|
|
sproingie
|
 |
«
Reply #17 - Posted
2012-04-05 21:52:12 » |
|
ActionListener is a specific interface from AWT. These neither implement ActionListener, nor do they implement any kind of event listening. You can use them to poll the current state, as well as pull events from their internal event queue. This makes them the source of events, not a listener for them.
|
|
|
|
|
theagentd
|
 |
«
Reply #18 - Posted
2012-04-06 12:01:36 » |
|
Those aren't ActionListeners. Look at the javadoc for them sometime. They're barely event-based at all.
1 2 3
| while(Mouse.next()){ } |
The same works for Keyboard too. That's the correct way for processing input or you might miss clicks or button presses. EDIT: You can use them to poll the current state, as well as pull events from their internal event queue. This makes them the source of events, not a listener for them.
Oops.
|
Myomyomyo.
|
|
|
|