Forum Stats

  • 3,771,078 Users
  • 2,253,218 Discussions
  • 7,875,738 Comments

Discussions

hi how to increase hint font in 12c

Tony007
Tony007 Member Posts: 4,171 Bronze Trophy
edited Oct 20, 2021 3:17PM in Forms

hi am in 12c in solaris i what to increase hint font how can i do that

my jnlp


<?xml version="1.0" encoding="utf-8"?>

 <jnlp spec="1.0+"

        codebase="/forms/java" href="extensions.jnlp">

 <information>

    <title>Oracle Forms Services Extensions</title>

    <vendor>Oracle Corporation</vendor>

 </information>

    <security>

        <all-permissions/>

    </security>

<resources>

<!-- <jar href="ADD YOUR JARS HERE - ONLY ONE PER ENTRY"/> -->

<!-- <jar href="jacob.jar"/> -->

</resources>

 <component-desc/>

</jnlp>


clientDPI=96

«1

Answers

  • Michael Ferrante-Oracle
    Michael Ferrante-Oracle Senior Principal Product Manager USMember Posts: 6,911 Employee

    If you are using 12.2.1.4, you can do the following although understand it will change the default font for the entire application.

    Add the Web Configuration parameter consoleUseRegistryFont

    Set its value to TRUE. This will cause applications to use the font settings in Registry.dat for the text in the message bar.

    More information about this and other parameters can be found in the documentation.

    https://docs.oracle.com/en/middleware/developer-tools/forms/12.2.1.4/working-forms/web-configuration-parameters.html


    Michael Ferrante

    Senior Principal Product Manager

    Oracle

    Twitter: @OracleFormsPM

  • Tony007
    Tony007 Member Posts: 4,171 Bronze Trophy

    how do i change the font in Registry.dat in EM or console

  • Michael Ferrante-Oracle
    Michael Ferrante-Oracle Senior Principal Product Manager USMember Posts: 6,911 Employee
  • Tony007
    Tony007 Member Posts: 4,171 Bronze Trophy

    its only changing label inmenu and text item

  • Michael Ferrante-Oracle
    Michael Ferrante-Oracle Senior Principal Product Manager USMember Posts: 6,911 Employee

    You have to set consoleUseRegistryFont=true

    in the WebConfiguration. You will likely need to add a declaration of this new parameter in the baseXXX.htm template you are using.

       <param name="consoleUseRegistryFont" value="%consoleUseRegistryFont"%">

    For base.jnlp the syntax is slightly different (and is case sensitive):

      <param name="consoleUseRegistryFont" value="%consoleUseRegistryFont"%" />


    Michael Ferrante

    Senior Principal Product Manager

    Oracle

    Twitter: @OracleFormsPM

  • Tony007
    Tony007 Member Posts: 4,171 Bronze Trophy

    where is baseXXX.htm template

  • Michael Ferrante-Oracle
    Michael Ferrante-Oracle Senior Principal Product Manager USMember Posts: 6,911 Employee


    Michael Ferrante

    Senior Principal Product Manager

    Oracle

    Twitter: @OracleFormsPM

  • Tony007
    Tony007 Member Posts: 4,171 Bronze Trophy

    i did change file in this path


    ./Middleware/Oracle_Home/user_projects/domains/base_domain/config/fmwconfig/components/FORMS/forms1/server/base.jnlp

    ./Middleware/Oracle_Home/user_projects/domains/base_domain/config/fmwconfig/components/FORMS/instances/forms1/server/base.jnlp

    in my webforms.cfg i have

    consoleUseRegistryFont=true


    in my base.jnlp i have

    <?xml version="1.0" encoding="UTF-8"?>

    <jnlp spec="1.0"

          xmlns:jfx="http://javafx.com"

       %jnlp_param%="%jnlp_param_value%">

      <information>

        <title>Oracle Forms Services</title>

        <vendor>Oracle Corporation</vendor>

            <homepage href="http://www.oracle.com"/>

        <description>Oracle Forms Services applet launcher.</description>

        <description kind="short">Oracle Forms Applet</description>

      </information>

      <security>

        <all-permissions/>

      </security>

      <update check="always" policy="prompt-run"/>

      <resources>

        <!-- Application Resources -->

            <j2se version="%java_version%" href="http://java.sun.com/products/autodl/j2se"/>

        <jfx:javafx-runtime version="2.2+"/>

        <jar href="%contextRoot%/java/frmall.jar" download="eager" main="true" />

        <extension name="Extensions" href="%contextRoot%/java/extensions.jnlp"/>

      </resources>

      <applet-desc 

      name="Oracle Forms"

      main-class="oracle.forms.engine.Main"

      height="1"

      width="1">

      <param name="serverURL" value="%appletServerURL%"/>

      <param name="height" value="%height%"/>

      <param name="width" value="%width%"/>

      <param name="networkRetries" value="%networkRetries%"/>

      <param name="separateFrame" value="%separateFrame%"/>

      <param name="splashScreen" value="%splashScreen%"/>

      <param name="background" value="%background%"/>

      <param name="lookAndFeel" value="%lookAndFeel%"/>

      <param name="colorScheme" value="%colorScheme%"/>

      <param name="customColorScheme" value="%customColorScheme%"/>

      <param name="serverApp" value="%serverApp%"/>

      <param name="logo" value="%logo%"/>

      <param name="imageBase" value="%imageBase%"/>

      <param name="formsMessageListener" value="%formsMessageListener%"/>

      <param name="recordFileName" value="%recordFileName%"/>

      <param name="EndUserMonitoringEnabled" value="%EndUserMonitoringEnabled%"/>

      <param name="EndUserMonitoringURL" value="%EndUserMonitoringURL%"/>

      <param name="heartBeat" value="%heartBeat%"/>

      <param name="MaxEventWait" value="%MaxEventWait%"/>

      <param name="allowAlertClipboard" value="%allowAlertClipboard%"/>

      <param name="disableValidateClipboard" value="%disableValidateClipboard%"/>

      <param name="enableJavascriptEvent" value="%enableJavascriptEvent%"/>

      <param name="digitSubstitution" value="%digitSubstitution%"/>

      <param name="legacy_lifecycle" value="%legacy_lifecycle%"/>

      <param name="JavaScriptBlocksHeartBeat" value="%JavaScriptBlocksHeartBeat%"/>

      <param name="highContrast" value="%highContrast%"/>

      <param name="disableMDIScrollbars" value="%disableMDIScrollbars%"/>

      <param name="clientDPI" value="96"/>

      <param name="applet_stop_timeout" value="800"/>

      <param name="guiMode" value="%guiMode%"/>

      <param name="idleTimeout" value="%idleTimeout%"/>

      <param name="ssoLogoutRedirect" value="%ssoLogoutRedirect%"/>

      <param name="ssoMode" value="%ssoMode%"/>

      <param name="ssoLogout" value="%ssoLogout%"/>

      <param name="logoutTargetURLParamname" value="%logoutTargetURLParamname%"/>

      <param name="mediaBase" value="%mediaBase%"/>

      <param name="webstartRequest" value="%webstartRequest%"/>

      <param name="webFormsTitle" value="%webFormsTitle%"/>

      <param name="centerOnStartup" value="%centerOnStartup%"/>

      <param name="isResizable" value="%isResizable%"/>

      <param name="alwaysOnTop" value="%alwaysOnTop%"/>

    <param name="consoleUseRegistryFont" value="1200"/>

      </applet-desc>

    </jnlp>

    in my base.htm i have

    <HTML>

    <!-- FILE: base.htm (Oracle Forms)                 -->

    <!--                                -->  

    <!-- This is the default base HTML file for running a form on the  -->

    <!-- web using a generic APPLET tag to include Forms applet.    -->

    <!--                                -->  

    <!-- IMPORTANT NOTES:                        -->

    <!-- Default values for all the variables which appear below    -->

    <!-- (enclosed in percent characters) are defined in the servlet  -->

    <!-- configuration file (formsweb.cfg). It is preferable to make  -->

    <!-- changes in that file where possible, rather than this one.   -->

    <!--                                -->  

    <!-- This file will be REPLACED if you reinstall Oracle Forms, so  -->

    <!-- you are advised to make your own version if you want to make  -->

    <!-- want to make any modifications. You should then set the    -->

    <!-- baseHTML parameter in the Forms Servlet configuration file   -->

    <!-- (formsweb.cfg) to point to your new file instead of this one. -->


    <HEAD><TITLE>%pageTitle%</TITLE></HEAD>


    <BODY %HTMLbodyAttrs%>

    %HTMLbeforeForm%


    <!-- COMMENT below is required for legacy-lifecycle support.    -->

    <COMMENT id="forms_plugin_info" 

         serverURL="%serverURL%">

    </COMMENT>


    <!-- Forms applet definition (start) -->

    <APPLET CODEBASE="%codebase%"

        CODE="oracle.forms.engine.Main"

        ARCHIVE="%archive%"

        WIDTH="%Width%"

        HEIGHT="%Height%"

        NAME="%applet_name%">


    <PARAM NAME="java_version" VALUE="%java_version%">

    <PARAM NAME="serverURL" VALUE="%appletServerURL%">

    <PARAM NAME="networkRetries" VALUE="%networkRetries%">

    <PARAM NAME="separateFrame" VALUE="%separateFrame%">

    <PARAM NAME="splashScreen" VALUE="%splashScreen%">

    <PARAM NAME="background" VALUE="%background%">

    <PARAM NAME="lookAndFeel" VALUE="%lookAndFeel%">

    <PARAM NAME="colorScheme" VALUE="%colorScheme%">

    <PARAM NAME="customColorScheme" VALUE="%customColorScheme%">

    <PARAM NAME="serverApp" VALUE="%serverApp%">

    <PARAM NAME="logo" VALUE="%logo%">

    <PARAM NAME="imageBase" VALUE="%imageBase%">

    <PARAM NAME="formsMessageListener" VALUE="%formsMessageListener%">

    <PARAM NAME="recordFileName" VALUE="%recordFileName%">

    <PARAM NAME="EndUserMonitoringEnabled" VALUE="%EndUserMonitoringEnabled%">

    <PARAM NAME="EndUserMonitoringURL" VALUE="%EndUserMonitoringURL%">

    <PARAM NAME="heartbeat" VALUE="%heartbeat%">

    <PARAM NAME="MaxEventWait" VALUE="%MaxEventWait%">

    <PARAM NAME="allowAlertClipboard" VALUE="%allowAlertClipboard%">

    <PARAM NAME="disableValidateClipboard" VALUE="%disableValidateClipboard%">

    <PARAM NAME="enableJavascriptEvent" VALUE="%enableJavascriptEvent%">

    <PARAM NAME="digitSubstitution" VALUE="%digitSubstitution%">

    <PARAM NAME="legacy_lifecycle" VALUE="%legacy_lifecycle%">

    <PARAM NAME="JavaScriptBlocksHeartBeat" VALUE="%JavaScriptBlocksHeartBeat%">

    <PARAM NAME="highContrast" VALUE="%highContrast%">

    <PARAM NAME="disableMDIScrollbars" VALUE="%disableMDIScrollbars%">

    <PARAM NAME="clientDPI" VALUE="%clientDPI%">

    <PARAM name="applet_stop_timeout" value="800">

    <PARAM name="guiMode" value="%guiMode%">

    <PARAM name="idleTimeout" value="%idleTimeout%">

    <PARAM name="ssoLogoutRedirect" value="%ssoLogoutRedirect%">

    <PARAM name="ssoMode" value="%ssoMode%">

    <PARAM name="ssoLogout" value="%ssoLogout%">

    <PARAM name="logoutTargetURLParamname" value="%logoutTargetURLParamname%">

    <PARAM name="mediaBase" value="%mediaBase%">

    <PARAM name="separate_jvm" VALUE="%separate_jvm%">

    <PARAM name="consoleUseRegistryFont" value="1200">


    </APPLET>

    <!-- Forms applet definition (end) -->


    %HTMLafterForm%


    </BODY>

    </HTML>





    the issue still there font not increase in hint

  • Michael Ferrante-Oracle
    Michael Ferrante-Oracle Senior Principal Product Manager USMember Posts: 6,911 Employee

    The setting is TRUE or FALSE and not a number.

    <param name="consoleUseRegistryFont" value="TRUE"/>


    Michael Ferrante

    Senior Principal Product Manager

    Oracle

    Twitter: @OracleFormsPM

  • Tony007
    Tony007 Member Posts: 4,171 Bronze Trophy

    i did

    <?xml version="1.0" encoding="UTF-8"?>

    <jnlp spec="1.0"

          xmlns:jfx="http://javafx.com"

       %jnlp_param%="%jnlp_param_value%">

      <information>

        <title>Oracle Forms Services</title>

        <vendor>Oracle Corporation</vendor>

            <homepage href="http://www.oracle.com"/>

        <description>Oracle Forms Services applet launcher.</description>

        <description kind="short">Oracle Forms Applet</description>

      </information>

      <security>

        <all-permissions/>

      </security>

      <update check="always" policy="prompt-run"/>

      <resources>

        <!-- Application Resources -->

            <j2se version="%java_version%" href="http://java.sun.com/products/autodl/j2se"/>

        <jfx:javafx-runtime version="2.2+"/>

        <jar href="%contextRoot%/java/frmall.jar" download="eager" main="true" />

        <extension name="Extensions" href="%contextRoot%/java/extensions.jnlp"/>

      </resources>

      <applet-desc 

      name="Oracle Forms"

      main-class="oracle.forms.engine.Main"

      height="1"

      width="1">

      <param name="serverURL" value="%appletServerURL%"/>

      <param name="height" value="%height%"/>

      <param name="width" value="%width%"/>

      <param name="networkRetries" value="%networkRetries%"/>

      <param name="separateFrame" value="%separateFrame%"/>

      <param name="splashScreen" value="%splashScreen%"/>

      <param name="background" value="%background%"/>

      <param name="lookAndFeel" value="%lookAndFeel%"/>

      <param name="colorScheme" value="%colorScheme%"/>

      <param name="customColorScheme" value="%customColorScheme%"/>

      <param name="serverApp" value="%serverApp%"/>

      <param name="logo" value="%logo%"/>

      <param name="imageBase" value="%imageBase%"/>

      <param name="formsMessageListener" value="%formsMessageListener%"/>

      <param name="recordFileName" value="%recordFileName%"/>

      <param name="EndUserMonitoringEnabled" value="%EndUserMonitoringEnabled%"/>

      <param name="EndUserMonitoringURL" value="%EndUserMonitoringURL%"/>

      <param name="heartBeat" value="%heartBeat%"/>

      <param name="MaxEventWait" value="%MaxEventWait%"/>

      <param name="allowAlertClipboard" value="%allowAlertClipboard%"/>

      <param name="disableValidateClipboard" value="%disableValidateClipboard%"/>

      <param name="enableJavascriptEvent" value="%enableJavascriptEvent%"/>

      <param name="digitSubstitution" value="%digitSubstitution%"/>

      <param name="legacy_lifecycle" value="%legacy_lifecycle%"/>

      <param name="JavaScriptBlocksHeartBeat" value="%JavaScriptBlocksHeartBeat%"/>

      <param name="highContrast" value="%highContrast%"/>

      <param name="disableMDIScrollbars" value="%disableMDIScrollbars%"/>

      <param name="clientDPI" value="96"/>

      <param name="applet_stop_timeout" value="800"/>

      <param name="guiMode" value="%guiMode%"/>

      <param name="idleTimeout" value="%idleTimeout%"/>

      <param name="ssoLogoutRedirect" value="%ssoLogoutRedirect%"/>

      <param name="ssoMode" value="%ssoMode%"/>

      <param name="ssoLogout" value="%ssoLogout%"/>

      <param name="logoutTargetURLParamname" value="%logoutTargetURLParamname%"/>

      <param name="mediaBase" value="%mediaBase%"/>

      <param name="webstartRequest" value="%webstartRequest%"/>

      <param name="webFormsTitle" value="%webFormsTitle%"/>

      <param name="centerOnStartup" value="%centerOnStartup%"/>

      <param name="isResizable" value="%isResizable%"/>

      <param name="alwaysOnTop" value="%alwaysOnTop%"/>

    <param name="consoleUseRegistryFont" value="True"/>

      </applet-desc>

    </jnlp>

    ==============

    <HTML>

    <!-- FILE: base.htm (Oracle Forms)                 -->

    <!--                                -->  

    <!-- This is the default base HTML file for running a form on the  -->

    <!-- web using a generic APPLET tag to include Forms applet.    -->

    <!--                                -->  

    <!-- IMPORTANT NOTES:                        -->

    <!-- Default values for all the variables which appear below    -->

    <!-- (enclosed in percent characters) are defined in the servlet  -->

    <!-- configuration file (formsweb.cfg). It is preferable to make  -->

    <!-- changes in that file where possible, rather than this one.   -->

    <!--                                -->  

    <!-- This file will be REPLACED if you reinstall Oracle Forms, so  -->

    <!-- you are advised to make your own version if you want to make  -->

    <!-- want to make any modifications. You should then set the    -->

    <!-- baseHTML parameter in the Forms Servlet configuration file   -->

    <!-- (formsweb.cfg) to point to your new file instead of this one. -->


    <HEAD><TITLE>%pageTitle%</TITLE></HEAD>


    <BODY %HTMLbodyAttrs%>

    %HTMLbeforeForm%


    <!-- COMMENT below is required for legacy-lifecycle support.    -->

    <COMMENT id="forms_plugin_info" 

         serverURL="%serverURL%">

    </COMMENT>


    <!-- Forms applet definition (start) -->

    <APPLET CODEBASE="%codebase%"

        CODE="oracle.forms.engine.Main"

        ARCHIVE="%archive%"

        WIDTH="%Width%"

        HEIGHT="%Height%"

        NAME="%applet_name%">


    <PARAM NAME="java_version" VALUE="%java_version%">

    <PARAM NAME="serverURL" VALUE="%appletServerURL%">

    <PARAM NAME="networkRetries" VALUE="%networkRetries%">

    <PARAM NAME="separateFrame" VALUE="%separateFrame%">

    <PARAM NAME="splashScreen" VALUE="%splashScreen%">

    <PARAM NAME="background" VALUE="%background%">

    <PARAM NAME="lookAndFeel" VALUE="%lookAndFeel%">

    <PARAM NAME="colorScheme" VALUE="%colorScheme%">

    <PARAM NAME="customColorScheme" VALUE="%customColorScheme%">

    <PARAM NAME="serverApp" VALUE="%serverApp%">

    <PARAM NAME="logo" VALUE="%logo%">

    <PARAM NAME="imageBase" VALUE="%imageBase%">

    <PARAM NAME="formsMessageListener" VALUE="%formsMessageListener%">

    <PARAM NAME="recordFileName" VALUE="%recordFileName%">

    <PARAM NAME="EndUserMonitoringEnabled" VALUE="%EndUserMonitoringEnabled%">

    <PARAM NAME="EndUserMonitoringURL" VALUE="%EndUserMonitoringURL%">

    <PARAM NAME="heartbeat" VALUE="%heartbeat%">

    <PARAM NAME="MaxEventWait" VALUE="%MaxEventWait%">

    <PARAM NAME="allowAlertClipboard" VALUE="%allowAlertClipboard%">

    <PARAM NAME="disableValidateClipboard" VALUE="%disableValidateClipboard%">

    <PARAM NAME="enableJavascriptEvent" VALUE="%enableJavascriptEvent%">

    <PARAM NAME="digitSubstitution" VALUE="%digitSubstitution%">

    <PARAM NAME="legacy_lifecycle" VALUE="%legacy_lifecycle%">

    <PARAM NAME="JavaScriptBlocksHeartBeat" VALUE="%JavaScriptBlocksHeartBeat%">

    <PARAM NAME="highContrast" VALUE="%highContrast%">

    <PARAM NAME="disableMDIScrollbars" VALUE="%disableMDIScrollbars%">

    <PARAM NAME="clientDPI" VALUE="%clientDPI%">

    <PARAM name="applet_stop_timeout" value="800">

    <PARAM name="guiMode" value="%guiMode%">

    <PARAM name="idleTimeout" value="%idleTimeout%">

    <PARAM name="ssoLogoutRedirect" value="%ssoLogoutRedirect%">

    <PARAM name="ssoMode" value="%ssoMode%">

    <PARAM name="ssoLogout" value="%ssoLogout%">

    <PARAM name="logoutTargetURLParamname" value="%logoutTargetURLParamname%">

    <PARAM name="mediaBase" value="%mediaBase%">

    <PARAM name="separate_jvm" VALUE="%separate_jvm%">

    <PARAM name="consoleUseRegistryFont" value="True">


    </APPLET>

    <!-- Forms applet definition (end) -->


    %HTMLafterForm%


    </BODY>

    </HTML>