• Post Reply Bookmark Topic Watch Topic
  • New Topic

Question About A Card Game  RSS feed

 
Ibadullah Khan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I've to make a cards game which is the best option to use?

JFrame or Swing?

Regards,
Ibadullah
 
Nguyen Tuyen
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem you are considering is about the JFrame or Swing. Most of developer like Swing because it is Light Weight Component and Platform Independent. you should refer to http://stackoverflow.com/questions/12145166/when-you-use-frame-or-jframe-in-java for detail.
 
Paul Clapham
Sheriff
Posts: 22819
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JFrame is a Swing component. Here's a link to the Swing tutorial: Trail: Creating a GUI With JFC/Swing.
 
Campbell Ritchie
Marshal
Posts: 56520
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welome to the Ranch both of you.

The answer to which is the best option is neither at this stage. You need to get the game working at the command line before you can consider a GUI atop it. Please explain what you are using the game for.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!