Problem controlling a number of x sprites

I am developing a MIDlet maze game that is controlled by a servlet.
The servlet sends av maze to every MIDlet connected to it, an the players
can move around in the maze.
The MIDlet also recives info about the other players position in the maze.
I am trying to show this in the canvas so that one player can see where the
other players are.
I store the players x and y position and the sprite in a player object. The
player-objects are put in a vector. I have no problem setting a new postion
to a sprite, but i can't figure out how to remove the old sprite position.
Nothing works :(
Can enyone help?
Sorry for my bad english.

if you use MyFaces, use dataList. You can do any loop with it and define some collection in bean for controlling

Similar Messages

  • Is there a way to control the number of concurrent SMTP connections on Database Mail?

    Las week Rackspace started controlling the number of concurrent SMTP connections and we are now getting the following message when we send as little as 15 messages at a time using Database Mail:
    Exception Message: Cannot send mails to mail server. (Service not available, closing transmission channel. The server response was: 4.7.0 smtp13.relay.dfw1a.emailsrvr.com Error: too many connections from IP xxx.xxx.xxx.xxx)
    We are using SQL Server 2005 and Windows 2003 and we have been doing this since 2006 with no problems
    Is there a way to control the number of concurrent SMTP connections used by Database Mail or the Database Mail external executable DatabaseMail90.exe?

    Hi rkohler,
    Usually, we can use the Database Mail Configuration Wizard or the Database Mail stored procedures to determine the server name and port number for the Simple Mail Transfer Protocol (SMTP) server . In the SMTP server points, we can set or increase the number
    of concurrent connections.
    There is similar issue about database email on SQL Server 2005, you can refer to the following post.
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/6bb7b600-f025-451b-898b-2caa29c10d4d/only-some-email-gets-sent-successfully-from-spsenddbmail-database-mail-on-sql-server-2005
    Thanks,
    Sofiya Li
    If you have any feedback on our support, please click here.
    Sofiya Li
    TechNet Community Support

  • Is there a way to control the number of consumed messages from JMS?

    Hi everyone,
    I have a BPEL process that is consumes messages from a foreign queue, performs a transformation, and passes it to Oracle Apps. I'm curious if there is a way to control the number of messages consumed at a time for processing.
    For example, if we place 50 transactions on this queue, I would like to only consume 10. And then as each one is processed and passed to Oracle Apps, I would like to pull another transaction off the queue. So basically I would only be processing 10 at the most.
    The issue I am having is we put 50 on the queue and the 50 are take off right away. But then half are making it into Oracle Apps and the remainder is failing with a JCA Connection Factory max connection error.
    Instead of changing the settings to get more through, I am wondering if it's possible to limit the number being processes at any one time.
    Thanks

    Hi,
    Have a look at the adapter.jms.receive.threads Property for JMS Adapter...
    http://docs.oracle.com/cd/E21764_01/core.1111/e10108/adapters.htm#BABCGCEC
    Cheers,
    Vlad

  • HT4906 i'm using an older version of iPhoto on my desktop Mac and I can't seem to control the number of photos appearing on my iPhone and iPad, will upgrading to the newer iPhoto resolve this?

    i'm using an older version of iPhoto on my desktop Mac and I can't seem to control the number of photos appearing on my iPhone and iPad, will upgrading to the newer iPhoto resolve this?

    What version do you have?
    iPhoto menu -> About iphoto.
    What goes to your iPad/iPhone is controlled in iTunes.
    Regards
    TD

  • I have this problem,    Tag 'A2B0': Number of input channels is not correct.     Tag 'A2B0': Number of output channels is not correct.     Tag 'B2A0': Number of input channels is not correct.     Tag 'B2A0': Number of output channels is not correct.

    i have this problem,   
    Tag 'A2B0': Number of input channels is not correct.    
    Tag 'A2B0': Number of output channels is not correct.    
    Tag 'B2A0': Number of input channels is not correct.    
    Tag 'B2A0': Number of output channels is not correct.
    I work with Capture One Pro 7, photo editor
    what can I do to solve this problem?

    You may have better luck asking your question here: Capture One 7.x Software for Mac
    OT

  • How to control the number of fields in the Advanced mode in af:query

    Hi,
    How to control the number of fields in the Advanced mode in <af:query>?
    Say i have 20 fields in my table and i created a view criteria with 2 fields. It would work perfectly in Basic mode. But in the Advanced mode all other fields selection is possible on clicking the ADD Fields button. I did not want the client to make a search with all 20 fields. Only 10 fields are to be listed in the Advanced Mode even though there are 20 fields in my table.
    How do i control the list of fields in ADDFields button?
    Any ideas?
    KR

    You can uncheck the Querable property of the attributes which you need not show up in the Advanced Mode (but they will not show up in other modes too !) or programatically set the same as mentioned here -
    http://adfcodebits.blogspot.com/2010/11/bit-27-setting-view-object-attributes.htmlAlso you can hide the AddFields button as suggested here - http://www.notjustjava.com/2011/12/cool-tips-to-showhide-components-of-the-query-control-of-adf/

  • Hello, i have a problem with this number code  213:19,  please help me!

    Hello, i have a problem with this number code  213:19,  please help me!

    dan
    What version of Premiere Elements and on what computer operating system is it running?
    If you are using Premiere Elements 13, have you updated it to 13.1 yet? If not, please do so using an opened project's Help Menu/Updates.
    What type of user account are you using....local administrator or domain type?
    Please review the following Adobe document on the 213.19 issue. Have you read that already?
    Error 213:19 | Problem has occurred with the licensing of this product
    ATR

  • How to control the number of instances of an object ?

    Hi all,
    Can anybody answer, How to control the number of instances of an object being created?
    suppose at any point of time, if i would like to have 5 instances at the maximum, how can i disable the further requests?
    Thanks in advance
    Pradi

    write a factory method that controls the number of instances for you:
    import java.util.List;
    import java.util.Arrays;
    public class Bar
       private static final int MAX_BARS = 5;
       private static int numBars = 0;
       private int id;
       public static void main(String [] args)
          try
             int numBars = ((args.length > 0) ? Integer.parseInt(args[0]) : MAX_BARS+1);
             Bar [] bars = new Bar[numBars];
             for (int i = 0; i < bars.length; ++i)
                bars[i] = Bar.create();
             System.out.println(Arrays.asList(bars));
          catch (Exception e)
             e.printStackTrace();
       private Bar() { this.id = numBars++; }
       public String toString() { return "I am bar number " + this.id; }
       public static Bar create()
          Bar nextBar = null;
          if (numBars < MAX_BARS)
             nextBar = new Bar();
          return nextBar;
    }%

  • Cannot contact the Adobe Service, I have a problem with the number.

    Hi,
    I would like to have more information in regard of the Adobe DC. My intent is to buy the product and use it in my office, we are a small company (4 PC).
    If I'm not wrong I should take the Standard Plan for Business, but I cannot arrange any payment request for information because I have a problem with the number I am supposed to call.
    Is there any other way to know if this software suit fine for me and my company, and most of all how much it will cost.
    Thank you for your consideration.
    Have a nice day!
    I look forward to hearing from you.
    Best,
    Augusto

    Hi Avgvstvs67,
    Please refer this link : https://acrobat.adobe.com/in/en/pricing/business-pricing.html
    Regards,
    Rahul

  • How to have a control on number of carriers in an OFDM TX Rx

    Hi,
    I'm relatively new to Labview. So please excuse my 'naive' questions. I've made a Baseband OFDM Tx/Rx using LV 2009 and Modn toolkit. The steps I've used are interleaving, channel coding, mapping bits to symbols and then IFFT (omitted the Cyclic Prefix part as of now). The receiver is designed in a similar manner.  I used 128 bit PN sequence initailly as the source. But now I've managed to convert a JPG into a bitstream for further modulation. I think my VI is making only one OFDM symbol and I'm presently having no control over the number of carriers used.
    I'm posting the VI over here. I would like help in a few things
    1.  How do I control the number of carriers say 128,256,512 or 1024?
    2.  Even if I achieve this simullation how  do I specify (and control) the carrier frequencies, guard band etc?
    I do not have any Hardware as of now. I'm just implementing baseband OFDM Tx and Rx in the same VI. Planning to go about making a Tx and Rx separately using PXIe chassis and 5641 IFRIO cards. Any leads would be highly appreciated!
    RVLV
    Attachments:
    TEST.zip ‏101 KB

    gary1234 wrote:
    Dear Cotton,
    I tried searching for a Java Script forum. Could not find it.Dear Gary,
    I question either your competence or the veracity of this claim. A Google search for JavaScript forum returns 19,000,000+ results.
    Please reply if you can help.
    Thanks for enlightening me that Java script is different than Java.This is the third time now you have been so enlightened.
    I am not sure how is it harming you if I post the Java script question here.Please don't be a wank. It is inappropiate for anyone, including you, to ask off topic questions on this, or any other forum. This forum is NOT for JavaScript questions and that is all there is to it.
    So now go to Google. Type JavaScript Forum into the search box and find yourself a JavaScript forum and ask your JavaScript question there.
    This isn't rocket science and your excuse as to why you haven't done so is at best flimsy but more likely just a lie.

  • Control the number of users logging in to the portal

    Hello,
    Is there any way to control the number of users logging in to the portal?
    Issue: We need to limit the users logging in Per Company (Access key).
    I read about the Activity Reporting in NW, and that would show us the stats, but does not let us control the logins.  I read all the forum posts on SDN about this topic, they were helpful, but none addressed our needs. 
    Has anyone implemented such functionality?  If we need a write a custom service or component to accomplish this, then which APIs should I be looking at?
    Our Portal Version: We are currently on EP6 SP2 PL 35, and in process of moving to NW.
    Any help on this would be much appreciated.
    Thanks,
    Harman

    Thanks for the replies, here's a little more info...
    We're working on project which allows a company to buy user licenses to access our portal.  So if a company has bought 5 licenses, the 6th user for that company will not be able to login.
    *Note: We treat each Access Key in the portal as a company.
    The way we determine if the user belongs to a company is by the AccessKey that is assigned to that user. We're not depending on IP addresses at all.
    Hope this clears the issue !
    I think we'll have to write some custom code to accomplish this.
    Thanks,
    harman

  • Controling witch number premiere pro starts an image seq at

    Is it possible to have premiere naming the DPX number manualy
    I know i can do an export the whole seq from 0-8000.... and the frame counter will start at zero........and so on
    But if i do a correction and only want to export from frame 2000-4000 premiere makes the numbers start at Zero again.
    How can i control what number premiere pro start at when making a image seq ?
    Thank you

    You can always Batch Rename in Bridge.

  • For PCI-GPIB NT, what is the ECCN (export control classification number)

    I have an interest in shipping the interface card to another country, for PCI-GPIB NT, what is the ECCN (export control classification number?

    The best way to get an ECCN, HTS code, country of origin or anything else related to exporting product from the United States is to send an e-mail to [email protected] or call 1 (512) 683-6010.

  • Controlling Doc Number Range KANK

    Dear Experts,
            I had created number range (KANK) in development server. But I am not able create a number range in sandbox and quality becoz there no element to aasign its just showing the element group. There is no list in not assigned creteria...
    how to get those i.e. like COIN element in sandbox and quality....
    please assist me reg this..
    Regards,
    Balaji Bhonsle

    Hello Balaji,
    I had faced a similar situation and I solved it by transporting the number range from the development system using transaction code OKE5 (do not use KANK to transport) within the transaction input the controlling area number in the first tab tick
    Business Trans > Number range group assignment
    Intervals and group assignment
    You should not use this transaction for transporting this to a live system.
    Kind Regards // Shaubhik

  • Facing problem while tranporting number ranges via OONR transaction

    Hi Experts,
    Facing problem while tranporting number ranges via OONR transaction from Development to Quality.
    We have different number ranges for plan version.
    And in the table T77S0 :  NUMRG     COMP
    We have value maintained as space.
    Please advice.
    Thanks in Advance.
    Regards,
    IFF

    Hi IFF,
    What is the error you're getting?
    Can you please elaborate a little bit?
    Regards,
    Dilek

Maybe you are looking for