| Setting of ICON in Oracle 10G Application Server [message #312467] |
Wed, 09 April 2008 00:14  |
sanju0003 Messages: 2 Registered: March 2008 Location: Chandigarh |
Junior Member |
|
|
Hi All...
What is the setting of icon's in 10G Release 2 on window plateform ?
Thanks & Regards
Sanjeev Kumar
|
|
|
| Re: Setting of ICON in Oracle 10G Application Server [message #316479 is a reply to message #312467 ] |
Fri, 25 April 2008 05:29   |
shahmayur Messages: 14 Registered: November 2007 |
Junior Member |
|
|
Displaying Icons on Push Buttons
Forms 10g no longer supports ICO files as icons for the buttons. You will need to convert your icon files into GIF or JPG format.
Design time Configuration
To display the icons in your Forms builder, modify your windows registry Hkey_Local_Machine\Software\Oracle\<Forms10g_Home>\UI_ICON by entering the path of your GIF/JPG files for e.g. C:\MY_APP\ICONS.
Runtime Configuration
1) Creating Jar file
i) Once you are ready with your GIF files or JPG files, create a folder called ICONS. You can create this folder anywhere. For e.g. you can create ICONS folder on a C drive under root directory or as a sub-folder under any folder.
ii) Assuming you have created ICONS folder as a root folder on C drive, now copy all your GIF files in this folder.
iii) Go to the DOS prompt and enter cd\
iv) At C:\ prompt enter the following command to create Java Archive File (JAR) called my_icons
Jar –cvf my_icons.jar icons
v) Copy this file in <Forms10g_Home>\Forms\Java folder.
Please remember that having the name of the folder holding GIF/JPG files as ICONS is very important. Because if the folder name is something else, icons will not be displayed in your form at run time. This reason is not mentioned anywhere in Oracle’s documentation. I learnt about this through metalink (Service Request no. 6602276.993) after struggling for more than one day to display the icons.
2) Modify REGISTRY.DAT file
i) Open this file located in <Forms10g_Home>\forms\java\oracle\forms\registry folder.
ii) Append the existing parameter default.icons.iconpath as follows:
default.icons.iconpath=icons/
iii) If you are going to use GIF files as image files for icons, then leave the existing parameter default.icons.iconextension=gif as it is. If you want to use JPG files instead of GIF files, replace GIF with JPG as shown below:
default.icons.iconextension=jpg
3) Modify FORMSWEB.CFG file
This file exists under <Forms10g_Home>\Forms\Server folder.
Append the following existing parameters:
i) imagebase=codebase
ii) archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar,my_icons.jar
|
|
|
| Re: Setting of ICON in Oracle 10G Application Server [message #316498 is a reply to message #316479 ] |
Fri, 25 April 2008 06:45   |
sanju0003 Messages: 2 Registered: March 2008 Location: Chandigarh |
Junior Member |
|
|
Hi shahmayur..
I've solved my problem but i didn't modify REGISTRY.DAT.
All other setting are same mentioned by you.
Thanks for the Co-operation.
Sanjeev
|
|
|
| Re: Setting of ICON in Oracle 10G Application Server [message #319889 is a reply to message #316479 ] |
Tue, 13 May 2008 06:17  |
indxe Messages: 2 Registered: May 2008 Location: Jordan |
Junior Member |

|
|
Hi shahmayur..
i applied your instructions to display icon on push butoon but it doesnt work, i dont know what is the problem, when i applied the instruction i changed the property iconic of the button to yes and i put the image name (jpg format) but it didnt work.
|
|
|