This week's book giveaway is in the Web Services forum.
We're giving away four copies of Microservices in Action and have Morgan Bruce & Paulo A. Pereira on-line!
See this thread for details.
Win a copy of Microservices in Action this week in the Web Services 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:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

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!