Building AIR Applications with the NetBeans IDE

Hello Everyone,
Here's a link to screencast showing you how to Build AIR
Applications with the NetBeans IDE.
http://xwisdomhtml.com/netbeans-and-air.html

Neat!

Similar Messages

  • AIR Intrinsic Classes-Tried and Proven Approach to building AIR applications   in the Flash CS3 IDE

    Hi everyone,
    For all of you out there who would like to develop AIR
    applications
    from the Flash CS3 IDE but aren't sure how to get those pesky
    intrinsic
    classes working, I have a technique that you can work with to
    create
    your classes and make fully functional AIR applications.
    First of all, those solutions out there that list
    "intrinsic" functions
    in their class definitions won't work. That keyword has been
    taken out
    and simply won't work. The "native" keyword also doesn't work
    because
    Flash will reject it. The solution is to do dynamic name
    resolution at
    runtime to get all the classes you need.
    Here's a sample class that returns references to the "File",
    "FileStream", and "FileMode" classes:
    package com.adobe{
    import flash.utils.*;
    import flash.display.*;
    public class AIR extends MovieClip {
    public static function get File():Class {
    try {
    var classRef:*=getDefinitionByName('flash.filesystem.File');
    } catch (err:ReferenceError) {
    return (null);
    }//catch
    return (classRef);
    }//get File
    public static function get FileMode():Class {
    try {
    var
    classRef:*=getDefinitionByName('flash.filesystem.FileMode');
    } catch (err:ReferenceError) {
    return (null);
    }//catch
    return (classRef);
    }//get FileMode
    public static function get FileStream():Class {
    try {
    var
    classRef:*=getDefinitionByName('flash.filesystem.FileStream');
    } catch (err:ReferenceError) {
    return (null);
    }//catch
    return (classRef);
    }//get FileStream
    }//AIR class
    }//com.adobe package
    I've defined the package as com.adobe but you can call it
    whatever you
    like. You do, however, need to import "flash.utils.*" because
    this
    package contains the "getDefinitionByName" method. Here I'm
    also
    extending the MovieClip class so that I can use the extending
    class
    (shown next) as the main Document class in the Flash IDE.
    Again, this is
    entirely up to you. If you have another type of class that
    will extend
    this one, you can have this one extend Sprite, Math, or
    whatever else
    you need (or nothing if it's all the same to you).
    Now, in the extending class, the Document class of the FLA,
    here's the
    class that extends and uses it:
    package {
    import com.adobe.AIR;
    public class airtest extends AIR{
    public function airtest() {
    var field:TextField=new TextField();
    field.autoSize='left';
    this.addChild(field);
    field.text="Fileobject="+File;
    }//constructor
    }//airtest class
    }//package
    Here I'm just showing that the class actually exists but not
    doing much
    with it.
    If you run this in the Flash IDE, the text field will show
    "File
    object=null". This is because in the IDE, there really is no
    File
    object, it only exists when the SWF is running within the
    Integrated
    Runtime. However, when you run the SWF as an AIR application
    (using the
    adl.exe utility that comes with the SDK, for example), the
    text field
    will now show: "File object=[object File]". Using this
    reference, you
    can use all of the File methods directly (have a look here
    for all of
    them:
    http://livedocs.adobe.com/labs/flex/3/langref/flash/filesystem/File.html).
    For example, you can call:
    var appResource:File=File.applicationResourceDirectory;
    This particular method is static so you don't need an
    instance. If you
    do (such as when Flash tells you the property isn't static),
    simply
    create an instance like this:
    var fileInstace:File=new File();
    fileInstance.someMethod('abc'); //just an example...read the
    reference
    for actual function calls
    Because the getter function in the AIR class returns a Class
    reference,
    it allows you to perform all of these actions directly as
    though the
    File class is part of the built in class structure (which in
    the
    runtime, it is!).
    Using this technique, you can create references to literally
    *ALL* of
    the AIR classes and use them to build your AIR application.
    The beauty
    of this technique is its brevity. When you define the class
    reference,
    all of the methods and properties are automatically
    associated with it
    so you don't need reams of code to define each and every
    item.
    There's a bit more that can be done with this AIR class to
    make it
    friendlier and I'll be extending mine until all the AIR
    classes are
    available. If anyone's interested, feel free to drop me a
    line or drop
    by my site at
    http://www.baynewmedia.com
    where I'll be posting the
    completed class. I may also make it into a component if
    there's enough
    interest. To all of you who knew all this already, I hope I
    didn't waste
    your time.
    Happy coding,
    Patrick

    Wow, you're right. The content simply doesn't show up at all.
    No
    JavaScript or HTML parsing errors, apparently. But no IE7
    content.
    I'll definitely have to look into that. In the meantime, try
    FireFox :)
    I'm trying to develop a panel to output AIR applications from
    within the
    Flash IDE. GSkinner has one but I haven't been able to get it
    to work
    successfully. Mine has exported an AIR app already so that's
    a step in
    the right direction but JSFL is a tricky beast, especially
    when trying
    to integrate it using MMExecute strings.
    But, if you can, create AIR applications by hand. I haven't
    yet seen an
    application that allows you to change every single option
    like you can
    when you update the application.xml file yourself. Also, it's
    a great
    fallback skill to have.
    Let me know if you need some assistance with AIR exports.
    Once you've
    done it a couple of times, it becomes pretty straightforward.
    Patrick
    GWD wrote:
    > P.S. I've clicked on your link a few times over the last
    couple of days to
    > check it out but all I get is a black page with a BNM
    flash header and no way
    > to navigate to any content. Using IE7 if that's any
    help.
    >
    >
    >
    http://www.baynewmedia.com
    Faster, easier, better...ActionScript development taken to
    new heights.
    Download the BNMAPI today. You'll wonder how you ever did
    without it!
    Available for ActionScript 2.0/3.0.

  • Synchronizing  the Adobe Air application  with the remote server daily

    I am building a desktop application which is built in Adobe
    Air using FlexBuilder3. I want my application to connect to remote
    server daily at a particular time on a day and check for updates
    and download them, irrespective of whether the application window
    is active or it is closed.
    I know how to acheive this, if the application window is
    active(window is open) by setting a Timer function , but the
    applcation runs into problems if the window is closed and cannot be
    connected to server to check for updates.
    Can I make the code work(timer function) even when the window
    is closed in the background process?
    Please help me out in acheiving this, I will be very
    grateful....

    Bump. Wondering about this too.

  • Getting started building AIR applications for the iPhone

    This question was posted in response to the following article: http://help.adobe.com/en_US/as3/iphone/WS789ea67d3e73a8b2-240138de1243a7725e7-8000.html

    good

  • AIR application with Flex 4.5 will not render content. What gives?

    OK,
    So I've upgraded to Flash Builder 4.5 Premium and I am unable to develop desktop AIR applications with the 4.5 Flex SDK. I start by simply creating a brand new AIR application using the default SDK (Flex 4.5). I set the title property on WindowedApplication and include a simple Label component. The project compiles fine but when I run the application all I see is the adl window in the dock but that's it. If I modify the Main-app.xml file to set the visible attribute to true, I will get a small window but there is no content although the output window shows the application swf being loaded. Checking the release version of the Main-app.xml file shows the correct path location to the swf.
    Here is what I've tried so far:
    Install/reinstall Flash Builder, 4+ times
    Downloaded the trial installation twice
    Downloaded the SDK's for 3.6, 4.1 and 4.5.0. I then copied each SDK folder and merged the AIR 2.6 SDK with each copy. So now I have 6 SDK versions; one pristine and the other with the AIR 2.6 SDK merged. I then added each SDK individually and created an AIR desktop application for each. Each and every one works fine with the exception of the two 4.5 SDK's. They will not render content.
    I created a simple creation complete handler for the application that declares a simple variable and assigns a value to it. I then put a break point on the assignment and it never gets caught. More evidence that the swf isn't getting loaded.
    The computer I'm running on is a Mac Book Pro with Snow Leopard 10.6.7. If I create a web project in each of the 6 SDK's, those will work just fine. What the heck is it with Flex 4.5 and the AIR 2.6 SDK on this machine? I have the AIR 2.6 runtime installed as well as a number of AIR applications that work just fine. I also tried my 4.5 test on my windows machine and that worked like a champ.
    I am completely out of ideas. Finding information has been difficult because everyone is all about mobile so searching for desktop issues is a losing battle. I realize this is a long email but I'm desperate for help. There must be someone out there that knows more about the low level interaction between Flex 4.5/AIR 2.6 and the OS.

    Well, I finally found the issue, a corrupted mm.cfg file in /Library/Application Support/Macromedia. I deleted the file and then adl ran just fine.

  • How to run applications with options in IDEs like Netbeans

    Hi, I'm new to the Netbeans IDE and I'm wondering how to run applications with options.
    Normally I'd enter the following in the command line:
    java -Djavax.net.ssl.keyStore=mykeystore -Djavax.net.ssl.keyStorePassword="..." TLSServer
    java  -Djavax.net.ssl.trustStore=mytruststore -Djavax.net.ssl.trustStorePassword="..." TLSClient localhostProblem is, I've no idea how to do the same thing in IDE's like Netbeans and I can't any settings to add options like "-Djavax.net.ssl.keyStore=mykeystore" before running the application. Any help will be appreciated.
    Message was edited by:
    Wolfgard

    Right-click the project, click properties, clicl run, and add parameters to VM Options.

  • Sun Studio (12,1) is unable to find a supported version of the Netbeans IDE

    Hi all,
    We're working on upgrading both the hardware and software on our application currently, and part of this involves upgrading our compiler to Sun Studio 12.1. I downloaded
    SunStudio12u1-SunOS-SPARC-pkgs-ML.tar.bz2
    from the Sun website and we installed it into the following location on our server:
    /opt/compiler/sunstudio12.1
    I successfully compiled all my code using the compiler, however, when I try to launch the debugger by typing ./sunstudio in the 'bin' directory, I get the following error:
    {opt/compiler/sunstudio12.1/bin}./sunstudio
    Sun Studio is unable to find a supported version of the NetBeans IDE.
    Sun Studio requires a NetBeans IDE version 6.5.1 with NetBeans C/C++ module (cnd
    2) enabled.
    Sun Studio looks for a valid NetBeans IDE installation in the following order:
    1) Location specified with --netbeanshome command line option
    2) At /opt/compiler/sunstudio12.1/netbeans
    I have seen references to executing 'prepare_system' on forums while I was trying to investigate this, but when our sys admin folks try to execute the command, it does not work (command not found). They've mentioned that they expected a prepare_system script in the directory where we untarred the downloaded sun studio tarfile, but it is not there:
    drwxrwxr-x 4 59001 staff 1024 Aug 20 2009 .
    drwxr-xr-x 3 yu12 lifecad 1024 Jul 2 09:48 ..
    drwxrwxr-x 4 59001 staff 1024 Aug 17 2009 LEGAL
    -rw-rw-r-- 1 59001 staff 3985 Aug 19 2009 SS12u1_README-pkgs.txt
    -rw-r--r-- 1 59001 staff 5598 Aug 20 2009 SS12u1_README-pkgs_ja.html
    -rw-r--r-- 1 59001 staff 4155 Aug 20 2009 SS12u1_README-pkgs_zh.html
    -rwxrwxr-x 1 59001 staff 517979136 Aug 6 2009 SunStudio12u1-SunOS-SPARC-pkgs.sh
    -rwxrwxr-x 1 59001 staff 11814 Aug 6 2009 install_patches.sh
    drwxrwxr-x 5 59001 staff 96 Aug 17 2009 patches
    I can see a netbeans directory was created as part of the install, but I'm not sure why sun studio thinks netbeans is not available (afraid my knowledge about netbeans is practically non existent):
    {opt/compiler/sunstudio12.1/netbeans}ls -l
    total 6062
    drwxr-x--- 2 root root 512 Apr 5 11:14 bin
    drwxr-x--- 7 root root 512 Apr 5 11:14 cnd2
    -rw-rw-r-- 1 root root 5254 Mar 5 2009 CREDITS_ja.html
    -rw-rw-r-- 1 root root 5175 Mar 5 2009 CREDITS_pt_BR.html
    -rw-rw-r-- 1 root root 4908 Mar 5 2009 CREDITS_zh_CN.html
    -rw-rw-r-- 1 root root 5434 Mar 5 2009 CREDITS.html
    -rw-rw-r-- 1 root root 1717 Mar 5 2009 DISTRIBUTION.txt
    -rw-rw-r-- 1 root root 0 Aug 6 2009 dummy
    drwxr-x--- 2 root root 512 Apr 5 11:14 etc
    drwxr-x--- 7 root root 512 Apr 5 11:14 gsf1
    drwxr-x--- 6 root root 512 Apr 5 11:14 ide10
    -rw-rw-r-- 1 root root 1845 Mar 5 2009 LEGALNOTICE.txt
    -rw-rw-r-- 1 root root 64275 Mar 5 2009 LICENSE.txt
    -rw-rw-r-- 1 root root 37141 Mar 5 2009 moduleCluster.properties
    drwxr-x--- 7 root root 512 Apr 5 11:14 nb6.5
    -rw-rw-r-- 1 root root 15822 Mar 5 2009 netbeans.css
    drwxr-x--- 8 root root 512 Apr 5 11:14 platform9
    -rw-rw-r-- 1 root root 6141 Mar 5 2009 README_ja.html
    -rw-rw-r-- 1 root root 5692 Mar 5 2009 README_pt_BR.html
    -rw-rw-r-- 1 root root 5122 Mar 5 2009 README_zh_CN.html
    -rw-rw-r-- 1 root root 5155 Mar 5 2009 README.html
    -rw-rw-r-- 1 root root 2913280 Mar 5 2009 THIRDPARTYLICENSE.txt
    drwxr-x--- 5 root root 512 Apr 5 11:14 websvccommon1
    Our server details are:
    {opt/compiler}uname -a
    SunOS a03714 5.10 Generic_142900-03 sun4v sparc SUNW,T5440
    Any advice appreciated on how to get the debugger working. Ideally, I'd prefer not to uninstall / reinstall if at all possible as we're about to start system testing our executables, and I think a reinstall would require more unit teting and delays to our project (yikes!). But any input would be appreciated here.
    Thanks,
    Brendan.

    Hi David,
    First off - thanks for the response. I do have some follow up questions if you don't mind though:
    1. When you say the install is corrupted, do you suspect
    - the file I downloaded from the website either was corrupted, or was not the correct file for my platform
    - the procedure used to install the software was incorrect
    - something else
    2. Is there a logfile that the sun studio install creates which would indicate an error during the installation procedure? I'm sure our admins who performed the install would have shouted if an error was logged... but on the offchance that the installation does not 'shout loudly' for some errors, I'd like to see a log of the error. At a minimum, I'd expect it to say why the install failed, and what we need to modify to ensure a successful install next time 'round.
    3. I successfully compiled my code using the C compiler from the install. My unit tests also look good... does this suggest that the install was at least a partial success, and would you suspect that my recompiled executables are reliable, despite the fact that I cannot launch the IDE?
    4. Today, one of our admins telnetted to our unix server - not via exceed by the way, but he did try the following test:
    - set his display env variable (he knew he would not get a display however)
    - executed the sunstudio script
    He did not get the netbeans error, and the process appeared to be running (as I mentioned, without a display) until he killed it. I've asked if they can repeat the test using an exceed session. I thought there may be something on his $PATH that I did not have - unfortunately this was not the case (although, he may have access as 'root' to something that I require to launch the IDE). My question is, would you expect this behaviour if the install was corrupted?
    Let me know what you think.
    Thanks,
    Brendan.

  • Sun Studio is unable to find a supported version of the NetBeans IDE at the

    I'm following the system install instructions in the Grid Compute Utility guide, Appendix A "Building a Local Development Environment" and am getting stuck on step 4, installing sunstudio. I'm running Solaris 5.10 on x86 and can run netbeans IDE without problem. Here is some info, I'm not sure what other system info is relevant:
    bash-3.00# which netbeans
    /opt/netbeans-5.5.1/bin/netbeans
    bash-3.00# which sunstudio
    /usr/bin/sunstudio
    bash-3.00# sunstudio
    Validating NetBeans IDE at: "/opt/SUNWspro/../netbeans-5.5.1"
    Sun Studio is unable to find a supported version of the NetBeans IDE at the specified location.
    Sun Studio requires a NetBeans IDE version 5.5.1 with NetBeans C/C++ Development Pack version 5.5.1
    installed. Sun Studio looks for a valid NetBeans IDE installation in the following order:
    1) Location specified with --netbeanshome command line option
    2) At /opt/netbeans-5.5.1 location, if exists
    3) At /opt/SUNWspro/../netbeans-5.5.1 location, if exists
    4) At /opt/SUNWspro/../../netbeans-5.5.1 location, if exists
    Please run the System Preparation Tool (prepare_system), if available, to set up your environment.
    Any help!?

    Did you install NetBeans separately or let Sun Studio installer do it? The latter usually results in working configuration.
    I think that NetBeans installation simply doesn't have c++ pack; you can install one following usual NetBeans modules installation path and then re-try starting Sun Studio.
    Another option is to uninstall NetBeans and re-install Sun Studio using its installer, which should set up NetBeans properly.

  • Compile AIR application with Ant (WindowedApplication could not be found)

    I'm trying to compile my AIR application with Ant, using the mxmlc Ant Task. It seems to compile fine, and I get a .swf, but when I try to run it with ADL, I get the message "Class mx.core::WindowedApplication could not be found." It looks like the AIR libraries aren't being included properly.
    Here's my mxmlc task:
    Class mx.core::WindowedApplication could not be found.
    <mxmlc
         file="${MAIN_MXML}"
         output="${DEPLOY_DIR}/MyApp.swf"
         compatibility-version="3"
         locale="en_US"
         static-rsls="true"
         debug="${DEBUG_FLAG}"
         optimize="true"
         link-report="${DEPLOY_DIR}/report.xml"
         configname="air">
         <load-config filename="${FLEX_HOME}/frameworks/air-config.xml" />
         <library-path dir="${FLEX_HOME}/frameworks/libs" append="true">
              <include name="*.swc" />
         </library-path>
         <library-path dir="${FLEX_HOME}/frameworks/libs/air" append="true">
              <include name="*.swc" />
         </library-path>
         <library-path dir="${FLEX_HOME}/frameworks/locale" append="true">
              <include name="{locale}" />
         </library-path>
         <source-path path-element="${SRC_DIR}" />
    </mxmlc>
    Any idea why this is happening? I've tried not including the load-config section and not including the library paths, but it's always the same result - it can't find WindowedApplication.
    Thanks!

    Hi, Guys!
    I ran into the same problem when i tried to write an ant-script to compile the asDocs for my project.
    After reading shades post i added the air-config (This resolved the WindowApplication couldn't be found error, because it adds all the air libs i guess)
    but lead to the problem that the flex vector-class wasn't found. As Vector is flashplayer 10.0.0 i also
    used the target-player parameter (This fixed that nicely).
    But now i got the problem that i get lots of this error msgs: DepartmentItemRendererClass.as(11):
    Error: The private attribute may be used only on class property definitions.
    I guess the problem now is that ant doesn't understand that the AS-Classes producing that errors are not used as
    standalone-classes. To divide my mxml and AS-Code i import external AS-Classes to my MXML
    like that <mx:Script source="ascodeClass.as" />
    Is there a solution allowing me to use this pattern and still compile my asDoc with ant?
    It confuses me a little, because Ant-Scripts worked to compile the project.
    Thanks in advance!
    Florian
    My Ant-Script producing that error:
    <project name="Red bull BPT 2.0: Generate ASDoc" basedir=".">
        <description>
           Creates the ASDoc for Red Bull BPT 2.0
        </description>
        <property file="FlexbuilderASDocAntTask.properties" />
        <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar" />
        <target name="cleanAndCreateASDoc"
                depends="cleanASDoc, compileASDoc"
                description="Cleans and creates Actionscript-Documentation"
                />
            <!-- Delete the existing output folder and files and then regenerate the output folder -->
                <target name="cleanASDoc">
                    <echo>Deleting ASDoc Directory...</echo>
                        <!--Delete the folder specified for the Asdoc.dir variable-->
                        <delete dir="${Asdoc.dir}" failOnError="false" includeEmptyDirs="true" />
                        <echo>Deleted ASDoc Directory</echo>
                        <echo>Creating ASDoc Directory...</echo>
                        <!--Creates the folder specified for the Asdoc.dir variable-->
                        <mkdir dir="${Asdoc.dir}" />
                    <echo>Created ASDoc Directory</echo>
                </target>
            <!-- Run the ASDoc executable and generate the ASDocs to the new output folder -->
                <target name="compileASDoc">
                    <echo>ASDoc Compiling...</echo>
                        <exec executable="${AsDocs.executable}" failonerror="true">
                        <!--THIS SEEMS TO SOLVE THE WINDOWEDAPPLICATION AND FOLLOWING VECTOR ERROR -->   
                            <arg line="-load-config ${FLEX_HOME}/frameworks/air-config.xml" />
                            <arg line="-target-player 10.0.0" />
                        <!--THIS SEEMS TO SOLVE THE WINDOWEDAPPLICATION AND FOLLOWING VECTOR ERROR -->
                        <!--Main title for the top of all ASDoc pages-->
                            <arg line="-main-title '${Main.title}'" />
                        <!--Prefix Title of the window-->
                            <arg line="-window-title '${Window.title}'" />
                        <!--Defines the output directory for the ASDoc-Files-->
                            <arg line="-output '${Asdoc.dir}'" />
                        <!--Footer added to each ASDoc page-->
                            <arg line="-footer '${Footer.text}'" />
                        <!--Adding the source folders the ASDoc should be created from (Start)-->
                            <arg line="-doc-sources '${ModuleBaseDir}/source'" />
                        <!--Adding the source folders the ASDoc should be created from (End)-->
                        <!--Adding the folders for external Libraries needed to compile the application(Start)-->
                            <arg line="-external-library-path '${ModuleBaseDir}/libs'" />
                        <!--Adding the folders for external Libraries needed to compile the application(End)-->
                        </exec>
                    <echo>ASDoc Compile Complete!</echo>
        </target>
    </project>

  • Building Flex Application with Flex Builder installed in a remote server

    Building Flex Application with Flex Builder installed in a remote server and different developers accessing it via VNC etc
    I have a requirement as below..........this is mainly to look for a solution where we can see a environment.............where we can stop developer to install flex builder locally, download/check out code locally and work locally ..............Please have a look ........
    1. There is Remote Server hosting our source code say 1st Remote Server
    2. There is another 2nd Remote Server which support workspace for each user
    3. Flex Builder installed in the 2nd Remote Server
    4. Each Developer connects to the 2nd Remote Server via VNC etc log in to their workspace
    5. Each developer check out code in their workspace by connecting to 1st Remote Server.
    6. Start Flex Builder instance which is running in the 2nd Remote Server
    5. Each developer open source code modifies, build application in their workspace and check
    Do anyone have any idea whether this kind of environment is possible in Flex or can anyone suggest something which is almost close to this ? I heard Cloud Computing is something that world is looking to represent this kind of solution .............not sure though

    Hi
    The concept of cloud computing is not even very clear to me
    I think this is what I understood about it ...........from this link http://communication.howstuffworks.com/cloud-computing.htm
    It says
    "Instead of installing a suite of software for each computer, you'd only have to load one application. That application would allow workers to log into a Web-based service which hosts all the programs the user would need for his or her job. Remote machines owned by another company would run everything from e-mail to word processing to complex data analysis programs. It's called cloud computing, and it could change the entire computer industry"
    "There's a good chance you've already used some form of cloud computing. If you have an e-mail account with a Web-based e-mail service like Hotmail, Yahoo! Mail or Gmail, then you've had some experience with cloud computing. Instead of running an e-mail program on your computer, you log in to a Web e-mail account remotely"
    My issue is not with the license. The solution that I am looking for is
    1. Don't want the developer to download the source code in any fashion either checked out or anything else in the local machine
    2. Want the developer to work directly on the server
    3. Looking for a solution where each developer is not required to install Flex Builder locally and the developer can use Flex Builder that is installed on the server and in his workspace and create/modify build on the server itself
    Hope I could make you understand this time ................
    Regards
    Biswamit

  • App won't run outside of the netbeans ide

    I created a very simple app using the netbeans ide I made a jframe that when the button is pressed displays text, it works when I select "run file" however when it is built into a .jar it doesn't run, I think it might be because the main is empty and the jframe contains the actual code, I'm lost as I'm a complete noob

    it works when I select "run file" however when it is built into a .jar it doesn't run, I think it might be because the main is empty and the jframe contains the actual codeDo this:
    In the "projects" tree structure, right click on the current project node which contains the jframe. Select 'Properties' , a dialog would show, select 'Run' in that dialog, you can find a field 'Main class', check whether it shows the correct class, if not click the Browse button in front of it and select the correct class i.e the jframe class.
    Now when this is done, right click the Project node again and select 'Build' , then after 'building' right click and select 'Run', if the project runs correctly everything is alright.
    Now go to the place where your project is actually saved, go to 'dist' folder and double click the jar file or run the jar through cmd, it would work.... and don't copy the jar file somewhere else, if you want to run it somewhere else, copy the whole 'dist' folder and run the jar from there.... thats what previous reply recommended.
    Thanks!

  • Cannot install AIR application when the system date is set beyond 10/31/2017

    I created a native time-stamped installer for an AIR application. While testing the installer with different system dates, I noticed that the installer does not work when the system date is set beyond 10/31/2017. I tested the same with a self-signed certificate as well as a Verisign certificate and found the behaviour to be consistent. Why does the installer stop working after this date?

    Thanks very much for keeping this issue alive.
    Let me restate the issue:
    We have a AIR 2.0.4.13090 sidecar application. Installing the application for the very first time seems to work. Any uninstall or update after that runs into issues on the problematic Windows 7 64 bit machine. The installer logs all point the finger to Windows Installer having problems writing to the temp directory.
    We've gone through many, many things trying to resolve this, including resetting administrative access to the temp directory and flushing the temp directory out entirely. I'm reporting this news secondhand, so it's not possible for me to directly relate the exact measures taken, step-by-step. The ONLY thing that reliably worked for running and installing updates on this AIR application was the following:
    1) Create a new administrative level user.
    2) Log in with that user.
    3) Disable firewalls.
    4) Run the updater.
    5) Log back in as normal user, delete temporary user.
    if the user account created in step 1 is not deleted in step 5 and is used to attempt a further update or uninstall, it will fail. This seems to tell me that AIR is able to utilize the temp folder via Windows Installer correctly only once. After that, it dirties this directory somehow and is unable to use/write to it, and subsequent uninstalls/updates fail with error 0.
    Again, the failure all show msi issues writing to the temp directory. They result in an "Error 0" alert dialog in AIR.

  • Testing adobe air application with qtp

    Hi,
    We want to test our adobe air applications with quicktest. Where can I find addin for QTP and how do the AIR applcation have to be developed? What have to be done? There is no much info in google about this.
    Thank you in advanced!

    QTP does not currently work with AIR applications.  It will work with Web deployed FLEX applications.
    I have been told by Adobe that whilst they're not sure of an exact date, they do believe that QTP will be supported in AIR with Flex 4.
    You might want to look at some alternatives:
    http://code.google.com/p/fluint/
    http://code.google.com/p/flexmonkey/
    http://www.borland.com/us/products/silk/silktest/index.html

  • "Building Imaging Applications with Java"

    Hello!
    Does anyone know the book "Building Imaging Applications with Java" from Larry Rodrigues well (really worked through the chapters)?
    Have a question which is very difficult to explain when you don't know his code.
    Regards
    Carsten

    1)Java is backward-compatable, so almost anything that used to work should still work
    2)If you aren't already using it, take a look at swing:
    http://java.sun.com/docs/books/tutorial/uiswing/index.html
    hope this helps
    webaf409java

  • How can I build a table with the time values of a timer from a while loop

    Hi:
    I have a question concerning building a table:
    Every 100ms I read a value from a sensor (while loop with a timer). I would like to build a table with the actual time and the concerning value. For example:
    0msec         1V
    100msec     2V
    200msec     3V
    300msec     4V
    etc.
    If I use the Express VI for building a table, I always get the date and time, but I don't need the date and the time is in the following format: HH:MMS, which is nonsensical for me as I can't differentiate within msec. Can I change the format anywhere?
    Can I also save the table to a file or even to an Excelsheet? How can I do that?
    Thanks for your help!

    Hi Craig:
    thank you very much. To solve the mystery : ) :
    I want to drive a stepper motor with a specific frequency. To get the current degree value of the motor I would like to measure the current time (from the beginning of the move on). (With a formula I get the degree value out of the time)
    Concurrently I would like to get data from a torque sensor and from a pressure sensor. That's why I asked you about the time and the table. The measurement should start with the movement of the motor. How can I do that? Right now I have different block diagrams (different while loops) (see attachment) and I would like to put them in one.
    I haven't done the block diagram for the pressure sensor yet, so there is only the one for the torque sensor and the one for the motor.
    I also would like to set a mark in the table when the voltage value of an analog input gets under a specific threshold value. Is that possible?
    I'm sorry, I'm a novice in LabVIEW. But maybe you can help me.
    Thank you very much!
    Steffi
    Attachments:
    motor.vi ‏238 KB
    sensor.vi ‏59 KB

Maybe you are looking for

  • Do I need a separate base station to stream to a AX

    I have an Intel Imac and I want to stream airtunes to an AX. I do not currently have a wireless network. My Imac is connected to the internet directly through an ethernet cable from my dsl modem. Can I stream just by connecting the AX to my stereo an

  • Itunes wont update my ipod

    wen i plug my ipod in it starts to update my songs etc. but at the end it comes up wiht an alert message sayin itunes could not update your ipod for unknown reason/errors (im not sure) anyone got any ideas on how to fix this

  • How do I create a registered members section to an exhisting website

    I have an existing website.  I would like to create a section for employees to be able to register then have access to areas within that section of the site.  I am great with basic design, I have experience with adding forums and blogs to websites us

  • Need specific points in xy graph

    I have xy graph-similar I drow and I'd like to find points, marked with red, automaic(not by hand with cursor) For he right point y value (x=0) and for he left one x value (y=0) The input are two arrays. ..if anyone can help.. Attachments: gr.JPG ‏17

  • Display Vehicle Technology tab in IE01

    Hi Experts, When I am creating a new Equipment using IE01 Tcode, only the following tabs are getting displayed General,Location,Organization and Structure. I want to display 3 more tabs as given below Structure, Vehicl ID/Measurements and Vehicle Tec