2 Question How to set the page size and  full screen

I am looking to find out how to set the page to be 1024 by
768 static and also how to force a browser window to go to full
screen. Thanks

Hi Ludek,
i could solve the issue by using the follwing code.
report = new ReportDocument();
PageMargins customPageMargin = report.PrintOptions.PageMargins;
report.PrintOptions.PaperOrientation = PaperOrientation.Portrait;
report.PrintOptions.PaperSize = PaperSize.Paper10x14;
customPageMargin.rightMargin = 1;
customPageMargin.topMargin = 0;
customPageMargin.bottomMargin = 0;
report.PrintOptions.ApplyPageMargins(customPageMargin);
Thanks for you help.
Regards,
smitha.

Similar Messages

  • How to set the page size and the margins programatically

    Hello,
      I am working with crystal report XI Release2 and asp.net.
    One of my report is having 4 graphs in a single report.In order to display all the graphs in one page i have set  the paper size as A3.(Via Crysta report ->File->Page set up)
    But the page size A3 is not provided by all printers.So problem comes when the application is diployed on a machine which does not support A3 Printer.All the graphs will not be shown on a single page.
    Also Each and Every time ,when the application is diployed on a machine,user has to open the crystal report and adjust the page size accordingly to get all the reports on a single page.
    This is a kind of usability issue also.
    Is it possible to set the page size and the margins programatically say for eg 11 X 17.so that with out doing anything all the 4 graphs will get displayed on a single page ?
    Please let me know if you require more information regarding this issue.
    Thanks in advance.
    smitha.

    Hi Ludek,
    i could solve the issue by using the follwing code.
    report = new ReportDocument();
    PageMargins customPageMargin = report.PrintOptions.PageMargins;
    report.PrintOptions.PaperOrientation = PaperOrientation.Portrait;
    report.PrintOptions.PaperSize = PaperSize.Paper10x14;
    customPageMargin.rightMargin = 1;
    customPageMargin.topMargin = 0;
    customPageMargin.bottomMargin = 0;
    report.PrintOptions.ApplyPageMargins(customPageMargin);
    Thanks for you help.
    Regards,
    smitha.

  • Hi, I am using Indesign CS6, How to set the page size in Inches.

    Hi, I am using Indesign CS6, How to set the page size in Inches.

    All fields in InDesign can be entered in any measurement system. So, if you want to make an 8"x10" document and go to File>New Document and the window looks like this:
    …you can type either 8 in or 8" into the Width field like this:
    …and when you move to the next field, it will convert the eight inches into the equivalent number in the unit of measure that it is using at the moment, like this:
    … (203.2 milimeters is the same as 8 inches). You can also enter a different measurement unit into other fields once the file is created, such as the width or height of a frame, or the position of an object in the X and Y coordinates.
    If you would rather just work in inches instead of having to type the inches mark or abbreviation, go to InDesign>Preferences>General and select the Units & Increments tab. There you will see Ruler Units for Horizontal and Vertical at the top of the window. Set them to Inches and all of the fields will display in inches. If you do that to an open document, you will change the unit of measure for that document. If you do it while no documents are open, it will change the unit of measure for any new documents you create. To change the unit of measure for existing documents, you will have to open each and make the change.

  • How to set the page size

    Hi,
    How to set the page size of a B tree node in berkeley db java edition?
    thanks.

    The two systems have different performance characteristics. If you are concerned with the performance characteristics, then the best way to tell is to benchmark them.
    By the way, both BDB and BDB JE are B-trees.

  • How to set the JFrame to be Full screen

    yup.. how to set the JFrame to be Full screen mode??

    Hi,
    You can get the current size of desktop and resize your application to match it.
    //Get desktop screen size
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize()
    //Set bounds for main window
    setBounds(0, 0, screenSize.width, screenSize.height);     Br,
    J

  • How do I set the Page size default in Adobe Reader using Window 8?

    I need to set the page size everytime I go to print from my Adobe Reader in my windows 8. Is there a way to set the page I want letter (8.5 by 11) as a default? So I do not have to do this everytime I print something?

    I can't help but wonder why Adobe doesn't respond to this - at this point there are 464 views of this item and still no answer. I have the same problem and it's a big irritation to have to set the duplex mode everytime I want to print!

  • Getting the page size and knowing how many pages they are in PDF file

    Hi There,
    when i do this script (
    var myPDFFile = File.openDialog(["Choose a PDF File"]); ) 
    with JS via Windows it is used for opening a new PDF file when i import this file i need to
    get the page size and how many pages they are in PDF file. but i dont know how to do it.
    please help me.

    Ask here: http://forums.adobe.com/community/indesign/indesign_scripting

  • How to reserve the page size when exporting to MS Excel 2010

    Hello. I have a report which exports to MS Excel 2010. I applied the page size as legal in Crystal Report and would like to use the same page size in Excel
    However, MS Excel print preview says the page size is letter.
    How could I keep the same page size in Excel as I applied in Crystal Report. We have a lot of business reports and would like to avoid applying page setting manually in Excel when users print them out each time.
    Thank you.

    Hi Christine
    I am in the process of writing a doc on the different options in CR and the "No Printer" option sis one of those. Seeing this post, made me wonder as this looked like a questionable behavior. My testing does not support your observations. Now, I did a very simple test;
    Created a report, set "No Printer", set the paper size and legal orientation. Exported to XLS - any format, and the export maintained legal paper size in all instance. I did a few other variations, but I can never get the report to export anything other than Landscape.
    Can you  please let me know the version of CR you are using?
    You may also want to attach the report here with saved data (to attach rename the rpt to txt, then in the reply hit on the "Use advanced editor" link and attach.
    BTW.; I am using CR 2013.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • How to set the fix size jframe window

    when I run the jframe ,the jframe window size is very small
    1)how to set the fix size jframe window??
    2)how to set the jframe cannot change the window size??
    thx~~

    1. You can set the size by calling JFrame's method setSize. There are two versions of this method: (1) setSize(int width, int height) and (2) setSize(Dimension d). Note, that when you use this method to set the frame size, you don't have to call JFrame's pack method.
    2. JFrame has a method called setResizable(boolean resizable) which you can call with the argument false.
    Without any ill intent, these questions are regarding something that is very easily answered by looking at the documentation for the JFrame class. I suggest to anyone working with swing to at least look briefly through the base classes they're extending before giving up. In my experience it is always more gratifying to figure things out on my own than asking someone. But please don't take this the wrong way, I respect people who seek out help in order to further their knowledge, instead of just giving up.

  • How to set the frame size?

    Hi,
    Can some one show me how to set the frame size in this program? History: I have created a window and added a button but its to small. So I want to increase the size of the frame to at least 600X400 pixel.
    private static void showGUI() {
            //Create and set up the window.
            JFrame frame = new JFrame("ButtonDemo");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            //Create and set up the content pane.
            Main newContentPane = new Main();
            newContentPane.setOpaque(true); //content panes must be opaque
            frame.setContentPane(newContentPane);
            //Display the window.
            frame.pack();
            frame.setVisible(true);
        }It would be nice if you could show me how to do it.
    Thank you very much for reading this.

    Challenger wrote:
    Simply adding
    frame.setSize(new Dimension(600,400));to the end of your code should work perfectly.Or, if you want to do it correctly, .setPreferredSize() on your frame before you .pack() it. The default layout manager for JFrame is BorderLayout, which uses the preferredSize of each component to calculate sizes during the .pack() call.

  • How to set the minimum size of the JDialog.

    Hi Could any one tell me ,
    How to set the minimmum size of the JDailog.
    I am using the JDialog's setMinimumSize(...)
    But it is not working.....
    Regards -
    Vikas Kumar sahu

    That's pretty much all there is, although you could always add a componentlistener and manually not let the size go below your minimum.
    Or you could try overriding setSize...

  • How to set the heap size of JVM

    please let me know that how to set the heap size of JVM

    C:\>java -X
        -Xmixed           mixed mode execution (default)
        -Xint             interpreted mode execution only
        -Xbootclasspath:<directories and zip/jar files separated by ;>
                          set search path for bootstrap classes and resources
        -Xbootclasspath/a:<directories and zip/jar files separated by ;>
                          append to end of bootstrap class path
        -Xbootclasspath/p:<directories and zip/jar files separated by ;>
                          prepend in front of bootstrap class path
        -Xnoclassgc       disable class garbage collection
        -Xincgc           enable incremental garbage collection
        -Xbatch           disable background compilation
        -Xms<size>        set initial Java heap size
        -Xmx<size>        set maximum Java heap size
        -Xss<size>        set java thread stack size
        -Xprof            output cpu profiling data
        -Xrunhprof[:help]|[:<option>=<value>, ...]
                          perform JVMPI heap, cpu, or monitor profiling
        -Xdebug           enable remote debugging
        -Xfuture          enable strictest checks, anticipating future default
        -Xrs              reduce use of OS signals by Java/VM (see documentation)look at the -Xm? lines
        -Xms<size>        set initial Java heap size
        -Xmx<size>        set maximum Java heap sizeThis can be used e.g. like this:java -Xms8M -Xmx32M MyProgwhich runs MyProg in a java VM with the initial heap size of 8 MB and a maximum heap size of 32 MB.
    - Marcus

  • How to set the stack size for alchemy application?

    Anybody know how to set the stack size for alchemy application?
    If you know, please tell me how to adjust the stack size for alchemy application?

    Hi,
    The stack size is set as public const gstackSize in the alchemy generated code.  You can see this if you build with ACHACKS_TMPS set.  The default is one megabyte.
    One way to change the stack size is to use llvm-dis to disassemble avm2-libc/lib/avm2-libc.l.bc, generating avm2-libc.l.ll, modify the constant, and then use llvm-as to recompile your modified library and overwrite the old one.  These utilities should be in your path if alchemy is set up.

  • How to know the image size and coding of our j2me project

    Hi,
    I have developed a game and i did the obfuscation. My jar size is now 170KB. How can differentiate the coding size and the image size from the total jar size.
    If i asked any thing wrongly, please forgive me and clarify my doubt.
    I am looking forward to meet ur queries if any.
    Thanks and Regards,
    Hithayath.

    <?xml version="1.0" encoding="UTF-8"?>
    <!-- *** GENERATED FROM project.xml - DO NOT EDIT *** -->
    <project xmlns:projdeps2="http://www.netbeans.org/ns/ant-project-references/2" basedir=".." default="jar" name="-impl">
    <target name="pre-init"/>
    <target depends="pre-init" name="pre-load-properties">
    <property file="nbproject/private/private.properties"/>
    <property value="0.0.1" name="deployment.number"/>
    <property value="000002" name="deployment.counter"/>
    <property location="${netbeans.user}/build.properties" name="user.properties.file"/>
    <available file="${user.properties.file}" property="user.properties.file.exists"/>
    </target>
    <target unless="config.active" depends="pre-load-properties" name="exists.config.active">
    <echo message="Active configuration (config.active property) is not set - using default." level="warning"/>
    <property name="config.active" value=""/>
    </target>
    <target unless="netbeans.user" depends="pre-load-properties" name="exists.netbeans.user">
    <echo message="NetBeans IDE user directory (netbeans.user property) is not set. By specifying this property many properties required by the project will be automatically evaluated (e.g.: ant-ext library home, ...). You could also open this project in the NetBeans IDE - in this case this property would be set automatically." level="warning"/>
    </target>
    <target unless="user.properties.file.exists" depends="pre-load-properties" name="exists.user.properties.file">
    <echo message="User properties file (user.properties.file) property is not set. By specifying this property many properties required by the project will be automatically evaluated (e.g.: libraries, platforms, ...)." level="warning"/>
    </target>
    <target depends="pre-load-properties,exists.config.active,exists.netbeans.user,exists.user.properties.file" name="load-properties">
    <loadproperties srcfile="nbproject/project.properties">
    <filterchain>
    <containsregex replace="\1" pattern="^configs\.${config.active}\.(.*)"/>
    <concatfilter prepend="nbproject/project.properties"/>
    <containsregex pattern="^platform.active=|^deployment.method="/>
    </filterchain>
    </loadproperties>
    <loadproperties srcfile="${user.properties.file}">
    <filterchain>
    <replaceregex replace="platform." pattern="^platforms\.${platform.active}\."/>
    <replaceregex replace="deployment.scriptfile=" pattern="^deployment\.${deployment.method}\.scriptfile="/>
    </filterchain>
    </loadproperties>
    <loadproperties srcfile="nbproject/project.properties">
    <filterchain>
    <containsregex replace="\1" pattern="^configs\.${config.active}\.(.*)"/>
    <concatfilter prepend="nbproject/project.properties"/>
    </filterchain>
    </loadproperties>
    </target>
    <target unless="platform.active" depends="load-properties" name="exists.platform.active">
    <echo message="Active platform (platform.active property) in not set. If you set this and user.properties.file property, many properties required by the project will be automatically evaluated (e.g.: platform home, platform classpath, ...)." level="warning"/>
    </target>
    <target depends="load-properties" unless="platform.configuration" name="exists.platform.configuration">
    <echo message="Platform configuration (platform.configuration) is not set. Using default (CLDC-1.0) configuration." level="warning"/>
    <property value="CLDC-1.0" name="platform.configuration"/>
    </target>
    <target depends="load-properties" unless="platform.profile" name="exists.platform.profile">
    <echo message="Platform profile (platform.profile) is not set. Using default (MIDP-1.0) profile." level="warning"/>
    <property value="MIDP-1.0" name="platform.profile"/>
    </target>
    <target depends="pre-init,load-properties,exists.platform.active,exists.platform.configuration,exists.platform.profile" name="init">
    <fail unless="libs.j2me_ant_ext.classpath">Classpath to J2ME Ant extension library (libs.j2me_ant_ext.classpath property) is not set. For example: location of mobility/modules/org-netbeans-modules-kjava-antext.jar file in the IDE installation directory.</fail>
    <fail unless="platform.home">Platform home (platform.home property) is not set. Value of this property should be ${platform.active.description} emulator home directory location.</fail>
    <fail unless="platform.bootclasspath">Platform boot classpath (platform.bootclasspath property) is not set. Value of this property should be ${platform.active.description} emulator boot classpath containing all J2ME classes provided by emulator.</fail>
    <fail unless="src.dir">Must set src.dir</fail>
    <fail unless="build.dir">Must set build.dir</fail>
    <fail unless="build.classes.dir">Must set build.classes.dir</fail>
    <fail unless="preprocessed.dir">Must set preprocessed.dir</fail>
    <fail unless="preverify.classes.dir">Must set preverify.classes.dir</fail>
    <fail unless="obfuscated.classes.dir">Must set obfuscated.classes.dir</fail>
    <fail unless="dist.dir">Must set dist.dir</fail>
    <fail unless="dist.jar">Must set dist.jar</fail>
    <fail unless="dist.jad">Must set dist.jad</fail>
    <fail unless="obfuscator.srcjar">Must set obfuscator.srcjar</fail>
    <fail unless="obfuscator.destjar">Must set obfuscator.destjar</fail>
    <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
    <property value="" name="abilities"/>
    <property value="" name="obfuscator.classpath"/>
    <property value="" name="kjava.configuration"/>
    <property value="UEI-1.0" name="platform.type"/>
    <property value="" name="platform.device"/>
    <property value="0" name="obfuscation.level"/>
    <property value="false" name="sign.enabled"/>
    <property value="file://" name="dist.jad.url"/>
    <property value="1.3" name="javac.source"/>
    <property value="1.1" name="javac.target"/>
    <property value="${file.encoding}" name="javac.encoding"/>
    <condition property="no.deps">
    <istrue value="${no.dependencies}"/>
    </condition>
    <condition property="no.javadoc.preview">
    <isfalse value="${javadoc.preview}"/>
    </condition>
    <condition value="${filter.excludes},**/*Test.java,**/test,**/test/**" property="filter.excludes.evaluated">
    <istrue value="${filter.exclude.tests}"/>
    </condition>
    <property value="${filter.excludes}" name="filter.excludes.evaluated"/>
    <condition value="" property="evaluated.run.security.domain">
    <isfalse value="${run.use.security.domain}"/>
    </condition>
    <condition value="" property="deployment.do.override.jarurl">
    <istrue value="${deployment.override.jarurl}"/>
    </condition>
    <property value="${run.security.domain}" name="evaluated.run.security.domain"/>
    <taskdef resource="org/netbeans/modules/kjava/antext/defs.properties">
    <classpath>
    <pathelement path="${libs.j2me_ant_ext.classpath}"/>
    </classpath>
    </taskdef>
    <uptodate targetfile="${preprocessed.dir}/.timestamp" property="no.clean.before.build">
    <srcfiles dir="nbproject">
    <include name="project.properties"/>
    <include name="build-impl.xml"/>
    </srcfiles>
    </uptodate>
    <condition property="skip.deployment">
    <equals trim="true" casesensitive="false" arg2="NONE" arg1="${deployment.method}"/>
    </condition>
    <condition property="skip-sign-keystore-password-input">
    <or>
    <isfalse value="${sign.enabled}"/>
    <and>
    <isset property="sign.keystore"/>
    <isset property="sign.keystore.password"/>
    <not>
    <equals trim="true" arg2="" arg1="${sign.keystore}"/>
    </not>
    <not>
    <equals trim="true" arg2="" arg1="${sign.keystore.password}"/>
    </not>
    </and>
    </or>
    </condition>
    <condition property="skip-sign-alias-password-input">
    <or>
    <isfalse value="${sign.enabled}"/>
    <and>
    <isset property="sign.keystore"/>
    <isset property="sign.alias"/>
    <isset property="sign.alias.password"/>
    <not>
    <equals trim="true" arg2="" arg1="${sign.keystore}"/>
    </not>
    <not>
    <equals trim="true" arg2="" arg1="${sign.alias}"/>
    </not>
    <not>
    <equals trim="true" arg2="" arg1="${sign.alias.password}"/>
    </not>
    </and>
    </or>
    </condition>
    <antcall inheritrefs="true" inheritall="true" target="post-init"/>
    </target>
    <target name="post-init"/>
    <target name="deps-jar" depends="init" unless="no.deps"/>
    <target description="Clean project in case its meta information has changed." unless="no.clean.before.build" depends="init" name="conditional-clean">
    <antcall target="do-clean" inheritall="true" inheritrefs="true"/>
    </target>
    <target name="pre-preprocess"/>
    <target description="Preprocess project sources." depends="init,pre-preprocess,deps-jar,conditional-clean" name="preprocess">
    <mkdir dir="${preprocessed.dir}"/>
    <echo file="${preprocessed.dir}/.timestamp" message="ignore me"/>
    <nb-prep encoding="${javac.encoding}" preprocessfor="${config.active},${abilities}" destdir="${preprocessed.dir}">
    <fileset excludes="${filter.excludes.evaluated}" defaultexcludes="${filter.use.standard}" dir="${src.dir}"/>
    </nb-prep>
    <antcall inheritrefs="true" inheritall="true" target="post-preprocess"/>
    </target>
    <target name="post-preprocess"/>
    <target description="Extracts all bundled libraries." depends="init,deps-jar,conditional-clean" name="extract-libs">
    <mkdir dir="${build.classes.dir}"/>
    <nb-extract excludeManifest="true" dir="${build.classes.dir}">
    <classpath>
    <path path="${libs.classpath}"/>
    </classpath>
    </nb-extract>
    </target>
    <target name="pre-compile"/>
    <target description="Compile project classes." depends="init,preprocess,extract-libs,pre-compile" name="compile">
    <mkdir dir="${build.classes.dir}"/>
    <javac encoding="${javac.encoding}" bootclasspath="${platform.bootclasspath}" srcdir="${preprocessed.dir}" destdir="${build.classes.dir}" debug="${javac.debug}" optimize="${javac.optimize}" deprecation="${javac.deprecation}" target="${javac.target}" source="${javac.source}" includeantruntime="false">
    <classpath>
    <path path="${libs.classpath}"/>
    </classpath>
    </javac>
    <copy todir="${build.classes.dir}">
    <fileset excludes="${filter.excludes.evaluated},${build.classes.excludes}" defaultexcludes="${filter.use.standard}" dir="${src.dir}"/>
    </copy>
    <antcall inheritrefs="true" inheritall="true" target="post-compile"/>
    </target>
    <target name="post-compile"/>
    <target name="pre-compile-single"/>
    <target description="Compile selected project classes." depends="init,preprocess,extract-libs,pre-compile-single" name="compile-single">
    <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
    <mkdir dir="${build.classes.dir}"/>
    <javac encoding="${javac.encoding}" includes="${javac.includes}" bootclasspath="${platform.bootclasspath}" destdir="${build.classes.dir}" srcdir="${preprocessed.dir}" debug="${javac.debug}" optimize="${javac.optimize}" deprecation="${javac.deprecation}" target="${javac.target}" source="${javac.source}" includeantruntime="false">
    <classpath>
    <path path="${libs.classpath}"/>
    </classpath>
    </javac>
    <antcall inheritrefs="true" inheritall="true" target="post-compile-single"/>
    </target>
    <target name="post-compile-single"/>
    <target depends="init" name="create-jad">
    <mkdir dir="${build.dir}"/>
    <dirname property="dist.jad.dir" file="${dist.dir}/${dist.jad}"/>
    <mkdir dir="${dist.jad.dir}"/>
    <condition value="${manifest.apipermissions}" property="evaluated.manifest.apipermissions">
    <not>
    <equals arg2="MIDP-1.0" arg1="${platform.profile}"/>
    </not>
    </condition>
    <condition value="${manifest.pushregistry}" property="evaluated.manifest.pushregistry">
    <not>
    <equals arg2="MIDP-1.0" arg1="${platform.profile}"/>
    </not>
    </condition>
    <condition property="contains.manifest.configuration">
    <contains string="${manifest.others}" substring="MicroEdition-Configuration: "/>
    </condition>
    <condition property="contains.manifest.profile">
    <contains string="${manifest.others}" substring="MicroEdition-Profile: "/>
    </condition>
    <property name="evaluated.manifest.apipermissions" value=""/>
    <property name="evaluated.manifest.pushregistry" value=""/>
    <property value="" name="manifest.jad"/>
    <property value="" name="manifest.manifest"/>
    <echo file="${dist.dir}/${dist.jad}">${manifest.midlets}${evaluated.manifest.apipermissions}${evaluated.manifest.pushregistry}${manifest.others}${manifest.jad}</echo>
    <echo file="${build.dir}/manifest.mf">${manifest.midlets}${evaluated.manifest.apipermissions}${evaluated.manifest.pushregistry}${manifest.others}${manifest.manifest}</echo>
    <antcall inheritrefs="true" inheritall="true" target="add-configuration"/>
    <antcall inheritrefs="true" inheritall="true" target="add-profile"/>
    </target>
    <target unless="contains.manifest.configuration" name="add-configuration">
    <echo append="true" file="${dist.dir}/${dist.jad}">MicroEdition-Configuration: ${platform.configuration}
    </echo>
    <echo append="true" file="${build.dir}/manifest.mf">MicroEdition-Configuration: ${platform.configuration}
    </echo>
    </target>
    <target unless="contains.manifest.profile" name="add-profile">
    <echo append="true" file="${dist.dir}/${dist.jad}">MicroEdition-Profile: ${platform.profile}
    </echo>
    <echo append="true" file="${build.dir}/manifest.mf">MicroEdition-Profile: ${platform.profile}
    </echo>
    </target>
    <target name="pre-obfuscate"/>
    <target description="Up-to-date check before obfuscation." depends="init,compile" name="obfuscate-check">
    <uptodate targetfile="${obfuscator.destjar}" property="no.obfusc">
    <srcfiles dir="${build.classes.dir}"/>
    </uptodate>
    </target>
    <target unless="no.obfusc" description="Obfuscate project classes." depends="init,compile,obfuscate-check,pre-obfuscate" name="obfuscate">
    <dirname property="obfuscator.srcjar.dir" file="${obfuscator.srcjar}"/>
    <dirname property="obfuscator.destjar.dir" file="${obfuscator.destjar}"/>
    <mkdir dir="${obfuscator.srcjar.dir}"/>
    <mkdir dir="${obfuscator.destjar.dir}"/>
    <jar basedir="${build.classes.dir}" jarfile="${obfuscator.srcjar}"/>
    <property value="" name="obfuscation.custom"/>
    <nb-obfuscate extraScript="${obfuscation.custom}" obfuscationLevel="${obfuscation.level}" classpath="${platform.bootclasspath}" obfuscatorclasspath="${obfuscator.classpath}" destjar="${obfuscator.destjar}" srcjar="${obfuscator.srcjar}"/>
    <mkdir dir="${obfuscated.classes.dir}"/>
    <unjar dest="${obfuscated.classes.dir}" src="${obfuscator.destjar}"/>
    <antcall inheritrefs="true" inheritall="true" target="post-obfuscate"/>
    </target>
    <target name="post-obfuscate"/>
    <target name="pre-preverify"/>
    <target description="Preverify project classes." depends="init,compile,obfuscate,pre-preverify" name="preverify">
    <mkdir dir="${preverify.classes.dir}"/>
    <nb-preverify commandline="${platform.preverifycommandline}" platformtype="${platform.type}" platformhome="${platform.home}" configuration="${platform.configuration}" classpath="${platform.bootclasspath}" destdir="${preverify.classes.dir}" srcdir="${obfuscated.classes.dir}"/>
    <antcall inheritrefs="true" inheritall="true" target="post-preverify"/>
    </target>
    <target name="post-preverify"/>
    <target unless="skip-sign-keystore-password-input" if="netbeans.home" depends="init" name="set-keystore-password">
    <nb-enter-password passwordproperty="sign.keystore.password" keystore="${sign.keystore}"/>
    </target>
    <target unless="skip-sign-alias-password-input" if="netbeans.home" depends="init" name="set-alias-password">
    <nb-enter-password passwordproperty="sign.alias.password" keyalias="${sign.alias}" keystore="${sign.keystore}"/>
    </target>
    <target name="pre-jar"/>
    <target description="Build jar and application descriptor." depends="init,preverify,create-jad,set-keystore-password,set-alias-password,pre-jar" name="jar">
    <dirname property="dist.jar.dir" file="${dist.dir}/${dist.jar}"/>
    <mkdir dir="${dist.jar.dir}"/>
    <jar manifest="${build.dir}/manifest.mf" jarfile="${dist.dir}/${dist.jar}" compress="${jar.compress}">
    <fileset dir="${preverify.classes.dir}"/>
    <fileset dir="${obfuscated.classes.dir}">
    <exclude name="**/*.class"/>
    </fileset>
    </jar>
    <nb-jad aliaspassword="${sign.alias.password}" alias="${sign.alias}" keystorepassword="${sign.keystore.password}" keystore="${sign.keystore}" sign="${sign.enabled}" url="${dist.jar}" jarfile="${dist.dir}/${dist.jar}" jadfile="${dist.dir}/${dist.jad}"/>
    <antcall inheritrefs="true" inheritall="true" target="post-jar"/>
    </target>
    <target name="post-jar"/>
    <target description="Rebuild the application." depends="init,clean,jar" name="rebuild"/>
    <target description="Run MIDlet suite." depends="init,jar" name="run">
    <nb-run commandline="${platform.runcommandline}" securitydomain="${evaluated.run.security.domain}" execmethod="${run.method}" platformtype="${platform.type}" platformhome="${platform.home}" device="${platform.device}" jadurl="${dist.jad.url}" jadfile="${dist.dir}/${dist.jad}"/>
    </target>
    <target description="Quick Run already built MIDlet suite." depends="init" name="run-no-build">
    <nb-run commandline="${platform.runcommandline}" securitydomain="${evaluated.run.security.domain}" execmethod="${run.method}" platformtype="${platform.type}" platformhome="${platform.home}" device="${platform.device}" jadurl="${dist.jad.url}" jadfile="${dist.dir}/${dist.jad}"/>
    </target>
    <target depends="init,clean,jar" description="Debug project." name="debug">
    <delete file="${preprocessed.dir}/.timestamp"/>
    <parallel>
    <nb-run commandline="${platform.debugcommandline}" securitydomain="${evaluated.run.security.domain}" execmethod="${run.method}" jadfile="${dist.dir}/${dist.jad}" device="${platform.device}" platformhome="${platform.home}" platformtype="${platform.type}" debuggeraddressproperty="jpda.port" debugserver="true" debugsuspend="true" debug="true"/>
    <sequential>
    <sleep seconds="5"/>
    <antcall target="nbdebug"/>
    </sequential>
    </parallel>
    </target>
    <target if="netbeans.home" description="Start NetBeans debugger" name="nbdebug">
    <nb-kjava-debug period="2000" timeout="30000" name="${app.codename}" address="${jpda.port}">
    <bootclasspath>
    <path path="${platform.bootclasspath}"/>
    </bootclasspath>
    <classpath>
    <path path="${dist.dir}/${dist.jar}"/>
    </classpath>
    <sourcepath>
    <path path="${src.dir}"/>
    <path path="${libs.src.path}"/>
    </sourcepath>
    </nb-kjava-debug>
    </target>
    <target depends="init,preprocess" name="javadoc">
    <mkdir dir="${dist.javadoc.dir}"/>
    <javadoc private="${javadoc.private}" windowtitle="${javadoc.windowtitle}" version="${javadoc.version}" author="${javadoc.author}" splitindex="${javadoc.splitindex}" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" use="${javadoc.use}" notree="${javadoc.notree}" bootclasspath="${platform.bootclasspath}" destdir="${dist.javadoc.dir}" source="${javac.source}">
    <classpath>
    <path path="${libs.classpath}"/>
    </classpath>
    <sourcepath>
    <pathelement location="${preprocessed.dir}"/>
    </sourcepath>
    <fileset dir="${preprocessed.dir}"/>
    </javadoc>
    <antcall target="browse-javadoc"/>
    </target>
    <target unless="no.javadoc.preview" if="netbeans.home" name="browse-javadoc">
    <nbbrowse file="${dist.javadoc.dir}/index.html"/>
    </target>
    <target name="pre-clean"/>
    <target description="Clean build products." if="no.clean.before.build" depends="init,conditional-clean" name="clean">
    <antcall inheritrefs="true" inheritall="true" target="do-clean"/>
    </target>
    <target depends="pre-clean" name="do-clean">
    <delete dir="${preprocessed.dir}"/>
    <delete dir="${build.classes.dir}"/>
    <delete file="${obfuscator.srcjar}"/>
    <delete file="${obfuscator.destjar}"/>
    <delete dir="${obfuscated.classes.dir}"/>
    <delete dir="${preverify.classes.dir}"/>
    <delete file="${build.dir}/manifest.mf"/>
    <delete file="${dist.dir}/${dist.jar}"/>
    <delete file="${dist.dir}/${dist.jad}"/>
    <delete dir="${dist.javadoc.dir}"/>
    <antcall inheritrefs="true" inheritall="true" target="post-clean"/>
    </target>
    <target name="post-clean"/>
    <target name="pre-deploy"/>
    <target if="deployment.do.override.jarurl" depends="init,jar,pre-deploy" name="override-jad">
    <property value="${dist.jar}" name="deployment.jarurl"/>
    <nb-jad aliaspassword="${sign.alias.password}" alias="${sign.alias}" keystorepassword="${sign.keystore.password}" keystore="${sign.keystore}" sign="${sign.enabled}" url="${deployment.jarurl}" jarfile="${dist.dir}/${dist.jar}" jadfile="${dist.dir}/${dist.jad}"/>
    </target>
    <target unless="skip.deployment" if="deployment.method" depends="init,jar,override-jad,pre-deploy" name="deploy">
    <fail unless="deployment.scriptfile">Property deployment.${deployment.method}.scriptfile not set. The property should point to an Ant script providing ${deployment.method} deployment.</fail>
    <ant inheritrefs="true" inheritall="true" antfile="${deployment.scriptfile}">
    <property location="${dist.dir}/${dist.jad}" name="deployment.jad"/>
    <property location="${dist.dir}/${dist.jar}" name="deployment.jar"/>
    </ant>
    <propertyfile file="nbproject/private/private.properties">
    <entry pattern="000000" default="2" operation="+" type="int" key="deployment.counter"/>
    <entry value="${deployment.counter}" key="deployment.number"/>
    </propertyfile>
    <replaceregexp replace="deployment.number=\2\3.\5\6.\8\9" match="^deployment.number=[0-9]*(0|([1-9]))([0-9])(0|([1-9]))([0-9])(0|([1-9]))([0-9])$" file="nbproject/private/private.properties" byline="true"/>
    <antcall inheritrefs="true" inheritall="true" target="post-deploy"/>
    </target>
    <target name="post-deploy"/>
    <target name="for-all-configs">
    <antcall inheritrefs="false" inheritall="false" target="${target.to.call}">
    <param value="" name="config.active"/>
    </antcall>
    </target>
    <target name="jar-all">
    <antcall target="for-all-configs">
    <param value="jar" name="target.to.call"/>
    </antcall>
    </target>
    <target name="javadoc-all">
    <antcall target="for-all-configs">
    <param value="javadoc" name="target.to.call"/>
    </antcall>
    </target>
    <target name="deploy-all">
    <antcall target="for-all-configs">
    <param value="deploy" name="target.to.call"/>
    </antcall>
    </target>
    <target name="rebuild-all">
    <antcall target="for-all-configs">
    <param value="rebuild" name="target.to.call"/>
    </antcall>
    </target>
    <target depends="load-properties" name="clean-all">
    <fail unless="build.root.dir">Property build.root.dir is not set. By default its value should be \"build\".</fail>
    <fail unless="dist.root.dir">Property dist.root.dir is not set. By default its value should be \"dist\".</fail>
    <delete dir="${build.root.dir}"/>
    <delete dir="${dist.root.dir}"/>
    <antcall target="for-all-configs">
    <param value="clean" name="target.to.call"/>
    </antcall>
    </target>
    </project>
    I have pasted the content of that file, please do the needs....

  • New comer ask 2 simple questions:how to set the use of the right click of

    New comer ask 2 simple questions:how to set the use of the right click of your mouse?
    I don't know why when i click the right button of my mouse in logic, sometimes it's the same funcion as my left one, some times it's the same function that opens the tool menu....But in MacOSX,it's all okay.Just the weired thing in logic ,please help
    2.is there any kind of filter in Score? I mean, in midi track I have a C1 note, and I don't want the C1 note shown in my score, I want every note show which are above C2, like a filter. I think this is helpful dealling with some keyswich things,how can we do that?

    In Preferences -> Global -> Editing you can choose weather right click is assignable or opens the tools box.
    Not to sure about the score dude

Maybe you are looking for