Note: (Restricted functionality due to obvious reasons!)

For Mobile-Ease ⇓

Minimal Code ( Raw-View ) :
---------------------Splashsreen---------------------------- (A)--------------Adding code to manifest.mf in NETBEANS--- 1. Copy your Splash Screen image to the source folder in your project. Note: if you have more resources you may want to a separate resources folder. Say you copied file to "src/folder1/splash.gif"; 2. Next, from the files tree open "manifest.mf" 3. Add the SplashScreen-Image property as shown: Manifest-Version: 1.0 SplashScreen-Image: folder1/splash.gif X-COMMENT: Main-Class will be added automatically by build (B)------ Or add to MF file in final JAR as : SplashScreen-Image: MF/splash.gif (C) -------Display SplashScreen on RUN/Debug in NetBeans------ To see the splash and be able to debug splash modifications, go to the run "properties" and add the following to the VM options -splash:<full or relative path to image in the project> eg: -splash:src/folder1/splash.gif ===================== Building StandAlone JARS : ================ Usually the .jar file in "dist" folder requires all the files+folders in the "dist" folder of project, Here's a method to embedd required directories and files into single JAR file : 0. Goto Files tab in NETBEANS -- Expand Project Folder to see "build.xml" file. 1. Go to your build.xml, and add the code (given below) right before the closing </project> tag at the end. 2. Now change the value of the first propertiy field as commented 3. Click Clean & Build, and your jar will be in the "dist/standalone" folder -----------CODE : -------------- <target name="-post-jar"> <!-- Change the value to the name of the final jar without .jar --> <property name="store.jar.name" value="FinalJarName"/> <!-- don't edit below this line --> <property name="store.dir" value="dist/standalone"/> <property name="temp.dir" value="temp"/> <property name="store.jar" value="${store.dir}/${store.jar.name}.jar"/> <echo message="Packaging ${application.title} into a single JAR at ${store.jar}"/> <delete dir="${temp.dir}"/> <mkdir dir="${temp.dir}"/> <jar destfile="${temp.dir}/temp_final.jar" filesetmanifest="skip"> <zipgroupfileset dir="dist" includes="*.jar"/> <zipgroupfileset dir="dist/lib" includes="*.jar"/> <manifest> <attribute name="Main-Class" value="${main.class}"/> </manifest> </jar> <delete dir="${store.dir}"/> <zip destfile="${store.jar}"> <zipfileset src="${temp.dir}/temp_final.jar" excludes="META-INF/*.SF, META-INF/*.DSA, META-INF/*.RSA"/> </zip> <delete dir="${temp.dir}"/> </target>