Need GUI "plan of attack" suggestions

I'm looking for suggestions on going about a chess board gui. I want this to look nice, not cheaply done, since it will be used with several different side projects I am beginning to work on such as an correspondance chess client and notation converters.
I would prefer the pieces to be "drag and drop", all ideas are fine with me though. Resizeable is also desired.
I wasn't sure what the best way to go about it was as far as having many panels, or one big canvas, etc, etc. I haven't dealt with drag and drop with java before, so i'm really not sure what the best things to use are as far as the inner work or even the best type of images for it. Any suggestions will help.
A board functioning much like the one from games.yahoo.com/ch would be best.
It needs to be able to have custom positions built as well, and scroll through to earlier parts of the game, and possibly through different branches.
Any GUI experts out there know a good way of tackling this side of the project?

I'd probably make a GridLayout of panels. You can use a MouseListener
to tell which panel you're over for picking up/moving pieces. You can render
pieces as images on top of the panel, and drag/drop similarly to:
http://java.sun.com/docs/books/tutorial/2d/images/doublebuffering.html
When they drop a piece, you can ask the listener what cell you're over,
erase your floating image, and dump it into the center of that cell.
Of course, that's with 20 seconds of thought.

Similar Messages

  • HP Pavilion TX1000 Tablet PC - Replacing the fan (Qs and my plan of attack)

    Alright, so I finally got my HP Pavilion TX1000 tablet PC that I mentioned about when I asked a week or two ago about the 3G module. It works quite well, even if it does show it's age, I'm happy with it. One thing I noticed about it was that it heats up quite a lot when sitting idle.
    The buyer noted in his listing that the fan might need replacing. It turns out that the system is cooking itself since it doesn't have any exhaust fan sucking the heat out of the vents as the fan is seized. This means when the laptop gets around 70*C, the BIOS safety temperature watchdog kicks in and kills the laptop until the laptop's internal thermal sensor has detected a safe temperature. Judging from Speedfan readings before the laptop shut down, this overheating issue popped it's head up around 70*C.
    I got a friend to drop in his MacBook cooler that he uses, and I have it plugged into a USB socket. It is keeping the HP Tablet in a safe (but still warm) 60*C-ish temperature rage. I also got a portable AA-battery powered fan and aimed the fan at the vents, which meant I was "blasting" cool air into the vents. This kept the system down around 45 - 50*C.
    I took the laptop apart partially (well, not a complete teardown but enough to see it's fan when it's switched on to see if it's spinning, and I can confirm the fan is not spinning at all, not even when the CPU is really hot, it's just stationary. I looked around and didn't see any wires stuck in the fan or anything, so I'm assuming the fan is seized up (or burnt out).
    I've ordered this replacement fan off eBay for my tablet. Spare part number matches apparently: http://www.ebay.com.au/itm/300749320112 .
    Now, my question is, is it possible that laptop fans can be seize up in rare events? Don't shun me away and say "Oh no, it would never happen", because fans are moving parts and could seize up if subjected to a lot of heat. I know the TX1000 series are known for overheating woes, so I'm going to ask you this - In your experience, have you seen fans failing, and if so, could a seized motor be the cause?
    I am going to follow this guide once the fan arrives (http://forum.tabletpcreview.com/hewlett-packard/8875-modding-tx1000-part-1-changing-thermal-compound...) because I heard that black paint on the heatsink assembly does nothing to help keep the CPU cool, and if I remove it, I can get a 5 - 10*C CPU temperature droppage. Which is good because I don't want it to be burning my hands if I'm using it to jot notes down!
    Alright, so that's my plan of attack. Suggestions? Opinions? Encouragement?

    Should be able to answer your own question by physically trying to rotate the blades with a thin tool or blowing into the blades & if bearings good it should rotate easily.
    bearings fail, fan motor/boards fail, mainboard control & power can also fail !
    Most modern equipment has almost no real effort in proper thermal control so some modifications may help but you will be limited in what is achievable on a finished product.
    Here in Asia we have done a lot of notebook cooling mod combo's such as vent increases, thermal shims, quality thermal grease & secondary 25 to 30mm 5v case venting fans with internal porting & baffles to help good airflow/heat extraction with great results in reducing overheating & component failure ...
    Should be done at the factory !
    For $10 of parts we reduced a custom dv2500 with T770 & Nvidea graphics by 25% & made the machine reliable & feel safe rather than a lap microwave ...
    Like my post? Click Kudos (thumb+) to show appreciation.

  • Slow Leopard, possible plan of attack...

    I have Leopard running on an iMac G5 1.8 GHz PPC with 2 GB of ram. My Canon LiDE 35 scanner and Canon iP6600D printer work fine. But Leopard is much slower on my system than Tiger.
    Plan of attack: 1. create a bootable backup of Leopard 10.5.1
    2. erase and install Leopard
    3. bring over apps, docs, etc from firewire HD during install
    4. update to 10.5.1
    Sound OK? Feel free to give suggestions to help my slow Leopard OS.

    I'm glad it worked out well.
    The idea of starting in Safe Mode is that it runs a directory check and eliminates everything but Apple installed startup items, fonts other than System/Library and other items. It often helps to isolate an issue. (But not his time).
    The re-install you did was probably best and easiest way to handle it. When you update use the 10.5.1 Combo Update This is a fuller install, as opposed to an incremental "delta" update (the one from software update) so it should overwrite any files may still be damaged or missing.
    -mj
    [email protected]

  • Some problem about SAP R/3 ~ I need some detail solutions and suggests

    I need some detail solutions and suggests about below these problems:
    Problem 1: SAP Management Console cannot start successfully
    •     Problem 1.1: Click on SAP Management Console, but yellow light continues for a long period of time.
    •     Problem 1.2: In DOS, startsap command cannot start SAP R/3.
    •     Problem 1.3: Oracle 9i database automatically shutdown by itself.
    •     Problem 1.4: There is very low disk storage left (say less than 50MB) in the hard disk where Oracle 9i database is installed in the server.
    Problem 2: Problems in User Maintenance and Security of the SAP R/3 System
    •     Problem 2.1: Super user account password was lost (e.g. SAP* password was lost)
    •     Problem 2.2: Super users DDIC and SAP* were dropped in table usr02 in Oracle.
    •     Problem 2.3: Some users have been locked or deleted by an ABAP programmer who has been granted with almost superuser profiles.  For example, an ABAP programmer has been granted a profile of SAP_ALL and SAP_NEW but the system administrator would like to restrict all programmers form using SU01, SU02, SM01, so that no programmers can maintain other user's accounts.
    Problem 3: Problems in the configuration of client copy
    •     Problem 3.1: A copied client from the Client 000 cannot be customized.
    •     Problem 3.2: No sample data in IDES after a successful client copy.
    •     Problem 3.3: Logging on without being authorized.  A new client is created and client copied and transported successfully.  However, anyone can log into the system using user SAP* with the default password PASS.
    Problem 4:  Problems in the installation of SAP R/3 Server
    •     Problem 4.1: Computer Name of the SAP R/3 server has been changed after the full installation of Oracle 9i and SAP R/3.
    •     Problem 4.2: A network card of a server was faulty and it was replaced by a new network card but the SAP R/3 license was expired.
    •     Problem 4.3: You would like to reinstall SAP R/3 on a server which has previously installed with SAP R/3 but the same error message appears during the re-installation.
    Problem 5: Problems in the backup and recovery of Oracle 9i Database
    •     Problem 5.1: A redo log file was lost and the database could not be started.
    •     Problem 5.2: A group of data files were accidentally deleted and the database could not be started.
    •     Problem 5.3: Both the online redo log files and archived redo log files have been damaged.
    Problem 6: General problems regarding the general operations and the connection to the SAP R/3 System
    •     Problem 6.1: After a reboot of the Windows 2003 Server, SAP service is not automatically started.
    •     Problem 6.2: Some users complained that the performance of SAP R/3 is really very slow.
    •     Problem 6.3: A user complained that his/her password was correct but he/she could not lock on the client because it was locked.

    Problem 2
    2.1  If user account of the sap* is lost u can retrive by loging into os level as sidadm type this command
    DELETE  SAP<sid>.USR02 where BNAME='SAP*' AND MANDT=100
    This 100 is the client in which u want to delete the sap*
    after that restart the server and login as sap* with the default password as pass
    there is also another way of doing this if needed u can catch me at [email protected]

  • I need some detail solutions and suggests about below these problems ?

    I need some detail solutions and suggests about below these problems:
    Problem 1: SAP Management Console cannot start successfully
    • Problem 1.1: Click on SAP Management Console, but yellow light continues for a long period of time.
    • Problem 1.2: In DOS, startsap command cannot start SAP R/3.
    • Problem 1.3: Oracle 9i database automatically shutdown by itself.
    • Problem 1.4: There is very low disk storage left (say less than 50MB) in the hard disk where Oracle 9i database is installed in the server.

    3.1 - If you client copy from client 000, you need to go to SCC4 and set the client to customizing chnages allowed;
    3.2 - If you do a client copy from client 800 (the one that SAP delivers data in) you should have data. Client 000 is empty (almost).
    3.3 - You should be able to change the password of SAP* PASS user.
    I am not sure which version you are dealing with, but ERP2004 and ERP2005 allow you to change the password suring installation.
    Also, there is a parameter that can be maintained that allows you to log on as SAP*. If you set as not available, no one can log on.
    Hope it helps,
    Leonardo De Araujo

  • I need billing plan detaisl from FPLT TABLE.

    I have sales order no VBAK-VBELN.
    I need billing plan item detaisl from FPLT TABLE.
    HOW TO LINK THESE 2 TABLES to get these billing [plan item details records
    Edited by: abap_friends on Jul 8, 2010 8:17 AM

    Hi,
      try with this fm
            CALL FUNCTION 'SD_SALES_BILLINGPLAN_READ'
              EXPORTING
                i_vbeln                      = ip_docnum
                i_posnr                      = ip_posnr
              TABLES
                e_fplt                       = it_fplt
              EXCEPTIONS
                no_billingplan_allowed       = 1
                no_billingplan_found         = 2
                OTHERS                       = 3
    or
      SELECT posnr fplnr INTO TABLE i_fplnr
        FROM vbkd
        WHERE vbeln EQ ip_docnum.
      IF NOT i_fplnr[] IS INITIAL.
        SELECT fplnr mlstn fkdat INTO TABLE i_mlstn FROM fplt
          FOR ALL ENTRIES IN i_fplnr
          WHERE fplnr EQ i_fplnr-fplnr.
      Endif.
    Regards,
    Carlos

  • New to IPS, what do I need to plan before I turn this on?

    Hi, I have an ASA 5520 AIP-SSM 10. I'm having a consultant in to enable and upgrade our IPS on our ASA from 1.5 to 1.6 so it's intergrated into the ASDM (sounds difficult). He said I need to plan what policies we need to enable for the interfaces and DMZ's etc.
    This is very new to me and I wondered if this is right, as it sounds bigger than I first thought. Basically I want my network to my as secure as possible and turning on the IPS we bought is needed.
    Any advise, links etc would be most welcome.

    Go to cisco.com, put this into the search field, download the pdf and read all 799 pages.
    Configuring the Cisco Intrusion Prevention
    System Sensor Using the Command Line
    Interface 6.0
    Sorry to be the bearer of bad news, but that is the only way to truly understand this enigmatic box.
    Matt

  • Why do we need to plan promotions at the lowest level of aggregation

    Hi,
         The documentation says that we need to plan the promotions at the lowest level of aggregation i.e., the material level. Why? Is there a specific reason for this? Can we plan at other levels of aggregation as well? What happens if we plan at higher level;s of aggregation?
    Thanks.

    I think it is possible to do it in an aggregated level however you need to define your distribution rules in order to get the desired result, you need also to consider that if distribution rules changes and the value after promotional planning returns the same value, it is possible that detailed level are not realigned to the new distribution rule (e.g. regarding another ratio).
    Maybe this is one of several causes.
    Regards,
    Carlos

  • I have Lion, and I can't see my unread messages count in the dock, even after the preferences set up. I find the Lion Mail too complicated. Leopard was much easier and more simple to use. I only have one account& don't need all the rest. any suggestions

    I have Lion, and I can't see my unread messages count in the dock, even after the preferences set up.
    I find the Lion Mail too complicated. Leopard was much easier and more simple to use. I only have one account& don't need all the rest.
    any suggestions?

    weird.
    It's so frustrating, I got my Mac Book 5 days ago and I'm already having a discussion in the forum.
    Thank you so much for your prompt replies.
    It's past midnight here so I'd better get some rest...
    Good night captfred!

  • My iphone 4 was working good until IOS6 update, now I can't hear anything, my ear phone donot response ...Speaker are ok..if some one call me...they can hear me ...but I can't hear them.....please desperately need help...plz suggest...all reset is done...

    My iphone 4 was working good until IOS6 update, now I can't hear anything, my ear phone donot response ...Speaker are ok..if some one call me...they can hear me ...but I can't hear them.....please desperately need help...plz suggest...all reset is done...except restore ...

    Anyone? . . . :S

  • HT5037 I have downloaded and installed this tool, but it's still telling me I need to update. Any suggestions why this isn't working for me? I have a Macbook Pro.

    I have downloaded and installed the iPhoto tool to update so my pictures transfer over, but it's still telling me I need to update. Any suggestions why this isn't working for me? I have a Macbook Pro.

    You have to download and RUN the iPhoto library upgrade - then launch iPhoto - If you had iPhoto '08 or earlier (version 7.x.x) - the upgrade is installed in the utilities folder of your Applications folder
    LN

  • Phishing and cookie software for Mac Lion - Is it needed, and if yes, any suggestions?

    phishing and cookie software for Mac Lion - Is it needed, and if yes, any suggestions?

    no.  OS X does a good job of doing this for you itself.

  • Urgent need Marketing Planning and Budjet

    Hi Marketing Gurus
    we have a workshop session on Marketing planning and bUdjet planning
    client using CRM4.0,BI/BW 7.0 (Is BPS integrated/built in in BI or have to upgrade it)  <b>and no Project System in back-end</b>
    1)what is the process flow for marketing planning and budjet if BI-BPS is backend and if no BPS in backend
    2)can u please explain the process flow -how cost planning done for planned and actaul
    3)which elements  should i gather requirements in workshop
    4)what exactly crm role in marketing planning and budjet planning and how BW/ECC integrated
    I will reward good points urgent need as i have session on monday
    Thanks

    HI Rajaram,
    For your workshop especially on marketing planning you have to have alot of questions to ask them.
    basically CRM marketing plan and BI BPS are closely integrated functionalities in campaign management.
    Functioanlly find out waht is that they are looking at to gain from budgeting.
    basically the lcient would like to fix a budget for the campaign / marketing plan for the financial year and then will break it down for further campaigns / marketing elements. at the end he would like to eveluate what is the budget he planned and what he actually spent. There is no nned of project systems even key figure planning can do plan vs actual cost analysis.
    based on this the marketing manager can plan the campaign success and there are standard analytics available for this.
    It is not easy to mention all those in this forum and i suggest you can go through these best practices and help in SAP.
    check them
    http://help.sap.com/saphelp_crm50/helpdata/en/14/98e24044b80b06e10000000a155106/frameset.htm
    also check this out
    http://help.sap.com/bp_crmv250/CRM_DE/index.htm
    and select marketing and check lean management best practices.
    No body can guide as better as that
    Srini

  • Animation Plan of Attack

    I'm looking to do an effect where I use a company's logo (with a black center) as a transition. I'd like to have the logo enlarge until it looks as though individual pixels appear, but those pixels will turn out to be video clips. I was thinking of duplicating 25 clips or so to make it look like more since they would quickly be moved off-screen as the shot zoomed in on a single clip to start the next session.
    Right now, I'm planning on an animation in photoshop with each frame enlarging, then fading in a layer with a patchwork over the original logo.
    However, it occurred to me that with all the experience on this board, someone might have a better way of doing this.
    Any suggestions for this effect? I have FCS2 as well as Shake and any advice would be appreciated.
    Lawrence

    It worked out great!
    That was what I needed. Although I haven't finished the whole thing, it's definitely the answer I needed.
    And, as I zoom in on the logo, I can use rendered clips of the replicated 16 because they will be even smaller.
    So I will have the 16 which will be enlarged until they fill the screen. Then, the camera will turn and see all the clips laid out as a wall. But instead of sliding the camera forward, I will have the screens keyframed to start sliding across the screen, giving the viewer the feeling he is moving forward beside a wall of screens moving past him on his left.
    From there, the camera can turn back to the screen and I will have already keyframed a full-res screen to be enlarged. This is going to allow me to get this animation done. Sorry if the question seemed remarkably silly, but I'm really pretty new to motion.
    Thanks again for the help!
    Lawrence

  • I need service and maintanace material & suggestions and scenarios

    Hi All sap gurus..
    This is amarnath...
    I am looking for updation regarding service and maintance so can any one suggest me... r if any one can send me the material... and how it is usefull for SD CONSULTANTS...
    thaking you all

    Service Contract
    Sales document which is the central document in Customer Service (CS) to which other Customer Service documents can refer.
    Structure
    The service contract is made up of a header and one or more items.At header level you specify:
      Partner data such as the partner who is to be provided with the services and the partner who is to be billed for the services
      Contract-specific data:
      Start and end dates
      Cancellation terms
      Follow-up actions
      Texts
      Status information
      Price agreements
    At item level you specify:
      The services to be provided
      Partner data
      Contract-specific data
       Start and end dates
       Cancellation terms
      Technical objects
      Texts
      Status information
      Price agreements
      Billing plan data
    The data at header level of the service contract applies to the service contract item
    until you define alternative data at item level.
    Integration
    After you have created a service contract, Customer Service (CS) arranges for technicians to make the routine service calls which have been agreed on in the service contract. The routine tasks that the technician carries out are billed according to the terms of the billing plan for the corresponding service contract item. The technician may need to perform tasks not covered by the terms of the service contract. If this is the case, CS refers to the underlying service contract to determine whether the customer is charged for these services and parts, and if so, how much. Billing for any additional services or products is initiated by a billing request.
    Element of the service contract in which you define the services or products you are providing the customer with under the terms of the service contract. A service contract item can be any of the
    following:
      Service (for example, a particular task)
      Material (for example, a spare part)
      Time (for example, an hourly rate for a technician’s time on the job)
      Response time (how soon you are obligated to respond to a problem call)
      Warranty (the agreed duration and coverage)
    The items in a service contract are controlled by item category. It is possible for a service
    contract to include items with different item categories. For example, some items may be rented,
    others sold.
    A service contract item can consist of multiple objects (for example, a number of different pieces
    of equipment with different serial numbers). However, a prerequisite for multiple objects is that
    they share the same contract data. If any data varies - for example, if the installation date is
    different - then separate items must be created.
    Hope this information ahs been useful.
    regds
    Jude

Maybe you are looking for

  • How to view JPEG in Aperture while shooting tethered?

    I'm shooting tethered on a D3x into Aperture 2.1.4 with OS 10.6.1 Camera is set to RAW+JPEG with the in-camera JPEG set to Monochrome. I'd like to be able to see the Monochrome image on the screen as I'm shooting, but as you know, the only documented

  • Expdp with ORA-04063: package body "SYS.DBMS_CUBE_EXP" error

    Hi, I try to use expdp to export all tables from schema BAW, but hit the following error. Oracle version is 11.2.0.2, and the package body "SYS.DBMS_CUBE_EXP" is invalid. Any idea to fix it? Starting "BAW"."SYS_EXPORT_SCHEMA_01": baw/******** directo

  • Mac Mini 5, Dual Displays, and a Projector?

    I'm considering purchasing a Mac Mini 5, but need it to support dual monitors and a projector simultaneously. When I use the system, I will be running skype, video camera, audio, and a projector (for power point presentations, websites, youtube video

  • Setting the debug level of log

    What do you set in order to get more verbose log messages from OC4J? I can't tell if things are going right ..

  • Dreamweaver 8 won't open.

    How do you open up Dreamweaver 8 on Windows 7? I have installed it but it won't open.