This week's book giveaway is in the Artificial Intelligence forum.
We're giving away four copies of Pragmatic AI and have Noah Gift on-line!
See this thread for details.
Win a copy of Pragmatic AI this week in the Artificial Intelligence forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Need help for Multiplayer Card Game using RMI  RSS feed

 
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.
 
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.
 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!