League Manager Software.
Moderator: TFF Mods
- SkiJunkie
- Veteran
- Posts: 272
- Joined: Mon Aug 20, 2001 9:21 pm
>Isn't that info in the api? They have it on java.sun.com..
>If not, just point me in the right direction and I'll check it
>out.. Have both installed here now...
It probably is...but I get lazy when I know I can't test it myself. I could put it in but then I would have to just throw it out in a release and wait for someone to tell me if it isn't working.
>I figured out why my app didn't run on 1.3 though.. I had
>used a small method that was introduced into
>java.awt.Toolkit called getScreenInsets.. Added a tiny
>little if block around it, recompiled and voilà, runs just
>fine under 1.3
Yep, works for me now. Pretty cool. The only thing I suggest is use the abbreviations for "completions", "interceptions", etc. That one grid is pretty big and could use some slimming.
Does this program store the data in a database or does it write to a flat file? What is export to HTML going to do? Write out a team roster for a choosen team?
>If not, just point me in the right direction and I'll check it
>out.. Have both installed here now...
It probably is...but I get lazy when I know I can't test it myself. I could put it in but then I would have to just throw it out in a release and wait for someone to tell me if it isn't working.
>I figured out why my app didn't run on 1.3 though.. I had
>used a small method that was introduced into
>java.awt.Toolkit called getScreenInsets.. Added a tiny
>little if block around it, recompiled and voilà, runs just
>fine under 1.3
Yep, works for me now. Pretty cool. The only thing I suggest is use the abbreviations for "completions", "interceptions", etc. That one grid is pretty big and could use some slimming.
Does this program store the data in a database or does it write to a flat file? What is export to HTML going to do? Write out a team roster for a choosen team?
Reason: ''
- christer
- Star Player
- Posts: 565
- Joined: Sat Jun 08, 2002 8:54 am
- Location: Stockholm, Sweden
- Contact:
I can imagine that being annoying.. You do know you can have both 1.3 and 1.4 installed on the same machine, right?but I get lazy when I know I can't test it myself
Yeah, it's rather big.. Perhaps I should hide some of the info from the list and only show details when asked for.. I would have to modify my table superclass though.. But I'll probably change it anyway...only thing I suggest is use the abbreviations for "completions", "interceptions", etc.
Well.. At the moment, I have all info in an object hierarchy.. I've made a "PropertyObject" superclass which handles.. well.. properties.. Then I have subclasses of this to specify which properties are supplied and such..Does this program store the data in a database or does it write to a flat file?
All tables, panels and dialogs are generated from these classes, so all I do to add a new variable is to add one line in some class.. Nice things..
As for saving.. Well.. It doesn't save anywhere now. I'm probably going to make the objects save automatically too.. Shouldn't be all that hard.. I even figured out a system for another project which allows me to keep backward compatibility on the save files, even if I modify the variables that are included in the saves... Slightly messy to implement the first time, but very sleek and easy to use after that.. 90/10 rules.. Ofcourse, it generally becomes 90/10/30.. 90% design, 10% coding, 30% debugging
I did consider a database, but I'm not sure I want to require people to install external stuff as well.. Would be very easy to generate all those tables though.. And also, a web frontend could be created using the same database which would probably be very cool.. I haven't really done any DB connected applications in java, so I should probably take a shot at it.. Would probably look good on the resume as well
It's going to generate html for the table and match reports most likely.. Have to iron out the rest of the program first though..What is export to HTML going to do? Write out a team roster for a choosen team?
-- Christer
Reason: ''
- SkiJunkie
- Veteran
- Posts: 272
- Joined: Mon Aug 20, 2001 9:21 pm
>I can imagine that being annoying.. You do know you
>can have both 1.3 and 1.4 installed on the same
>machine, right?
Actually we cannot. Installing jdk 1.4 breaks our builds when using the jdk 1.3. Apparently the 1.4 install messes up the registry entries in Windows NT so they all point to the 1.4 and you can't get anything to use 1.3 anymore. Craptacular. People who installed 1.4 had to uninstall 1.4 and 1.3 and reinstall 1.3 to get the registry entries straight again. Anyway, to avoid further problems until we are ready to use 1.4 we are not supposed to install it. Since I use my computer at home to do work as well as the one in the office I can't install it at home either.
>can have both 1.3 and 1.4 installed on the same
>machine, right?
Actually we cannot. Installing jdk 1.4 breaks our builds when using the jdk 1.3. Apparently the 1.4 install messes up the registry entries in Windows NT so they all point to the 1.4 and you can't get anything to use 1.3 anymore. Craptacular. People who installed 1.4 had to uninstall 1.4 and 1.3 and reinstall 1.3 to get the registry entries straight again. Anyway, to avoid further problems until we are ready to use 1.4 we are not supposed to install it. Since I use my computer at home to do work as well as the one in the office I can't install it at home either.
Reason: ''
- christer
- Star Player
- Posts: 565
- Joined: Sat Jun 08, 2002 8:54 am
- Location: Stockholm, Sweden
- Contact:
- christer
- Star Player
- Posts: 565
- Joined: Sat Jun 08, 2002 8:54 am
- Location: Stockholm, Sweden
- Contact:
- christer
- Star Player
- Posts: 565
- Joined: Sat Jun 08, 2002 8:54 am
- Location: Stockholm, Sweden
- Contact:
I've put up a new League Manager pre alpha on the following link:
http://trollcave.no-ip.org/LeagueManage ... anager.jar
It is now able to create round-robin and random style schedules. Still no saving though, as I haven't decided on the file format yet. If I made load/save at this point, it would probably be a quick-n-dirty fix which wouldn't be portable between different versions. That's why I'm waiting a bit to implement those features...
[edit]
Just added cup-style as well. Now. Anyone have a good explanation on how Monrad (or Swiss) style scheduling works? I need all details..
[/edit]
-- Christer
http://trollcave.no-ip.org/LeagueManage ... anager.jar
It is now able to create round-robin and random style schedules. Still no saving though, as I haven't decided on the file format yet. If I made load/save at this point, it would probably be a quick-n-dirty fix which wouldn't be portable between different versions. That's why I'm waiting a bit to implement those features...
[edit]
Just added cup-style as well. Now. Anyone have a good explanation on how Monrad (or Swiss) style scheduling works? I need all details..
[/edit]
-- Christer
Reason: ''
-
- Super Star
- Posts: 1068
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Saint-Etienne, France
- Contact:
- christer
- Star Player
- Posts: 565
- Joined: Sat Jun 08, 2002 8:54 am
- Location: Stockholm, Sweden
- Contact:
Here's what you need:
Java runtime environment - Available from http://java.sun.com/j2se
You can also use the JDK (If you don't know what it is, you don't need it )
Either the 1.3 or the 1.4 version. I recommend the latter.
After downloading and installing, you might be able to find the .jar file and simply doubleclicking it (I think this feature requires 1.4). Alternatively, save the jar file in an easily accessable directory (C:\LeagueManager for instance), open up a command prompt and find the correct directory (cd \LeagueManager). Run the program with "java -jar LeagueManager.jar".
Hope it helps..
-- Christer
Java runtime environment - Available from http://java.sun.com/j2se
You can also use the JDK (If you don't know what it is, you don't need it )
Either the 1.3 or the 1.4 version. I recommend the latter.
After downloading and installing, you might be able to find the .jar file and simply doubleclicking it (I think this feature requires 1.4). Alternatively, save the jar file in an easily accessable directory (C:\LeagueManager for instance), open up a command prompt and find the correct directory (cd \LeagueManager). Run the program with "java -jar LeagueManager.jar".
Hope it helps..
-- Christer
Reason: ''
- DoubleSkulls
- Da Admin
- Posts: 8219
- Joined: Wed May 08, 2002 12:55 pm
- Location: Back in the UK
- Contact:
I've just downloaded it and it looks quite nice.
A couple of points though. Can you move all the buttons for each tab into a JToolbar and place it above the JTable (rather than below).
Also its a good idea to have OK/Cancel buttons on the dialogs so when I click the wrong button I can back out more easily.
I'd also agree that you should use abbreviations on some of the columns (you can still set a tool tip with the full version).
A couple of points though. Can you move all the buttons for each tab into a JToolbar and place it above the JTable (rather than below).
Also its a good idea to have OK/Cancel buttons on the dialogs so when I click the wrong button I can back out more easily.
I'd also agree that you should use abbreviations on some of the columns (you can still set a tool tip with the full version).
Reason: ''
- DaImp
- Super Star
- Posts: 902
- Joined: Thu Jan 01, 1970 12:00 am
- Location: South Africa
- Contact:
I really think this will be a useful tool when it is finished. I would suggest adding more options for points scoring, such as points for TD's scored / Casualties scored / Kills etc...
for eg in my league I sometimes use a scoring sytem as follows:
win - 15 pts
draw - 10 pts
loss - 5 pts
td - 1 pt
kill - 1 pt
per 3 casualties - 1 pt
for eg in my league I sometimes use a scoring sytem as follows:
win - 15 pts
draw - 10 pts
loss - 5 pts
td - 1 pt
kill - 1 pt
per 3 casualties - 1 pt
Reason: ''
- DaImp
- Super Star
- Posts: 902
- Joined: Thu Jan 01, 1970 12:00 am
- Location: South Africa
- Contact:
- christer
- Star Player
- Posts: 565
- Joined: Sat Jun 08, 2002 8:54 am
- Location: Stockholm, Sweden
- Contact:
Regarding buttons, yes I know the UI sucks.. The main focus here hasn't been UI programming but I will focus on that at a later date. The current program is generating the UI automatically, cause I'm lazy
Regarding scoring, good idea. I will look into it. Shouldn't take too long to implement. The 1 pt / 3 cas can be slightly problematic (from an UI point of view), but I'll see what I can do..
-- Christer
Regarding scoring, good idea. I will look into it. Shouldn't take too long to implement. The 1 pt / 3 cas can be slightly problematic (from an UI point of view), but I'll see what I can do..
-- Christer
Reason: ''
- Anthony_TBBF
- Da Painta
- Posts: 1822
- Joined: Mon Jun 25, 2001 12:00 am
- Location: Toronto, Canada
Awesome work so far!
A couple of comments from the top of my head:
- You might want to add a custom field to Options, ie. in the Orion Cup we also gave points for a loss by one TD.
- (Annoying UI comment) you should put an OK button in those dialogue boxes, using the close button is counter-intuitive).
- I would change the word "Monrad" to "Swiss". I think it's the more common name (I've never heard of Monrad before...).
Keep up the good work, I am definitely going to use this for Orion next year.
A couple of comments from the top of my head:
- You might want to add a custom field to Options, ie. in the Orion Cup we also gave points for a loss by one TD.
- (Annoying UI comment) you should put an OK button in those dialogue boxes, using the close button is counter-intuitive).
- I would change the word "Monrad" to "Swiss". I think it's the more common name (I've never heard of Monrad before...).
Keep up the good work, I am definitely going to use this for Orion next year.
Reason: ''
The TBBf is back! http://tbbf.obblm.com/
- DaImp
- Super Star
- Posts: 902
- Joined: Thu Jan 01, 1970 12:00 am
- Location: South Africa
- Contact:
- neoliminal
- Ex-Mega Star, now just a Super Star
- Posts: 1472
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Utrecht
- Contact:
F:\Documents and Settings\Buckaroo\Desktop>java -jar LeagueManager.jarchrister wrote:Here's what you need:
Java runtime environment - Available from http://java.sun.com/j2se
You can also use the JDK (If you don't know what it is, you don't need it )
Either the 1.3 or the 1.4 version. I recommend the latter.
After downloading and installing, you might be able to find the .jar file and simply doubleclicking it (I think this feature requires 1.4). Alternatively, save the jar file in an easily accessable directory (C:\LeagueManager for instance), open up a command prompt and find the correct directory (cd \LeagueManager). Run the program with "java -jar LeagueManager.jar".
Hope it helps..
-- Christer
Exception in thread "main" java.util.zip.ZipException: Access is denied
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
Reason: ''