Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Trouble displaying icon on push button in 6i Forms

416426Apr 20 2004 — edited Apr 21 2004
Hi,

I'm having trouble displaying an icon on a button at both design and run times. I'm using Forms 6i with client/server enviornment. I have tried to follow several forums regarding icon setup and the Whitepaper articles. I have tried different suggestions but am still unable to get the icon. Here's my latest attempt:

1. Copied .jar file to C:\Oracle_Developer_9i\forms90\java folder

2. Modified formsweb.cfg (in the serverApp=default section) and included the following:

archive_jini=f90all_jinit.jar,myAppIcons.jar
imagebase=codebase

3. In button's properties I set:
iconic = 'Yes'
icon filename = C:\Oracle_Developer_9i\forms90\java\myAppIcons.jar

My guess is that I didn't copy the icon files (from the .jar file) correctly. As suggested in the Whitepaper, I don't have the c:\ myApp\ icons directory. I did a search for an icon directory and found multiple icons folders (due to other oracle projects installed on my pc) but don't know which one to use. Being that I'm using 6i and the instructions were for 9i I didn't know if the directory/folder name is different. Is there another directory/folder (using 6i) where I should copy all the .gif files from in addition to storing the .jar file in the C:\Oracle_Developer_9i\forms90\java directory?

Also, I feel that I'm not calling it correctly from the location in step 3. Being that the icon exists in the jar file, how would I reference it within the file? Does anybody have any suggestions? Any help would be greatly appreciated.

Thank you,
Eric
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 19 2004
Added on Apr 20 2004
7 comments
951 views