Search:

Type: Posts; User: ankushpruthi

Search: Search took 0.09 seconds.

  1. Re: how to handle action events in case of more than one JFrame

    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...
  2. how to handle action events in case of more than one JFrame

    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...
  3. Re: how to open one Jframe from main method call

    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...
  4. Re: how to open one Jframe from main method call

    Ok .but Have u any idea why the output is hanging or what would be the reason why swing output hangs.
  5. Re: how to open one Jframe from main method call

    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;...
  6. Re: how to open one Jframe from main method call

    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...
  7. how to open one Jframe from main method call

    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,...
Results 1 to 7 of 7