• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Need help for Multiplayer Card Game using RMI

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
IBM DB2 Chrome Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic