OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
Search
Recent Topics
Member Listing
Back to home page
Register
/
Login
Setting zoom-factor via parameters on startup
Forum Index
->
Deployment
Author
Message
18/02/2009 22:49:20
Subject:
Setting zoom-factor via parameters on startup
schmuck
Power User
Joined: 08/04/2008 16:27:16
Messages: 83
Offline
Hello Captain,
how to set the zoom to e.g. 80% directly via parameters on startup of the app?
Background: some of our employees still use 800x600 resolution and I want to fit the app allways via zoom at startup.
regards,
Michael Schmuck
17/03/2009 14:55:21
Subject:
Aw:Setting zoom-factor via parameters on startup
pbeha
Power User
Joined: 05/06/2008 09:08:53
Messages: 32
Location: Villingen - Schwenningen
Offline
Hi,
you can set the zoomfactor as an argument in your JNLP-definition:
<argument>sizefactor="SIZEFACTOR"</argument>
Example:
----------
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0" codebase="$$codebase" href="$$name">
<information>
<title>CaptainCasa Enterprise Client</title>
<vendor>CaptainCasa GmbH</vendor>
<icon href="images/kaba.gif" kind="splash"/>
</information>
<security>
<all-permissions />
</security>
<resources>
<j2se version="1.6+" java-vm-args="-esa -Xnoclassgc"/>
<jar href="eclnt/lib/eclnt.jar"/>
<!-- ONLY REQUIRED WHEN USING BROWSER OR ACTIVEX COMPONENT! -->
<!-- -->
<jar href="eclnt/lib/swt.jar"/>
<nativelib href="eclnt/lib/swt.jar"/>
<!-- -->
<!-- ONLY REQUIRED WHEN USING JRVIEWER COMPONENT! (JasperReports) -->
<!-- @@jasperbegin@@
<jar href="eclnt/lib/jasperreports-3.0.0.jar"/>
<jar href="eclnt/lib/commons-beanutils-1.7.jar"/>
<jar href="eclnt/lib/commons-collections-2.1.jar"/>
<jar href="eclnt/lib/commons-digester-1.7.jar"/>
<jar href="eclnt/lib/commons-javaflow-20060411.jar"/>
<jar href="eclnt/lib/commons-logging-1.0.2.jar"/>
<jar href="eclnt/lib/commons-logging-api-1.0.2.jar"/>
@@jasperend@@ -->
<!-- @@jasperpdfbegin@@
<jar href="eclnt/lib/itext-1.3.1.jar"/>
@@jasperpdfend@@ -->
<!-- @@jasperxlsbegin@@
<jar href="eclnt/lib/poi-3.0.1-FINAL-20070705.jar"/>
@@jasperxlsend@@ -->
<!-- ONLY REQUIRED WHEN USING PDFRENDERER COMPONENT! -->
<!-- -->
<jar href="eclnt/lib/PDFRenderer.jar"/>
<!-- -->
</resources>
<application-desc main-class="org.eclnt.client.page.PageWebStart">
<argument>$$codebase</argument>
<argument>faces/navigator.jsp</argument>
<argument>kiosk=true</argument>
<argument>startx=0</argument>
<argument>starty=0</argument>
<argument>startwidth=max</argument>
<argument>startheight=max</argument>
<argument>sizefactor=1.5</argument>
<argument>fontfactor=1</argument>
<argument>splashimage=org/eclnt/client/resources/nothing.jpg</argument>
</application-desc>
</jnlp>
Forum Index
->
Deployment
Go to:
Select a forum
CaptainCasa Enterprise Client
-------------
Development
Deployment
Product
Community
Development - Code Snippets
CaptainCasa Structured Data Manager - CC-SDM
-------------
All Issues
Powered by
JForum 2.1.6
©
JForum Team