Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help for Multiplayer Card Game using RMI

 
Sarvya padwal
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to design multiplayer card game using Java. Swing for GUI.
Game has some common features of Rummy card game. I am confused about Card GUI.
what are possible ways to make Card object?
i was thinking about ImageIcon but paintIcon() makes problem with actual JFrame.
 
Jonas Isberg
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello and welcome Sarvya!

It would be easier for us to help you if you TellTheDetails.

Sarvya letbfrndz wrote:I am confused about Card GUI. what are possible ways to make Card object?

Could you show us what you tried so far?

Even if this is a friendly place, I suspect that you real soon will be asked to change your last name to something plausible.
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't use swing.. It's old and being replaced by JavaFX.

Better yet, use JSF and it's awesome Ajax capabilities.

What is a card?

It has a suit and a value, that's two properties at least.
(Others can be ranking etc..) There's your minimal Object definition.

WP
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic