Drawing brackets for a tournament

Dear Fellow Java Developers:
I am writing a program in Java that organizes tournaments for various sports. Part of the program is to receive input from an administrator and draw out the tournament with the teams paired up against each other and outlines the future results of the matches. This diagram is usually presented in the form of a bracket as follows:
|___
__| |
|______
__ |
|___|
__|           
My question is, how would I use Java to dynamically draw such a diagram with the teams listed in the appropriate places??? The thing is, the diagram would be drawn depending on the number of teams entered. If four teams are in the tournament, then a diagram should be drawn to fit only four teams. If sixty four teams are entered, then the diagram should also be drawn to accommodate all of them as well. I am not asking for a full solution, but at least some direction as to how I should go about solving such a problem.
Any and all help is greatly appreciated.
Thanks in advance to all that reply.
Sincerely;
Fayyaz

I sincerely apologize for accidentally posting this question twice. The diagram I posted was supposed to look like this
|--
Something to that effect. A better view of such a diagram is at the following link:
http://www.finalfour.net/local/bkc_2003_bracket.gif
Once again, sorry for the double post.
Take care.
Sincerely;
Fayyaz

Similar Messages

  • Looking for a simple drawing application for my grand-daughters

    Well, that's more or less it, I'm looking for a simple drawing application for my grand-daughters. In the children section of iTunes store, there's only a few books and nothing more. I bought the iPad mainly for my grand-children to teach them a bit and I don't find interesting things for them.
    Can anybody help me with that?
    Pedro Godfroid Goffin

    Brushes is a nice finger drawing app. Since you didn't say how old they are, I don't know if the interface is to difficult for them to use.
    Sketchbook is another nice drawing app.
    Neither are free.
    Glor

  • 2nd HDD Bracket for SFF P300?

    I recently purchased a Thinkstation P300 SFF machine that came configured with a 3.5" 1TB primary HDD.
    I would now like to add a second 3.5" hard disk drive, but I need a bracket to install it into. That should be simple, right?
    Unfortunately, after multiple calls to Lenovo sales and tech support...nobody can find a part number for this hard drive bracket. I've tried to order it twice - once they sent me a 2.5" HDD bracket that fits in my P300, but won't fit my 3.5" HDD. The second time, they sent me a 3.5" HDD bracket, but the bracket was for the tower version, not the SFF version of the P300.
    According to the system specs and hardware manuals, the SFF P300 will accomodate TWO 3.5" HDD's.  
    It should not take this much trouble to add a second HDD to a "workstation" class machine.
    Can anyone help?  Is there a part number for this thing? Is anyone there?
    Solved!
    Go to Solution.

    1. Yes, my P300 came with a DVD/RW. I think it is standard height. The bracket holding the ODD is 1/2" taller than the bracket holding the primary HDD.
    2.  Yes...the front panel includes a card reader, plus microphone input, headphone output, and 2 USB 3.0 slots.
    It appears to me that there is room in the case for the 2nd HDD - it looks like the bracket for drive #2 has room to be installed against drive #1 (the bracket should allow them to connect together without screws, per the hardware manual).
    I can post photos of the inside and outside of the unit, if that would help.
    The unit I purchased was from CDW...here's the URL for it on their site.
    Oh...and I will need a "bracket kit", including SATA data and power cables. There are only two SATA power cables on the motherboard, and those are both already taken up, so I will need some sort of power cable splitter in order to power both HDD's.
    I suspect that this is an issue on your end...I've contacted both Sales and Support, multiple times, and neither one has been able to find me the bracket kit that I need.
    I'm getting ready to return the P300 to CDW, because if I can't install a 2nd HDD, it's not useful to me. I would prefer to keep it, but not in its present state.
    Thanks.

  • How can I purchase an extra optical drive retaining bracket for my IdeaCentre K330?

    How can I purchase an extra optical drive retaining bracket for my IdeaCentre K330? There was one retaining bracket that came with the DVD optical drive, but I bought a Blu-Ray burner as my second optical drive, and I would like to install it using the tool-less retaining bracket that came with the first drive. I couldn't find a part number for it online.

    hey johnnyc,
    i suggest getting in contact with our sales team about this
    http://www.lenovo.com/contact/us/en/
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    Have you checked out the Community Knowledgebase yet?!
    How to send a private message? --> Check out this article.

  • [Athlon64] TV-out and SPDIF brackets for RS482M - where to get them?

    Hi folks!
    I'm building a HTPC and the MSI RS482M motherboard looks like a perfect candidate for me!
    However, I'm having problems locating a supplier for the TV-out and SPDIF brackets.
    I've asked the retailer if they're a part of the mainboard package, and it turns out they're not.
    Any idea where I could get one?
    I live in Ireland, but any online store that ships here will do.
    Thanks!

    Quote from: tr6c on 02-March-06, 12:20:02
    Has anyone found a bracket or successfully made one?
    -TR6C
    My RS482M4-ILD came with seperate brackets for the video outputs, the extra audio connectors, and bracket with a single spdif port.

  • HT1222 Does apple make a drawing pen for the iPad?

    Does apple make a drawing pen for the iPad ?

    No, apple doesnt have any apple branded stylus pens. An apple store worker recommended one to me and I loved it so my recommendation is the amPen Hybrid Stylus pen from Amazon. Great stylus, features the fiber mesh tips that dont stick or drag on the screen. They have a few colors you can choose from too.
    They are under 8$ and have free shipping too.
    http://amzn.to/1b5zJo0

  • Rrack mounting brackets for Cisco switch SF300-48P ?

    Does anyone know how to get rack mounting brackets for Cisco switch SF300-48P ?

    You might be able to get them through Cisco support.  Check this thread: https://supportforums.cisco.com/discussion/11201291/sf-300-series-rack-mount-brackets

  • Optional Audio Bracket for 945GM2 and pinout question(s)

    Hello. The manual for the 945GM2 says it has a 14 pin audio connector for front panel audio. It says you can get an "Optional Audio Bracket" for it. I read an older post that stated the bracket "May" not be available from resellers. Was the bracket ever available from MSI? It is pictured in the manual. Is/was it available anywhere?
    If I need to create my own connector..... I understand most of the pin descriptions for the audio outputs, but the manual states that there are two data pins named SPDIF0 and SPDIF1. I know these are for the digital audio, but which ones? In other words, is SPDIF0 the coax RCA output and SPDIF1 the fiber output? Are they both meant for coax RCA or both fiber? Or is SPDIF0 front R/L and SPDIF1 rear R/L? Or can either one be what you want it to be depending on how you wire it? Is SPDIF0 an input and SPDIF1 an output? I've read that the fiber uses basic TTL type 0-5V, and that the coax RCA connection uses -.2V to +.2V. So I would guess the outputs are dedicated to one or the other. Is there a better explanation for wiring these?
    Thanks!
    Robert

     Other MB's with similar header even though the ones I checked are 10 or 12 pin show SPDIF0 as signal out and SPDIF1 as signal in. The difference in header pin count seems to be additional analog speaker outputs. By the way VCC3 is +3.3V, would be easy enough to double check with voltmeter though. As far as I know the co-ax does not need any power as it is directly connected to S/PDIF signal out and ground. The powered pins are to supply power to the LED & circuit board on the S-bracket for optical output. Also as far as I know the S/PDIF in is through the optical port & has nothing to do with co-ax part of it. For the S/PDIF you should be able to use a readily available 3 pin S-bracket and modify the plug end of the cable to fit your needs. You should also be able to find an analog S- bracket of some kind to use.
     As said the original MSI S-bracket for that thing would be very scarce indeed. I'm sure you could locate a 10 or 12 pin S-bracket such as one from K7N2G series but not likely the 14 pin.

  • Where can i buy brackets for my card?

    hello, not sure if this is the right forum to ask this, but it seems to be. basically i got this nvidia card but cos my tower  is quite old, its quite big, and the bracket for this card is too small, so ive taken it off and can use the card like that, which is annoying just cos i dont like it being so loose. at the moment i cant even use the card cos im having troubles with my pc (see my other thread!!!!). but i was wondering where i could buy a bigger bracket so i can screw it on?
    cheers!  

    Quote
    bloody hell! i don't have a hacksaw! shame you can't just buy them from somewhere! it fits in the slot, i just prefer a bracket!
    ahh its not so drastic  
    easy enough job  
    had to cut it cause its a double width card takes up two slots so to fit the cooler and for it to exhaust out the back of the case i had to trim it down.
    well worth it my gcard temp has dropped by about 12 c at idle  
    that is a hell of a lot  
    and got no hot air from gcard going into case now so case temps dropped also .
    which help keep water temp in resevoir lower etc etc ,
    heh by some tools   you can do some case mods and other things !!!!!!!!!!
    know what you mean tho sometimes you wish why cant i just go to pcworld and buy what i need !

  • Trying to draw artwork for a letterpress invite.

    Hello, i am trying to draw art for a letterpress invite... I am trying to get what i have seen being called - a engraved look, also has been called antique etch look....
    It is the style that is very popular right now and it is on letterpress invites....
    any help trying to achieve this look would be very appreciated....
    Thanks

    Hi -
    Thanks for responding
    i am trying to draw this image for a wedding... The exact image is slightly different (different placement of a few petals)
    I am having trouble trying to get that engraved look... like a letterpress invite... the lines - is there some kind of filter or something or are all those lines just manually put down... or is there an easier way  to go....
    specifically it is the broken lines and the white lines with in the pink filled in areas...
    Here is the link
    http://www.williamarthur.com/products/Vera-Wang-Engraved-Peony-Wedding-Invitations_69-6802 7_2851/image

  • Paint/drawing program for Mac

    Is there a (freeware) painting/drawing program for the Mac, such as MS Paint on wintel machines? My youngest used MS Paint for a number of school projects and I'd like to find a counterpart for use on the Mac. Thanks
    iMac-Intel   Mac OS X (10.4.5)  

    There is always The Gimp, but that might be a little complicated for a young person, of couse my 9 year old uses Photoshop, so if they aren't too young you might try it. You will need to first install X11, that comes on your system DVD that came with your mac.
    Have you looked at http://www.chocoflop.com/ ? I've never used it but I saw someone else recommend it.
    Alfredo

  • SPDIF Bracket for MSI K8NGM2-FID

    Hello,
    I have been searching on the Internet for a place where I can purchase the SPDIF 3-pin bracket for the MSI K8NGM2-FID. I have probably checked every search result on google, but NOWHERE can I find this item! Does ANYBODY have an idea where I can buy the optional 3-pin SPDIF bracket for this board?
    Thanks in advance,
    RA

    those are available from several places. i see the quetion often on various forum s.  It would not be msi unique . it is just a matter of knowing the output and number of pins available on your board.
    try these siteshttp://www.abxzone.com/forums/showthread.php?&threadid=55195
    http://www.compusa.com/
    http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=5859743950&ssPageName=MERC_VIC_RSCC_Pr4_PcY_BIN_Stores_IT
    www.buy.com
    http://estore.asus.com/shop/features.asp
    hope this helps

  • Event DRAW CHANGED for task TS90000016 not defined as start/end event

    Hello,
    i have created a workflow with one task, this task is of object type DRAW and the method is CHANGED. and i want to trigger this task when the status of a document changes to completed.
    Now when i change the status of a document to completed, the workflow is starting but then throwing an exception. Here is what i am getting, any ideas as to why ?
    Event DRAW CHANGED for task TS90000016 not defined as start/end event
    Event linkage with errors deactivated
    from the swel event trace i am getting the following:
    the receiver <task> started correctly,
    then i get the following:
    Receiver FM SWW_WI_CREATE_VIA_EVENT_IBF
    message: Event DRAW CHANGED for task TS90000016 not defined as start/end event
    any ideas as to why this is happening and how i can fix it ?
    regards to all the experts out there
    points are awarded.

    Hi,
       If you want the task to be executed without any agent intervention follow this:
    In the transaction PFTC_DIS OR PFTC_CHG  open your standard task and
              see whether you have checked the ' background processing' option in    
              execution category.
    It seems the "changed" method in Draw object is synchronous - so you
               dont need any terminating events.
       else
    check for the bindings in workflow and make sure you dont make any
             container with import parameter as mandatory.
       Hope this will solve the problem.
    Regards,
    Manikandan R

  • Question about the S-bracket for 848P

    I would like to connect 4 speakers and still have the Mic-In, and LineIn available in my computer.  From reading the manual, it looks like I will need the optional S-bracket for my MSI 848P motherboard.  Urghh, where do I get the MSI S-bracket?
    My next question is: Can I connect the SOUT-R and SOUT-L pins to my front connections of my computer case? (it has connections for a mic and head phone).  I tried it anyway, but could not get any sound to the head phone (played around with the speaker configuration without any success).  Is there anything else I should do, or is it simply something I should not attempt?
    Any help is appreciated.  

    Quote
    Originally posted by vinamdt
    I would like to connect 4 speakers and still have the Mic-In, and LineIn available in my computer.  From reading the manual, it looks like I will need the optional S-bracket for my MSI 848P motherboard.  Urghh, where do I get the MSI S-bracket?
    My next question is: Can I connect the SOUT-R and SOUT-L pins to my front connections of my computer case? (it has connections for a mic and head phone).  I tried it anyway, but could not get any sound to the head phone (played around with the speaker configuration without any success).  Is there anything else I should do, or is it simply something I should not attempt?
    Any help is appreciated.  
    The AC'97 Audio CODEC of MSI 848P is Realtek ALC655
    Although it's AC'97 2.3 compatible and supports Front-Out, Surround-Out, MIC-In and LINE-In Jack Sensing
    However, it doesn't support Universal Audio Jack (UAJ)
    (While Realtek ALC658 supports!)
    So I think the answer of your second question is: You can't.

  • Looking for a high-res drawing app for the iPad

    I've tried a few of the available iPad drawing apps like Sketchbook Pro and Brushes. It's a little hard to tell, because documentation tends to be short on details, but it appears that most of them (with the exception of Brushes) only let you work and export images at 1024 by 768 resolution. That isn't really high enough resolution for professional work.
    Brushes is the only exception I've found. You work on the iPad in Brushes at 1024 by 768, but they have this OS X app that can convert your exported images to a higher res.
    To me that's crazy awkward and time-consuming, and I think Brushes is OK as a drawing app, but not necessarily what I'm looking for.
    Can anyone give me some better insight into the matter?
    Is there some underlying technical reason that all of these apps have a hard limit of 1024 by 768 resolution?
    Is there an app other than Brushes that can produce pro-level (high resolution) image files on the iPad?
    Thanks,
    JS

    Yubz Magnum really has great sound. They come in four colors too.
    Check out the new remodeled MacOSG website! 24-hour Apple-related news & support.
     MacOSG: An Apple User Group  iTunes: MacOSG Podcast  Follow us on Twitter: MacOSG

Maybe you are looking for

  • Nokia music problem

    Hi nokia, I am facing the problem in nokia music. I am using lumia 520 that have unlimited songs download subscription but when I am tring to download song song cannt download. And show the pop-up masseg "this phone have already anlimited subscriptio

  • Freetalk-1200 Connect.Me speed dial problem

    Just received my long awaited Connect.Me and it's been working just as I expected. The only problem I encountered was that I couldn't assing speed dial numbers to 2 of my contacts. Others work perfectly, when I click them, box of information appears

  • Discuss the componet of Oracle "Oracle Spatial "

    Hi,Everyone! I'm studing the spatial index with the oracle spatial,cause the oracle have two index methods: R-tree and Quadtree.The index I have completed! Now,I have some problem whit performance test.I didn't kown how complete the performance test(

  • Two dependent SelectOneChoise objects...

    Hi, everyone! I have two dependent select one choice objects! See: http://my.jetscreenshot.com/2677/20100715-6suo-55kb Then I run my jspx page. First time when I choose values from first LOV, then secend LOV shows needed values. But when I repeat act

  • ORA-29516 Aurora Assertion Error

    Has anyone encountered Auror Assertion error while using Java and PL/SQL with loadjava utility? Thanks for any suggestions/comments.