But i am not getting how to and where to implement this modalityType in which code section of the program.
--- Update ---
i am sorry i post it three times , but i am ot getting to any...
Type: Posts; User: ankushpruthi
But i am not getting how to and where to implement this modalityType in which code section of the program.
--- Update ---
i am sorry i post it three times , but i am ot getting to any...
I have downloaded a snake game project from the internet, initially this project contains three java files namely
when i run Engine.java ,game starts running ..
Now i have done some...
how can i set my canvas i focus.
or also i am thinking to chage keyListener to KeyBinding, then you can plz tell me how can i set this approach in this game project/ or i Engie.java class
i.e how...
Ok .but Have u any idea why the output is hanging or what would be the reason why swing output hangs.
Actually i create JFrame using netbeans and placed button over JFrame like we do i VB.
So jbutton1 is the reference Of JButton and i titled it as Play
--- Update ---
package org.psnbtech;...
Actually i have not doe any major chage in Engine.java file.
I just move main() method code in theactionperformed() method of play button and create an object of PlayGame.java in the main() method...
I have downloaded a snake game project in java. Initially the project contains three java files i.e "
Engine.java
Snake.java
GameBoard.java
And Engine.java have the main() method,...