Standalone flash data application help plz

I'll point out the current scenario of my problem,
Its a data heavy application
a rich UI is required
has to be standalone, not browser based
the application i'm building is leaning towards a statistical tool so it would be wonderful if i can use data representation components like 3D charts etc etc.
I have not decided if i wanna make this an open source application or not so one small feature i'll need help with is how to protect the application from being decompiled, if needed!
Obviously i have to use a database, duh, but what about a choice of database? any recommendations? if im trying to make a AIR application i can use mysql but its not as easy as using Coldfusion.
If i do use coldfusion, i would like to know when im releasing the air application, would the end-user need to install anything specific apart from the AIR framework? or would the packaged release version of the application be adequate enough for using the application still containing the database and the coldfusion components?
Any kind of input would be of great help to me!
Thank You in Advance! :-)

1. You should use air if you want it to be standalone.
2. A published air file can be downloaded and installed automatically.
3. You can even add update functionality. When a user starts the application which is already on his computer and you have uploaded an update, the client automatically shows an update screen! (very cool!)
4. In air you can use mySqlLite which makes it possible to embed your database in the application, no online link required
5. You can use coldFusion but also mySql. If you choose Flex/PHP/mySql, you should consider working with AMFPHP which is an easy to learn and very powerful technology! http://www.sephiroth.it/tutorials/flashPHP/flex_remoteobject/
6. I don't know if air applications are that hack safe. Flash player doesn't have a good reputation on that part
Hope this helps a bit
Dany

Similar Messages

  • Cant work out greater than date .. help plz

    Hi,
    Can any one tell me why this TRUNC (SYSDATE)+ (rmt.sys_time_mon - TO_DATE ('01-JAN-1900', 'DD-MON-YYYY')) is not working.
    If i run it seperately it gives me the appropriate value. This is a date value for example the date i have is 30/12/1899 1:00:00 AM.
    Please help..
    SELECT DPN.PAS_NAME,
         PPC.PROCESS_DES_CODE,
         MIN(decode(FCD.SOURCE_FILE_NAME, NULL, 'N', 'Y')),
         MIN(PCD.END_PROCESS_CONTROL_TSTP)
    FROM DWCNTL_PAS_FILES_CODE PFC LEFT OUTER JOIN
    DWCNTL_IFACE_FILE_CONTROL FCD ON SUBSTR(FCD.SOURCE_FILE_NAME, 1,7) = PFC.FILE_NAME AND TRUNC(FCD.CREATE_TSTP) =trunc(sysdate),
    DWCNTL_PAS_NAME DPN JOIN
    DWCNTL_PAS_PROCESS_CODE PPC ON PPC.PAS_ID = DPN.PAS_ID LEFT OUTER JOIN
    DWCNTL_PROCESS_CONTROL PCD ON PCD.PROCESS_CODE = PPC.PROCESS_CODE AND trunc(PCD.END_PROCESS_CONTROL_TSTP) > TRUNC (SYSDATE)+ (rmt.sys_time_mon - TO_DATE ('01-JAN-1900', 'DD-MON-YYYY')) JOIN
    SLA SLA ON SLA.PAS_ID = DPN.PAS_ID,
    PROCESS_START PST ,
    REPORT_COMMENTS RPT,
    EDWAPPS_TIME RMT
    WHERE PFC.FILE_NAME LIKE 'U2%'
    AND DPN.PAS_NAME LIKE 'U2'
    AND PFC.PROCESS_CODE = PPC.PROCESS_CODE
    AND PPC.PROCESS_DES_CODE LIKE 'CONTRACT'
    GROUP BY PPC.PROCESS_DES_CODE, DPN.PAS_NAME,PCD.END_PROCESS_CONTROL_TSTP

    SELECT dpn.pas_name,
      ppc.process_des_code,
      MIN(decode(fcd.source_file_name, NULL, 'N', 'Y')),
      MIN(pcd.end_process_control_tstp)
    FROM dwcntl_pas_files_code pfc
         LEFT OUTER JOIN dwcntl_iface_file_control fcd
              ON SUBSTR(fcd.source_file_name, 1, 7) = pfc.file_name
              AND TRUNC(fcd.create_tstp) = TRUNC(sysdate),
    dwcntl_pas_name dpn
    JOIN dwcntl_pas_process_code ppc
    ON ppc.pas_id = dpn.pas_id
    LEFT OUTER JOIN dwcntl_process_control pcd
    ON pcd.process_code = ppc.process_code
    AND TRUNC(pcd.end_process_control_tstp) >
    TRUNC(sysdate) + (rmt.sys_time_mon-to_date('01-JAN-1900','DD-MON-YYYY'))
         JOIN sla sla ON sla.pas_id = dpn.pas_id,
         process_start pst,
         report_comments rpt,
         edwapps_time rmt
    WHERE pfc.file_name LIKE 'U2%'
    AND dpn.pas_name LIKE 'U2'
    AND pfc.process_code = ppc.process_code
    AND ppc.process_des_code LIKE 'CONTRACT'
    GROUP BY ppc.process_des_code,
      dpn.pas_name,
      pcd.end_process_control_tstpsomething wrong with your query, you are trying to left join dwcntl_pas_process_code ppc with dwcntl_process_control pcd that why oracle give error 904 because no rmt alias in that join.

  • Flash Lite database application - help!

    Dear all,
    I would like to ask for your help/opinion.
    I am a beginner Flash programmer. I am planning to create a Flash Lite application that will provide information on current cultural events (e.g. music, theatre), cinema listings, restaurant recommendations etc.
    For this, I need to have a database on my server, which will store all the data (e.g for a music event I need the place, artist name, date and time, description of event, contact details, and maybe an image).
    I then want to transfer the data (only updates) to my users' mobile phones, and store them there. This will allow them to update and then be able to browse the information offline.
    I am not sure how to do this. I read about Shared Objects, but it seems that these objects do not provide enough space for what I need to do (let's say 1000 records at least at any one time).
    Can anyone provide any direction on how to solve this problem? Just to recap, I am looking for a solution to create a Flash Lite database application that will receive cumulative updates from a web server and store the data locally on the mobile.
    Thanks in advance for any kind of help you can give me!
    Andreas

    To handle the synchronization of these items you will need to use plugins, which will restrict your platform reach.
    These are two great starting points:
    KuneriLite
    Nokia Platform Services
    Using the solutions above you can download and upload files, and using XML you can load and sync events.  Unfortunately it would be quite complex to handle the delta between items, updates and such so I recommend using a dynamic XML feed.
    Good Luck!
    Mark - Adobe
    www.flashmobileblog.com

  • "Adobe Flash CS5 has stopped working" error anytime i do anything - HELP PLZ!

    Hi there,
    I have used Macromedia Flash MX for many, many moons. Finally, when I got Windows 7, I was VERY excited to get updated on MX and move to Adobe Flash Professional CS5. However, i have never once been able to use this program, as it crashes pretty much every time i try to do anything. However, since my upgrade, i've noticed a lot more crashing in MX as well (i still have it installed on my old HD and have been using it to build videos rather than CS5 since it crashes less frequently). Now, i'm at my wit's end. I get the above error message when i do pretty much anything, but most recently it's EVERY time i try to select all unused files from the library. The error message i get in MX is "Flash 6.0 r25 has stopped working," but it's the same exact problem in the problem signature as CS5's:
    Problem signature:
      Problem Event Name:    APPCRASH
      Application Name:    Flash.exe
      Application Version:    11.0.0.485
      Application Timestamp:    4badda9d
      Fault Module Name:    Flash.exe
      Fault Module Version:    11.0.0.485
      Fault Module Timestamp:    4badda9d
      Exception Code:    c0000005
      Exception Offset:    005c0478
      OS Version:    6.1.7601.2.1.0.256.1
      Locale ID:    1033
      Additional Information 1:    0a9e
      Additional Information 2:    0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:    0a9e
      Additional Information 4:    0a9e372d3b4ad19135b953a78882e789
    If i try to select "Check online for a solution," in MX it just kills out of the program, but in CS5 it gives me a second error before killing out:
    Problem signature:
      Problem Event Name:    APPCRASH
      Application Name:    Flash.exe
      Application Version:    11.0.0.485
      Application Timestamp:    4badda9d
      Fault Module Name:    ntdll.dll
      Fault Module Version:    6.1.7601.18247
      Fault Module Timestamp:    521ea8e7
      Exception Code:    c0150010
      Exception Offset:    0008482b
      OS Version:    6.1.7601.2.1.0.256.1
      Locale ID:    1033
      Additional Information 1:    2865
      Additional Information 2:    2865b1bb537c4d5e61b79207bc968f0a
      Additional Information 3:    2116
      Additional Information 4:    2116da8c99f9527466231198673244ae
    PLEASE tell me there's a way to fix this. I've tried everything I can think of and have to get this video done in the next few days!!!! I would love to be able to start using CS5 and ditch the ancient MX on my slaved drive, but I can't get CS5 to work!
    Thanks.

    3. (Windows) Disable Compatibility Mode. 
         For information on compatibility mode, see Using Windows 7 or Vista compatibility mode. 
    Windows Compatibility Mode can cause errors to occur with Adobe Creative Suite products. To disable it, do the following:
    Navigate to C:\Program Files\Adobe\[application name]. 
    Right-click the product application file and choose Properties.  
    In the Compatibility tab, deselect all options under Compatibility Mode, Settings, and Privilege Level.   
    Click OK, and relaunch the Adobe Creative Suite 5 product. 
    4. Disable startup items and services. 
         Applications running in the background can prevent Creative Suite 5, CS5.5, and CS6 products from launching. For instructions on temporarily disabling these items, see the following documents:
    Disable startup items and Services (Windows XP)
    Restart Windows in a modified mode (Windows 7 and Windows Vista)
    Start the system in Safe Boot mode (Mac OS)
    5. Log in using a new local administrative user account. 
         A new local administrative account can rule out network policies, corrupt profiles, and incorrectly setup administrative accounts as the cause of a failed launch. To create a local administrator account, see the following:
    Windows XP: Choose Start > Help And Support and see the article "Add a new user to the computer," or contact your system administrator.
    Windows Vista/Windows 7: Create new local administrator account (Windows Vista) (kb404912)
    Mac OS: Creating and modifying user accounts on the Apple support website. This video demonstrates the procedure to create a Standard user account. To create an Administrator account, select Administrator in the New Accounts menu.
    6. Delete all Adobefnt*.lst files 
    Search for and delete all copies of the AdobeFnt*.lst file that you find on the hard disk: 
    (Mac OS) In the Finder, choose File > Find (Command + F).
    (Windows XP) In Explorer, click the Search button (Ctrl+F).
    (Windows Vista/7) In Explorer, use the search box in the upper right (Ctrl+F).
    Type Adobefnt*.lst and then click the Search icon. If you have more than one hard drive, only search the system (OS) drive.
    (Windows XP Search Assistant) Choose All Files and Folders. Under More advanced options select Search System Folders, Search hidden files and folders, and Search subfolders.  
    Click within the search results. Choose Edit > Select All, and then drag the selected files to the Trash (Mac OS) or Recycle Bin (Windows).  
    (Mac OS) Choose Finder > Empty Trash.  
    Restart the application. 
    If an Adobefnt*.lst file becomes damaged, it can cause the application to crash, freeze, or quit when you try to start it. Adobefnt.lst files (for example, Adobefnt10.list for InDesign) are font cache files that Adobe applications use to quickly gather and store information about available fonts. If you delete or rename an Adobefnt.lst file, the application re-creates it the next time you start the application.  
    7. Troubleshoot font issues. 
    Remove or disable nonessential fonts and then restart your Creative Suite application. See:
    Reduce the number of active fonts (Windows XP)
    Reduce the number of active fonts (Windows 7 and Windows Vista)
    Troubleshoot fonts (Mac OS)
    8. (Windows) Update your video card driver. 
    Download the latest driver from your video card manufacturer's website or contact the manufacturer for an updated driver. 
    9. Search the knowledgebase for errors. 
    Search the Adobe knowledgebase for any errors that appear:
    Go to the Adobe Support website and choose your product from the Select Product Support Center menu.  
    Type the error into the search field and click Search. 
    Note: Omit file paths and registry keys from the search string.
    10. Run the Adobe Support Advisor. 
    The Adobe Support Advisor is an AIR app that helps identify and resolve installation issues. It can also assist with errors that occur when AMT is running. For more information, see Using the Adobe Support Advisor (kb405816) and Troubleshoot launch errors using Creative Suite launch logs (cpsid_83478).
    11. Perform system troubleshooting steps 
    Follow the steps in Troubleshoot system errors and freezes | Adobe software on Windows (cpsid_82252) or Troubleshoot system errors and freezes | Adobe software on Mac OS (cpsid_82414).

  • I forgot my password, and i want to unlock it without losing my data, can anyone help plz???

    i forgot my password, and i want to unlock it without losing my data, can anyone help plz???

    You can't. It is a good security feature. You have to connect the iPod to yur computer and restore via iTunes.

  • How to Read and Write .XML datas   (HELP Plz...)

    hai everybody
    how to read and write xml datas... plz give clean and simple example..
    bcoz me want to produce such type of module...
    if any one help me .. thats the only way me laid in software ladder
    plz....
    thank u in advance

    thank u for giving idiot..
    but before posting i search in google also..
    but i cant get what me expect..
    thus i posted...
    then who is ................?
    sorry javacoder01
    // plz help me
    Message was edited by:
    drvijayy2k2

  • HT204023 I am not able to set my Personal Hotspot setting, if I try to set it massage displayed "To enable Personal Hotspot for this account, contact carrier " I am in Oman and using Nawras service for data plan. Plz help me

    I am not able to set my Personal Hotspot setting, if I try to set it massage displayed "To enable Personal Hotspot for this account, contact carrier " I am in Oman and using Nawras service for data plan. Plz help me. Before I was using this service but now facing problem.

    Md Asad wrote:
    Yes but they told mobile co mean Device 'iPhone co'
    Sorry but that makes no sense in English. Only your mobile phone company (i.e. "carrier") can enable the Personal Hotspot feature.

  • Last time i used FFsync it didnt ask me about any key! there was a phrse only which it didnt work now so i generate a new code as ur guide shows me and now i lost all my data! i need them alot, i adopted on your servies :( i need my data so badly plz help

    Last time i used FFsync it didnt ask me about any key! there was a phrse only which it didnt work now so i generate a new code as ur guide shows me and now i lost all my data! i need them alot, i adopted on your servies :( i need my data so badly plz help

    Lord K.  Thank you. Yes I am within the 90 time period, however I travel Intertionally and I can not receive not make a call to Apple. I was just at the Genius Bar in Chicago and they said, don't worry about it.  It just floats out there, however, I can not recover my messages on a flash drive. I need to go back to my old computer which I don't have with me.  My messages were in folders for a lawsuit.  It is going to take an incredible amount of work for me to, you have no Idea.  We are talking thousands of pages!  I the defendent will have them during discovery so I am not so worried.  However, I can not bring them to him on a Flashdrive when I meet with him without an extraordinary amount of presssure on my part.  THis is not just some little email issue. This is suing EXPEDIA and Tripadviosr.com

  • Too small window size in standalone flash player in FLEX

    Hello,
    I have unchecked the option "generate html wrapper file" so I
    don't have to bother about closing the browser tab each time I make
    a small change to the code and rerun the application.
    This works fine as the standalone flash player closes when I
    terminate the application from Flex. However, the standalone flash
    player always starts in a fixed window size smaller than my
    application size so that I cannot see the whole application. So I
    have to enlarge the window size of the standalone flash player each
    time which is annoying!
    Is there a better solution?
    Maybe get Flex to close the browser tab after I terminate the
    application. I still prefer to use the standalone flash player
    during development as my application doesn't depend on the browser
    though.

    Adobe Newsbot hopes that the following resources helps you.
    NewsBot is experimental and any feedback (reply to this post) on
    its utility will be appreciated:
    Flex 3 - About the Flex development tools:
    Adobe Flex Software Development Kit (SDK) primarily provide
    XML files that you use ... When you use the debugger version of
    Flash Player or start your AIR
    Link:
    http://livedocs.adobe.com/flex/3/html/building_overview_2.html
    Adobe - Flex 3:
    While Flex applications can be built using only the free Flex
    SDK, developers can use ... Alert This content requires Flash.
    Download Flash Player now
    Link:
    http://www.adobe.com/products/flex/
    Flex.org - Rich Internet Application Development:
    I would like to extract data from my Flex application to a
    CSV file for loading into Excel. However, the current Flash player
    does not allow direct access
    Link:
    http://flex.org/
    Adobe - Flex Developer Center:
    Supports visual and code-centric development, code hinting,
    visual debugging, and so forth. Includes the Flex 3 SDK and Flash
    Player 9.
    Link:
    http://www.adobe.com/devnet/flex/
    moockblog: Flash Player 9, Flex 2, ActionScript 3.0: A Survey
    of:
    Flash Player 9's main new feature is full support for
    ActionScript 3.0 (but older ... Flex Builder 2 also includes a
    development framework known as the Flex
    Link:
    http://www.moock.org/blog/archives/000189.html
    Disclaimer: This response is generated automatically by the
    Adobe NewsBot based on Adobe
    Community
    Engine.

  • Run Time error!!!Help plz

    hi ..
    every time i run my application i get this error which i can't understand where exactly the error is
    can any one help plz
    )at javax.swing.JLayeredPane.paint(JLayeredPane.java:546
    )at javax.swing.JComponent.paintChildren(JComponent.java:498
    )at javax.swing.JComponent.paint(JComponent.java:669
    )at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:23
    :at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java
    )54
    at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:91
    )at java.awt.Container.paint(Container.java:960
    )at javax.swing.JFrame.update(JFrame.java:329
    )at sun.awt.RepaintArea.update(RepaintArea.java:337
    )at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:200
    )at java.awt.Component.dispatchEventImpl(Component.java:2663
    )at java.awt.Container.dispatchEventImpl(Container.java:1213
    )at java.awt.Window.dispatchEventImpl(Window.java:914
    )at java.awt.Component.dispatchEvent(Component.java:2497
    )at java.awt.EventQueue.dispatchEvent(EventQueue.java:339
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
    )read.java:131
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    )ad.java:98
    )at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93
    )at java.awt.EventDispatchThread.run(EventDispatchThread.java:85
    this is part of the code:
      public void actionPerformed(ActionEvent e)
        FileInputStream fis = null;
        if (e.getSource() == add) //The ADD button.
          //User has not populated all the input fields.
          if(name.getText().equals("")|| address.getText().equals("")|| phone.getText().equals("")|| sex.getText().equals("")|| dob.getText().equals("")|| photo.getText().equals(""))
            JOptionPane.showMessageDialog(null, "Please fill in all the fields","Missing Fields",JOptionPane.INFORMATION_MESSAGE);
          else
            // save the new customer:
            try
              //1. take the customer's data and photo:
              int    userId          = Integer.parseInt(id.getText());
              String userName      = name.getText();
              String userAddress      = address.getText();
              String userPhone      = phone.getText();
              String userSex      = sex.getText();
              String userDateBirth      = dob.getText();
              //String userDateBirth=Date.parse(dob);
              String photoName      = photo.getText();
              String audioName=   audio.getText();
              File   file           = new File(photoName);
              int    fileLength      = (int)file.length();
              //2. Set the user's photo into the photoHolder:
              photoHolder.setVisible(false);
              photoHolder = null;
              comments.setVisible(false);
              comments = null;
              Icon[] custPhotos = {new ImageIcon(photoName)};
              JList photosList = new JList(custPhotos);
              photosList.setFixedCellHeight(100);
              photosList.setFixedCellWidth(80);
              photoHolder = new JPanel();
              photoHolder.add(photosList);
              makeComments();
              //3. Insert the data and photo into the database:
              if(fileLength > 0)
                fis = new FileInputStream(file);
                String query = " INSERT INTO CUSTOMER VALUES('"+userId+"', '"+ userName+ "', '"+ userAddress+ "', " +" '"+ userPhone+ "', '"+ userSex+ "', '"+ userDateBirth+ "', ?,?,? ) ";
                PreparedStatement pstmt = conn.prepareStatement(query);
                pstmt.setBinaryStream(1, fis, fileLength);
                  pstmt.setString(2,photoName);
                  pstmt.setString(3,audioName);
                pstmt.executeUpdate();
                comments.setText(userName+", added.");
              else
                String query = " INSERT INTO CUSTOMER (id, name, address, phone, sex, dob) VALUES('"+userId+"', '"+userName+"', '"+userAddress+"', '"+userPhone+"', '"+userSex+"', '"+userDateBirth+"') ";
                stat.executeUpdate(query);
                comments.setText("Customer saved without a photo.");
              backPanel.add(photoHolder);
              backPanel.add(comments);
              updateTable();
              //AddScroll();
            } //try
            catch (Exception ee)
               //The danger of putting creating the JOptionPane in here is that it will show the same message regardless of the error.
                JOptionPane.showMessageDialog(null, "Customers CPR already exits!!Please enter another CPR","Invalid",JOptionPane.INFORMATION_MESSAGE);
              System.out.println("Caught exception in add action: " + ee);
              ee.printStackTrace();
            } //catch
          } //if
        }//add button

    hi...
    i got where the error is..
    now i have another problem..
    Connecting to database..
    Valid Login
    Caught updateTable exception: java.lang.ArrayIndexOutOfBoundsException
    java.lang.ArrayIndexOutOfBoundsException
    at UtilityMethods.updateTable(UtilityMethods.java:305)
    (which is this line:
    tableData[currentRow] = fieldString;)-----> i did this because one of the fields will be a Date and the others are strings
    at UtilityMethods.updateTable(UtilityMethods.java:429)
    at Login.validLogin(Login.java:114)
    at Login.actionPerformed(Login.java:80)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:14
    50)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
    ctButton.java:1504)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
    .java:378)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
    istener.java:216)
    at java.awt.Component.processMouseEvent(Component.java:3715)
    at java.awt.Component.processEvent(Component.java:3544)
    at java.awt.Container.processEvent(Container.java:1164)
    at java.awt.Component.dispatchEventImpl(Component.java:2593)
    at java.awt.Container.dispatchEventImpl(Container.java:1213)
    at java.awt.Component.dispatchEvent(Component.java:2497)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
    at java.awt.Container.dispatchEventImpl(Container.java:1200)
    at java.awt.Window.dispatchEventImpl(Window.java:914)
    at java.awt.Component.dispatchEvent(Component.java:2497)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
    read.java:131)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:98)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
    this is the code :
    void updateTable()
          ResultSet results = null;
          ResultSet results1 = null;
          try
            //Get the number of rows in the table so we know how big to make the data array..
            int rowNumbers  = 0;
            int columnCount = 6;
            results = stat.executeQuery("SELECT COUNT(*) FROM CUSTOMER ");
            if(results.next())
              rowNumbers = results.getInt(1);
            } //if
            if(rowNumbers == 0)
            rowNumbers = 1;
            tableData = new String[rowNumbers][columnCount];
            //Initialize the data array with "" so we avoid possibly having nulls in it later..
            for(int i =0;i<tableData.length;i++)
              for(int j=0;j<tableData[0].length;j++)
              tableData[i][j] = "";
            //Populate the data array with results of the query on the database..
            int currentRow = 0;
             SimpleDateFormat sdf = new SimpleDateFormat("dd-MM-yyyy");
            results1 = stat.executeQuery("SELECT * FROM CUSTOMER ORDER BY ID");
            while (results1.next())
              for(int i = 0; i < columnCount; i++){
              Object field = results1.getObject(i + 1);
              // actually this next line should be put outside your loop so you don't keep creating this object
              // or whatever format you want
              String fieldString;
              if (field instanceof Date)
                     fieldString = sdf.format((Date) field);
                     else
                          fieldString = field.toString();
                          tableData[currentRow] = fieldString;
    //tableData[currentRow][i] = results1.getString(i + 1);
    currentRow++;
    } //while
    }//for
    final String[] colName = { "CPR", "Name", "Address", "Phone", "Sex", "Date OF Birth" };
    TableModel pageModel = new AbstractTableModel()
    public int getColumnCount()
    return tableData[0].length;
    } //getColumnCount
    public int getRowCount()
    return tableData.length;
    } //getRowCount
    public Object getValueAt(int row, int col)
    return tableData[row][col];
    } //getValueAt
    public String getColumnName(int column)
    return colName[column];
    } //getcolName
    public Class getColumnClass(int col)
    return getValueAt(0, col).getClass();
    } //getColumnClass
    public boolean isCellEditable(int row, int col)
    return false;
    } //isCellEditable
    public void setValueAt(String aValue, int row, int column)
    tableData[row][column] = aValue;
    } //setValueAt
    //dataTable.setValue( new JScrollBar(JScrollBar.HORIZONTAL), 2,1 );
    }; //pageModel
    //Create the JTable from the table model:
    JTable dataTable = new JTable(pageModel);
    // dataTable.setModel();

  • Flash Desktop Application - how to update?

    Hi all,
    I'm trying to put together a flash desktop application. I
    want it show each of my .swf's i created, per month ( i.e. january
    month plays 1.swf, february plays 2.swf, march plays 3.swf etc.)
    how can i code the flash to update automatically or would i
    have to use some external codes to accomplish this?
    is it even possible to update if it's a desktop application?
    any help would be greatly appreciated :)
    thanks !

    quote:
    Another question - what program are you using to publish the
    file as a standalone application that users can download? It seems
    that publishing the flash file as a projector (.exe) file only
    makes it open in flash player
    was that a dumb question?
    I'm using Flash 8. As long as the user has Flash installed in
    their browser than using the .exe file on the computer has no
    issues. I believe that the reason the .exe file is larger than the
    .swf is that it contains the necessary information to run the .exe
    file whether Flash is installed on the computer or not. I haven't
    tested that out yet though.
    Adobe's Air actually allows you to install the application. I
    haven't been able to play with that as of yet, but I have seen some
    people using it and a demo of it.
    *Edit*
    I just tested the application I have out on a computer
    without Flash on it, and it worked fine. So, the reason the .exe
    files are so large is because they contain all the requirements to
    run a Flash app.

  • Why do I get Flicker on screen with Linux Standalone Flash Player ?

    Hello,
    I have a problem with the standalone Linux Flash player. The thing is that when I have a video playing in background and over it I make some tweens, it flickers all the time and it is an annoying flicker. It happens only on Linux Flash Player (it works on Windows Flash Player). The flicker appears when I have a video on background, only when the tween is made and on the portion of the screen where the tween is made. I have Ubuntu 9.04 installed and the latest version of standalone Flash Player (from 2/24/09). I've tried this on several LCD and on all it does the same. My video card has the Intel G31 Express Chipset (the drivers for the video card are the one from Ubuntu). I have generated the swf file from Flash CS3. Any help would be appreciated. Thanks in advance.

    See http://kb.mozillazine.org/Error_loading_websites

  • Hypervisor: Create Standalone Real-Time Application (Error at deploying: File not found)

    Hello,
    I am using Hypservisor. With "Build Specifications" in the project explore I want to create a standalone real-time application.
    In my first try I only want to print some texts onto the real-time console (HyperTerminal) using the function "RT Debug String.vi". I built the real-time application successfully and got the rtexe-file locally on the windows system. But as I tried to deploy the application to the target system, I got the error: "File not found". Please check the attached file "error.txt" for details.
    I don't understand which file is not found. Or I used "\" as path separators. Is it wrong? I'd appreciate if you'd have any idea of the problem. Thank you very much.
    Regards,
    Scarletice
    Solved!
    Go to Solution.
    Attachments:
    ERROR.txt ‏1 KB
    builds.zip ‏153 KB

    Hello Casey,
    Thank you very much for your reply and your interest in our project. We are using Real-Time Hypervisor for the setup of our test stand. We use the Windows system to show the GUI and the Real-Time system for the real-time machine control and online data storage. We use shared variables and shared memory for the data exchange between the two systems.
    The system works generally quite fine now. But we still have to face new problems at each step forwards. I'm sure, I'll have more questions. I'd appreciate your advices. Thanks sincerely.
    Best regards,
    Scarletice

  • FAQ: How can I make my Flash Catalyst application scale/use a liquid layout?

    Flash Catalyst CS5 currently only supports applications with fixed dimensions. Custom components you create in Catalyst have absolute sizing.
    If you want to experiment with creating resizable applications (liquid layouts) and components in a preview of the next version of Flash Catalyst, codenamed "Panini",  you can find more information here:
    Introducing Adobe Flash Catalyst "Panini"
    Download Adobe Flash Catalyst "Panini"
    Adobe Flash Catalyst "Panini" help
    Keep in mind that Flash Catalyst "Panini" preview is meant for exploration and testing, not real production. If you are doing real production work, here are some options that work with Flash Catalyst CS5 and Flash Builder:
    Liquid Layouts
    If you are building an application that requires relative constraints, you can take the FXP file from Flash Catalyst into Flash Builder, and apply constraints there so that your components resize according to your application dimensions.
    For more info, see this Help topic:
    Using constraint-based layouts in Flash Builder
    SWF Scaling
    If you want your swf to scale, without relative constraints, there's a simple way to make that work in Builder as well. Simply save out your FXP file from Flash Catalyst and import it into Flash Builder. Open up the "Main.mxml" file. Remove the width and height attributes on the Application tag, and add the attribute:
    preinitialize="systemManager.stage.scaleMode='showAll'
    The entire Application tag should look something like:
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                      xmlns:s="library://ns.adobe.com/flex/spark"
                      xmlns:d="http://ns.adobe.com/fxg/2008/dt"
                      xmlns:fc="http://ns.adobe.com/flashcatalyst/2009"
                      xmlns:ATE="http://ns.adobe.com/ate/2009"
                      xmlns:ai="http://ns.adobe.com/ai/2009"
                      xmlns:flm="http://ns.adobe.com/flame/2008"
                      xmlns:lib="assets.graphics.*"
                      xmlns:components="components.*"
                      backgroundColor="#FFFFFF"
                      preloaderChromeColor="#FFFFFF"
                      preinitialize="systemManager.stage.scaleMode='showAll'"
                      >
    There are a couple other scale modes you may want to try, such as "exactFit", which are outlined at the below link:
    Flash Stage Scale Modes
    Finally, you will have to adjust the object embed code in your html page to set the size of your swf.
    Original discussion here

    you can`t. allow your application internet access without the network admin defining an exception for it specifically.
    If you have admin rights use the router`s/proxy`y configuration software to allow an exception.

  • I cant get voice over to work on my 4G shuffle it clicks off every time help plz

    i need help plz it wont work

    Hello,
    Welcome to Adobe Forums.
    Try uninstalling Adobe Flash Player from Flash Player uninstaller : http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-mac-os.html#main_uninstall
    Try a clean installation using this KB : http://helpx.adobe.com/content/help/en/flash-player/kb/installation-problems-flash-player- mac.html
    Thanks,
    Vikram

Maybe you are looking for

  • How to read .xls file from FTP server t oInternal table

    Hi am using the FTP_SERVER_TO_R3 to read xls file from FTP server to internal table but the data i get in LT_TEXT is special characters. CALL FUNCTION 'FTP_SERVER_TO_R3' EXPORTING handle = hdl fname = f_name "ProdDataFromCRM.xls. * CHARACTER_MODE = '

  • Scanning using windows 8.1

    we have purchased two new computers with Windows 8.1 as the operating system. Now when I use my old printer scanner HP 6210 all in one to scan it won't scan multiple documents to one file.

  • Partial  posting in MIRO

    Hi All, We have a PO of ten items of total 10,000   and Vendor has send the invoice of only one item 1000. How do I get the balance to be 0.00 when the PO quantity is 10 but the vendor is only billing for 1? Thank you, Misbah

  • When attempting to sync to PC

    When I connect to my PC I get the following message:  The forlder "iTunes" is on a locked disk or you do not have write priveleges for this folder.  I can't seen to find a solution and have deleted and reloaded iTunes....any ideas??   Old guy trying

  • Count of emails

    Hello, how can I get count of emails in Inbox based on the following categories ("collapsed receive")? Last Month 3 weeks ago 2 weeks ago Last week Monday Tuesday Wednesday Yesterday Today Thank you