Using a SpaceNaviagtor and X11 application

We are using the 3D CAD CAM Unigraphics NX from Siemens/PLM. They have a Mac port for Unigraphics on X11. I like to use the SpaceNaviagtor for the 3D Window as in the Windows and Unix Version. I know Apple use Unigraphics for the Product Development. So maybe some one here can thell me how to install the SpaceNaviagtor driver on X11 on a Mac.

Hi,
You can try a package named: JTwain, which is available at http://asprise.com/product/jtwain.
JTwain supports all kinds of digital cameras and scanners. You can use Java to access, contorl digital cameras and scanners, and of course, to acquire images with flexible settings.
The developers' guide is available @ http://asprise.com/product/jtwain/devGuide.php
In the simplest case, one line of Java code can solve your problem.
Good luck!

Similar Messages

  • TS2611 I re installed my Final Cut express software, now when I go to use my "halo" and "arrow" application I get a message that says the file format is too new for this version of the application.  Anybody have suggestions?

    I re installed my Final Cut express software, now when I go to use my "halo" and "arrow" application I get a message that says the file format is too new for this version of the application.  Anybody have suggestions?

    After install, did you go to  Apple menu > Software Update to update your FCE to the latest version?
    MtD

  • X11 and X11 applications won't start

    I seem to be having a problem getting the X11 application, which I installed from the 'optional installs' package on the OS X installation DVD, working. I originally posted this elsewhere, but was advised to post it here, where people familiar with X11 might be able to help.
    I'll just quote what I posted elsewhere below, and hopefully someone can help.
    I seem to be having a problem with the X11 utility, which I installed off of the OS X DVD (from the 'optional installs' package), and a problem with The Gimp, both of which i think are probably related.
    Well I installed The Gimp a while ago, aswell as the X11 program, and both worked fine (you probably already know that The Gimp needs X11 to run). But at some point, it suddenly stopped working. I think it may have been after an update, but I really can't remember.
    The problem I was having with The Gimp is that it would go to start up, but just after the X11 icon appeared in the dock, the cursor would change to an X for a few seconds. The splash screen would come up, but it didn't even appear to have a background or progress bar or anything, and didn't do anything.
    At that point, just running X11 on it's own, or OpenOffice.org worked fine.
    Well recently, i've tried to run The Gimp again, and something different happens. The X11 icon comes up and starts bouncing in the dock, but after a few seconds, it closes again, and The Gimp tells me that it needs X11 to run (which I already have of course).
    When I try to run X11 on it's own, the same thing happens. The icon comes up in the dock, starts bouncing, then goes again.
    I've used the Console program in the Utilities folder, and both times, for both problems (when The Gimp had the funny splash screen and wouldn't start, when it wouldn't start up at all, and when X11 wouldn't start), I get the same few lines which might help, these are below:
    XFree86 Version 4.4.0 / X Window System
    (protocol Version 11, revision 0, vendor release 6600)
    _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
    [DRI] screen 0 installation complete
    Screen 0 added: 1280x1024 @ (0,0)
    Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
    Quitting XDarwin...
    So now, I have The Gimp that doesn't work, X11 that doesn't work, and OpenOffice.org doesn't work either (same problem where X11 quits), which is rather annoying, since I could do with using The Gimp.
    I hope that explains my problem a bit, and I hope someone can help me sort it out. Thanks in advance for any help
    Mac Mini   Mac OS X (10.4.3)   1.33 GHz Power PC G4, 512 MB RAM, 40 GB HD

    I have a similar problem that I described in a different forum, but was referred to this one and hope that someone can give me clue.
    My original message was:
    Hello,
    Brandnew here and new to the Mac environment (former Windows user), so excuse for anything dumb as it may follow.
    Wanting to install GIS software (Grass GIS) it appears to require X11 application. Found the refence in Machelp to the topic on the Apple site. However, it doesn't provide a link to the actual software, just states it is on the Install disc. Indeed, there is a package on the install disk (under Xcode Tools/Packages) called X11SDK.pkg. I thought that this might be the required app, but after installation of the Xcode tools the Grass software still doesn't function (start-up screen only and error message indicating that there is no X11 found).
    Thus the question is: how do I properly install the X11 app and where do I find the software?
    I hope that someone can help me out (as the AppleCare helpdesk doesn't seem to function today). Many thanks in advance.
    Bram

  • Dreamweaver CS6 cloud - I can no longer use "Save As'  and the Application manager won't open.

    I always open an old page and use "save all"  to save it,  then "save as"  and change the name of the page to what I want the new page to be the rewrite the new content. It doesn't open a box for name change any longer. Also The application manager does not open at all.
    What to do to fix this?
    Roger

    Hi Roger,
    Can you close other applications open on your computer, and retry before the experts here suggest other solutions?
    Thanks,
    Preran

  • Use of ODP and casual application freeze-up

    Hello,
    I'm writing a small application which connects to MS SQL 2000 and Oracle 10.2.0.1.0 and transports data between them.
    When it comes to biggest table which is called CLANKY, there is 11892 records with clob columns and fulltext index over it.
    But during the transfer often happen that application stops on OracleCommand.ExecuteNonQuery() and will not continue again. There is no specification of situation when it happen. It can happen on command which inserts, or on command launching stored procedure which retrieves ID of last inserted record through a trigger code which is storing it in variable. Sometimes it doesn't happen during transfer of CLANKY table, but most often there. Sometimes the application ends properly.
    I've tried lot of things to make sure I'm doing everything right, but nothing help. I was closing and disposing all OracleCommands but it make it (subjectively) worse. I don't think that I'm doing something so complicated.
    In memory I'm holding only Dictionary<int,int> of remapped ids.
    Here is the code for transfering CLANKY table.
    private bool transferTableClanky(SqlConnection sqlSource, OracleConnection oracleTarget, Dictionary<int, int> autoriMap, Dictionary<int, int> jiniAutoriMap, Dictionary<int, int> zdrojeMap, Dictionary<int, int> clankyMap)
    oracleTarget.Close();
    oracleTarget.Open();
    SqlCommand command = new SqlCommand
    ("SELECT id_clanku, nazev, popisek, clanek, datum_vlozeni, datum_zmeny, je_odkaz, odkaz, id_autora, "
    + "zobrazit_jineho_autora, id_jineho_autora, zobrazit_zdroj, id_zdroje, obr_nahled, obr_nahled_text, "
    + "ts FROM clanky;"
    , sqlSource);
    SqlDataReader reader = command.ExecuteReader();
    log("Start:" + DateTime.Now.ToString());
    int count = 0;
    while (reader.Read())
    count++;
    int id_clanku = reader.GetInt32(0);
    string nazev = reader.GetString(1);
    string popisek = "";
    if (!reader.IsDBNull(2))
    popisek = reader.GetString(2);
    string clanek = "";
    if (!reader.IsDBNull(3))
    clanek = reader.GetString(3);
    DateTime datum_vlozeni = reader.GetDateTime(4);
    DateTime datum_zmeny = reader.GetDateTime(5);
    bool je_odkaz = reader.GetBoolean(6);
    string odkaz = reader.GetString(7);
    int id_autora = -1;
    if (!reader.IsDBNull(8))
    id_autora = reader.GetInt32(8);
    id_autora = autoriMap[id_autora];
    bool zobrazit_jineho_autora = reader.GetBoolean(9);
    int id_jineho_autora = -1;
    if (!reader.IsDBNull(10))
    id_jineho_autora = reader.GetInt32(10);
    id_jineho_autora = jiniAutoriMap[id_jineho_autora];
    bool zobrazit_zdroj = reader.GetBoolean(11);
    int id_zdroje = -1;
    if (!reader.IsDBNull(12))
    id_zdroje = reader.GetInt32(12);
    id_zdroje = zdrojeMap[id_zdroje];
    string obr_nahled = reader.GetString(13);
    string obr_nahled_text = reader.GetString(14);
    int ts = -1;
    if (!reader.IsDBNull(15))
    ts = reader.GetBoolean(15) ? 1 : 0;
    OracleCommand oraCmd = new OracleCommand(
    "INSERT INTO clanky(nazev, popisek, clanek, datum_vlozeni, datum_zmeny, je_odkaz, odkaz, id_autora, "
    + "zobrazit_jineho_autora, id_jineho_autora, zobrazit_zdroj, id_zdroje, obr_nahled, obr_nahled_text, "
    + "ts) "
    + "VALUES (:nazev, :popisek, :clanek, :datum_vlozeni, :datum_zmeny, :je_odkaz, :odkaz, :id_autora, "
    + ":zobrazit_jineho_autora, :id_jineho_autora, :zobrazit_zdroj, :id_zdroje, :obr_nahled, :obr_nahled_text, "
    + ":ts)", oracleTarget);
    oraCmd.Parameters.Add("nazev", OracleDbType.Varchar2, nazev, ParameterDirection.Input);
    oraCmd.Parameters.Add("popisek", OracleDbType.Varchar2, popisek, ParameterDirection.Input);
    OracleClob oraClob = new OracleClob(oracleTarget);
    char[] clanekArr = clanek.ToCharArray();
    oraClob.Write(clanekArr, 0, clanekArr.Length);
    oraCmd.Parameters.Add("clanek", OracleDbType.Clob, oraClob, ParameterDirection.Input);
    oraCmd.Parameters.Add("datum_vlozeni", OracleDbType.Date, new OracleDate(datum_vlozeni), ParameterDirection.Input);
    oraCmd.Parameters.Add("datum_zmeny", OracleDbType.Date, new OracleDate(datum_zmeny), ParameterDirection.Input);
    oraCmd.Parameters.Add("je_odkaz", OracleDbType.Decimal, new OracleDecimal(je_odkaz ? 1 : 0), ParameterDirection.Input);
    oraCmd.Parameters.Add("odkaz", OracleDbType.Varchar2, odkaz, ParameterDirection.Input);
    if (id_autora == -1)
    oraCmd.Parameters.Add("id_autora", OracleDbType.Decimal, null, ParameterDirection.Input);
    else
    oraCmd.Parameters.Add("id_autora", OracleDbType.Decimal, new OracleDecimal(id_autora), ParameterDirection.Input);
    oraCmd.Parameters.Add("zobrazit_jineho_autora", OracleDbType.Decimal, new OracleDecimal(zobrazit_jineho_autora ? 1 : 0), ParameterDirection.Input);
    if (id_jineho_autora == -1)
    oraCmd.Parameters.Add("id_jineho_autora", OracleDbType.Decimal, null, ParameterDirection.Input);
    else
    oraCmd.Parameters.Add("id_jineho_autora", OracleDbType.Decimal, new OracleDecimal(id_jineho_autora), ParameterDirection.Input);
    oraCmd.Parameters.Add("zobrazit_zdroj", OracleDbType.Decimal, new OracleDecimal(zobrazit_zdroj ? 1 : 0), ParameterDirection.Input);
    if (id_zdroje == -1)
    oraCmd.Parameters.Add("id_zdroje", OracleDbType.Decimal, null, ParameterDirection.Input);
    else
    oraCmd.Parameters.Add("id_zdroje", OracleDbType.Decimal, new OracleDecimal(id_zdroje), ParameterDirection.Input);
    oraCmd.Parameters.Add("obr_nahled", OracleDbType.Varchar2, obr_nahled, ParameterDirection.Input);
    oraCmd.Parameters.Add("obr_nahled_text", OracleDbType.Varchar2, obr_nahled_text, ParameterDirection.Input);
    if (ts == -1)
    oraCmd.Parameters.Add("ts", OracleDbType.Decimal, null, ParameterDirection.Input);
    else
    oraCmd.Parameters.Add("ts", OracleDbType.Decimal, new OracleDecimal(ts), ParameterDirection.Input);
    oraCmd.ExecuteNonQuery();
    clankyMap[id_clanku] = getIdentity(oracleTarget);
    this.tickCallback();
    oraCmd.Dispose();
    reader.Close();
    log("End with " + count + " of records:" + DateTime.Now.ToString());
    return true;
    }

    I think it's caused by Oracle.DataAccess connectors. I've used a System.Data.OracleClient connector by Microsoft and it works well. And the code is doing the same INSERT and stored procedure call.
    What exactly do you mean with tracing the session? Dou you think it's locked-up on the database side? :o

  • X11 and X11 applications (Eagle, OpenOffice, Gimp) won't open

    I am on a macbook, running 10.4.6, and I installed X11 from my Tiger install DVD, just like I did on my G5. X11 won't start, it pops up in the dock, and bounces for a few seconds, and that's it. It goes back down. Help would be greatly appriciated.
    -Kabren

    Just as a reminder, Apple recommends you never attempt to install a version of MacOS X any older than that your system originally shipped with.
    There are usually various device drivers and such that are needed to support your machine that won't be present on a general case OS install disc, unless the OS disc is newer than the version your machine shipped with.
    So, for example, using a generic Tiger disc likely won't work on a MacBook Pro, but a generic Leopard disc, when MacOS X 10.5 is released, will.

  • Using TextField.C_ANY and get application error

    Hey all !
    I'm working with com.jmobilecore in my projrct. My platform is Nokia S40 DP 2.0 SDK 1.0 and IDE is Netbeans.
    I'm using C_ANY as TextField constraint.But while I press as many key at a time as input it shows application error and then exit from the application.
    I'm using emulator for testing.
    code snippet as:
    public CustomTextFieldUI(int maxTextLen,int constr,boolean checkValidate){
    super(maxTextLen, constr);
    this.validityLength=maxTextLen;
    this.checkValidate=checkValidate;
    ----------------------calling above method-------------
    this.txtDepotCode = new CustomTextFieldUI(Localization.TXTFIELD_DEPOT_CODE_DIGIT, TextField.C_ANY,true);
    Can anybody pls help me " How this problem can fix ??"

    uhr
    I have already asked you not to post the same question repeatedly.
    [http://forums.sun.com/thread.jspa?threadID=5343423]
    As you have ignored the advice, your user account is being blocked for 3 days.
    db

  • We are using 10G DB and Perl Application...................

    We are facing following error on one of our production database.
    ORA-01461: can bind a LONG value only for insert into a LONG column (DBD ERROR: error possibly near <*> indicator at char 173 in 'INSERT INTO WEBTEL.CS_PAGING_LOG (
              PAGING_DATE,
              PAGING_LOG_INDEX,
              STATUS,
              PAGING_TYPE,
              PAGING_NUMBER,
              PAGING_STRING,
              INCIDENT_ID) VALUES (
              SYSDATE,
              WEBTEL.<*>PAGING_LOG_INDEX_SEQ.NEXTVAL,
              :p1,
              :p2,
              :p3,
              :p4,
              :p5)')
    INSERT INTO WEBTEL.CS_PAGING_LOG (
              PAGING_DATE,
              PAGING_LOG_INDEX,
              STATUS,
              PAGING_TYPE,
              PAGING_NUMBER,
              PAGING_STRING,
              INCIDENT_ID) VALUES (
              SYSDATE,
              WEBTEL.PAGING_LOG_INDEX_SEQ.NEXTVAL,
              :1,
              :2,
              :3,
              :4,
              :5)
    Please some one help with the same.
    Thanks
    Shiva

    do you have to use LONG datatype, Large Objects(LOB) are advised over LONG datatype by Oracle for long time, check these links for your error - http://forums.oracle.com/forums/search.jspa?threadID=&q=ORA-01461%3A+can+bind+a+LONG+value+only+for+insert+into+a+LONG+column&objID=c84&dateRange=all&userID=&numResults=15
    best regards.

  • Pass info from safari to X11 application

    Hi,
    I am wanting to pass some data from a web page (viewed using Safari) to an X11 application and I was wondering if anyone can suggest how to do this ?
    The data in question is ascii text and represents a script which is passed to a molecule viewer (rasmol running under X11) which then displays the appropriate molecule. The web server sending the data gives it a unique mime type. The X11 program needs to be invoked from the command line to specify the name of the script file which is sent. Under other unixs (IRIX and Linux FC3) it is possible to have the browser activate a shell script which sends the text to a temporary file, then executes the X11 program. I have the shell script set up but can't assign the mime type for it (I tried RCDefaultApp which won't allow the selection of a shell script in its mime type setup). I've also tried this with FireFox 1.5 but it doesn't seem like the mac version handles the passing of data like it does on Linux. Any other suggestions ?
    Thanks Jeff.
    eMac 1.42 GHz   Mac OS X (10.4.4)  

    Hi Jeff,
    Hmm, I doubt you'll be able to what you want directly from Safari.
    Do you have to interact with the data via the browser beforehand, or could you just pass the url pointing to the data to a command line tool like curl instead?
    I'm a little fuzzy exactly what workflow you're after so apologies if I've got the wrong end of the stick

  • About how to build dynamic maps using jdeveloper 10g and mapviewer

    i follow the guidance (about how to build dynamic maps using jdeveloper 10g and oracle application server mapviewer) to write a jsp file,but error take palce ,i get information "Project: D:\jdev1012\jdev\mywork\WebMap\ViewController\ViewController.jpr
    D:\jdev1012\jdev\mywork\WebMap\ViewController\public_html\WebMap.jsp
    Error(12,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
    Error(12,190): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
    Error(12,102): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
    Error(12,28): cannot access class oracle.lbs.mapclient.MapViewer; file oracle\lbs\mapclient\MapViewer.class not found
    Error(12,40): cannot access class oracle.lbs.mapclient.MapViewer; file oracle\lbs\mapclient\MapViewer.class not found
    Error(13,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
    Error(13,198): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
    Error(13,106): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
    Error(14,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
    Error(14,188): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
    Error(14,101): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
    Error(15,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found
    Error(15,200): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found
    Error(15,107): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found"
    can you help?
    greetings

    I found a lot of information in document 133682.1 on metalink.
    step by step example how to deploy a JSP business component application.

  • Using GIMP and X11

    I originally posted this elsewhere in discussions; however this may be a better placement for it.
    I use GIMP which requires X11 and recently it has stopped working. I rolled back to an older version of GIMP, installed the Xll upgrade on the Leopard DVD but all to no avail. Right now, GIMP crashes and X11 won't even start when I double click from the applications/utilities folder.
    Thanks in advance for any help that any may provide.

    Tim Gaub wrote:
    I use GIMP which requires X11 and recently it has stopped working.
    Did this coincide with any other changes? (e.g. OS update, software changes...)
    I rolled back to an older version of GIMP,
    So which versions have you tried? Which package are you using? (There are various pre-packaged versions of GIMP for OS X from different groups.)
    installed the Xll upgrade on the Leopard DVD but all to no avail.
    So which version of X11 were you using before if not the one from the DVD? There may be updates to this version available from Apple. Is it possible you actually installed the DVD version over the top of a later version? /Library/Receipts may show packages installed for X11 if they were separate packages and not part of more general updates.
    Right now, GIMP crashes and X11 won't even start when I double click from the applications/utilities folder.
    The former is expected given the latter. What exactly happens when you try to open X11? Do you see any useful messages in the log files? (Look at system.log and console.log using /Applications/Utilities/Console and/or open X11 from Terminal and see what error messages you get.)
    Are you on ppc or intel?
    - cfr

  • Using aquamace and X11

    I have just managed to set up aquamacs to my liking, I like the total customisability.
    Anyway, I was playing around remotly logging onto my work computer. I would like to remotly log on and use aquamacs on my local computer to edit files on the remote machine. How can I set it up to so this?
    I also noticed that root uses emacs that comes Mac OSX, is there a way to change this too?
    Thanks

    Tim Gaub wrote:
    I use GIMP which requires X11 and recently it has stopped working.
    Did this coincide with any other changes? (e.g. OS update, software changes...)
    I rolled back to an older version of GIMP,
    So which versions have you tried? Which package are you using? (There are various pre-packaged versions of GIMP for OS X from different groups.)
    installed the Xll upgrade on the Leopard DVD but all to no avail.
    So which version of X11 were you using before if not the one from the DVD? There may be updates to this version available from Apple. Is it possible you actually installed the DVD version over the top of a later version? /Library/Receipts may show packages installed for X11 if they were separate packages and not part of more general updates.
    Right now, GIMP crashes and X11 won't even start when I double click from the applications/utilities folder.
    The former is expected given the latter. What exactly happens when you try to open X11? Do you see any useful messages in the log files? (Look at system.log and console.log using /Applications/Utilities/Console and/or open X11 from Terminal and see what error messages you get.)
    Are you on ppc or intel?
    - cfr

  • HT2589 We have purchase 5 apple minis and would like them all on one account.  That way we can monitor the use of these units.  they will be used strickly for a business application.  can I use one account in itunes or must i have multiple.

    We have purchased 5 apple minis and would like them all on one account, that way we can monitor the use of these units.  They will be used strickly for a business application.  Can I use one account in itunes or must i have multiple.

    Not going to happen the way you want it to.
    When you add a gift card balance to the Apple ID, it's available for the Apple ID.
    Probably best to create unique Apple ID's for each... this will also make things easier in the future as purchases are eternally tied to the Apple ID they were purchased with.

  • The application does not use the  screen and run in the background

    Hi
    I have downloaded a package of j2me Midlet
    from [link] here [link]
    and try to reuse the code
    but I get the following error when running the code:-
    The application does not use the screen and run in the background
    I think the error into one of these two classes
    package main;
    import javax.microedition.midlet.*;
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.media.Manager;
    import javax.microedition.media.MediaException;
    import javax.microedition.media.Player;
    import java.io.IOException;
    import java.io.InputStream;
    public class MainMidlet extends MIDlet implements CommandListener {
        private SSGameCanvas gameCanvas ;
        private Command exitCommand ;
        private Player player = null;
        public void startApp() {
      try {
           //   create new game thread
              gameCanvas = new SSGameCanvas();
              gameCanvas.start(); // start game thread
              exitCommand = new Command("Exit",Command.EXIT,1);
              gameCanvas.addCommand(exitCommand);
              gameCanvas.setCommandListener(this);
                Display.getDisplay(this).setCurrent(gameCanvas);
       catch (java.io.IOException e)
                e.printStackTrace();
            try {
                // start sounds
                InputStream in = getClass().getResourceAsStream("/resource/startfly.wav");
                player = Manager.createPlayer(in,"audio/x-wav");
                player.setLoopCount(1);
                player.start();
            catch (MediaException ex)
                ex.printStackTrace();
             catch (IOException ex)
                ex.printStackTrace();
        public void pauseApp() {
        public void destroyApp(boolean unconditional) {
            if (player != null) {
                player.close();
            System.gc();
      public void commandAction(Command command, Displayable displayable) {
           if (command == exitCommand)
                 destroyApp(true);
                 notifyDestroyed();
    package main;
    import java.io.IOException;
    import javax.microedition.lcdui.*;
    import javax.microedition.lcdui.game.*;
    public class SSGameCanvas extends GameCanvas implements Runnable {
        protected GameManager gameManager;
        protected boolean running;
        private int tick=0;
        private static int WIDTH;
        private static int HEIGHT;
        private int mDelay = 20;
        Form mainForm;
        Display display;
        //private int MaxTime;
        public SSGameCanvas() throws IOException{
            super(true);
            gameManager = new GameManager(5,5,getHeight()-10,getWidth()-10,this);
        public void start() {
                this.running = true;
                Thread t = new Thread(this);
                t.start();
        public void stop() {
            running = false;
        public void render(Graphics g) {
            WIDTH = getWidth();
            HEIGHT = getHeight();
            // Clear the Canvas.
            g.setColor(0, 0, 50);
            g.fillRect(0,0,WIDTH-1,HEIGHT-1);
            // draw border
            g.setColor(200,0,0);
            g.drawRect(0,0,WIDTH-1,HEIGHT-1);
            // draw game canvas
            gameManager.paint(g);
        public void run() {
            while (running) {
                // draw graphics
                render(getGraphics());
                // advance to next graphics
                advance(tick++);
                // display
                flushGraphics();
                try { Thread.sleep(mDelay); }
                catch (InterruptedException ie) {}
        public void advance(int ticks) {
            // advance to next game canvas
            gameManager.advance(ticks);
            this.paint(getGraphics());
    }Edited by: VANPERSIE on Jul 10, 2012 12:26 PM

    Hi Andi,
    Thanks for your reply.
    Yes, I have waited for a while and the result doesn't change.
    The Porblem here is the application is seen started in visual administrator.Only restart brings up the page back.
    Can you please suggest anything.
    Thanks and regards
    Nagaraj

  • We have developed a desktop application using Flash software and published the same for MAC environment. When we double click on the index.app file, the application is working perfectly in Mac 10.6.7 at our office. But if the same index.app file is double

    We have developed a desktop application using Flash software and published the same for MAC environment. When we double click on the index.app file, the application is working perfectly in Mac 10.6.7 at our office. But if the same index.app file is double clicked in Mac 10.6.7 at out clients location, its not opening. For your information the client is able to open this same application by double clicking on index.swf file. The main problem is that client is not able to open the application using index.app file at their office whereas we are able to do so at our office. Can anyone give some suggestions to sort this problem?

    The most common reason is different versions of Flash, or different versions of web browsers used.  Some users may elect to not have Flash installed at all because of the processor overhead of Flash.  If you are going to make an application for a client, check what operating system and browser versions they are using first.  Then determine if a stand alone application is required, or if they have the necessary plugins to run specific browser enhanced code.
    P.S. MAC is an acronym for Media Access Control.  Mac is the shorthand for Macintosh, the operating system and computers made by Apple Inc.

Maybe you are looking for