Search:

Type: Posts; User: syedfahadjalali

Search: Search took 0.12 seconds.

  1. Replies
    8
    Views
    170

    Re: Patterns!! Please help!

    Extremely Sorry. i will be carefull
  2. Replies
    8
    Views
    170

    Re: Patterns!! Please help!

    try this



    for(int i=1;i<7;i++){

    for(int k=1;k<=i;k++)
    System.out.print(k);

    System.out.println() ///// for LINE Breaking Work With Outer Loop
  3. Replies
    3
    Views
    194

    Re: Error ? Jgrasp ...

    PRIME Number is one which is divide only by it self and 1. now make your logic to find the Prime number . but the programme should be look like this



    int input;
    Scanner myscan = new...
  4. Re: suggestions required on Jlabel(ImageIcon) and Jbutton for mouselistener

    Well Syed Bhai Thanks for your suggestions but Conceptually, a label is not intended to be interactive (except tooltips or mouseover effects).
    Next I Am thinking of My users. What about those who...
  5. suggestions required on Jlabel(ImageIcon) and Jbutton for mouselistener

    well my programme near to end . i am using Jlabels with ImageIcon . but some time when i clicked on outside of jlabel/ImageIcon the mouse event generated un-wantedly on some other label. i heared...
  6. Replies
    13
    Views
    293

    Re: Bridge Card Game.

    thanks its working
  7. Replies
    13
    Views
    293

    Re: Bridge Card Game.

    yes it is Modal
  8. Replies
    13
    Views
    293

    Re: Bridge Card Game.

    yes this is the problem
  9. Replies
    13
    Views
    293

    Re: Bridge Card Game.

    ok let me post that code

    --- Update ---

    This is human play() method


    public void play(){
    synchronized(Deck.getPlayers()[0]){
    try{
  10. Replies
    13
    Views
    293

    Re: Bridge Card Game.

    dear Norm the logic is some AI algorithm which is working fine. actually the problem is not in playingLogic. let consider the method of Play is something which returns a card and set the next player....
  11. Replies
    13
    Views
    293

    Re: Bridge Card Game.

    if i create a thread that handles the Play function and use wait() and notify() methods for thread handling should it be a good idea ?
  12. Replies
    13
    Views
    293

    Bridge Card Game.

    Dear Programmers I am stuck in middle of Game. I have planned all the Game but while writing its code i am stucked.
    Here is my first class which is working fine. it created 52 objects of Card

    ...
  13. Replies
    8
    Views
    170

    Re: how to enforce loop to wait

    public static void startGame(){
    Deck dock = new Deck();
    for(int j=0;j<13;j++)
    for(int i=0;i<4;i++)
    deckArray[i] = Player[i].play(); //here deckArray will...
  14. Replies
    2
    Views
    80

    Re: Saving number into integer in java program!

    thanks i am sorry
  15. Replies
    8
    Views
    170

    how to enforce loop to wait

    I am stuck from last 1 month and i didnot find any solution. my problem is i am writing a game of four players. three are computers and one human.

    so there are a play() funtion for computers and...
  16. Replies
    2
    Views
    80

    Moved thread

    .....
Results 1 to 16 of 16