JFRAME suggestions

Posted on 2005-04-18
Last Modified: 2010-03-31
I am making a black jack game and i almost have all the GUI set up but i need a little help!!  I need some sugestions on what i would use for the middle where the cards go.  the concern I have is that I cant just make four places to hold the cards because if they hit i need to show those cards also.  just need some suggestions on how i should try to do this.

Question by:tedschnieders
    LVL 92

    Accepted Solution

    You could have a spot for each new card dealt, and display the rest of the cards orverlapping.
    So before each card is dealt the previously dealt card is moved to the stack of overlapping cards.
    LVL 3

    Expert Comment

    Just draw em stacked one on the other.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Suggested Solutions

    Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
    Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
    Video by: Michael
    Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
    This video teaches viewers about errors in exception handling.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now