Force Gaming Group
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Java Skills: Anyone?

2 posters

Go down

Java Skills: Anyone? Empty Java Skills: Anyone?

Post  Fiction Tue Jan 11, 2011 5:03 pm

Hey if anyone has java programing knowledge I need your help. I am in the process of creating a java program that creates brackets for our tournaments. I need to figure out a few things:

How can i store a persistent database that stores all previous information held in the "Player" class so I dont have to re-enter the information every time i run the program?

How can i enhance the program to selectively pair players based on league rank?

Any help is greatly appreciated!
Fiction
Fiction

Posts : 85
Join date : 2011-01-08

Back to top Go down

Java Skills: Anyone? Empty Re: Java Skills: Anyone?

Post  GuyOD Tue Jan 11, 2011 8:11 pm

Answer to question 1. import java.sql.* and create a database class for connection to the database.
Answer to question 2. change your result set to something like this "select from player where player.rank=gold" //for gold players, player.rank=bronze and so on
GuyOD
GuyOD

Posts : 3
Join date : 2011-01-09
Age : 43
Location : Califonia, USA

http://us.battle.net/sc2/en/profile/2126654/1/GuyOD/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum