Cannot show icon images
I just try to upgrade my 6i application to 10g web base. I sucess to run my application on browser. However, I cannot show icons image. I have followed the doc "Forms9iAS Forms Services How to deploy Icons", but still failed.
Is there any doc teach me how to deploy icons in Forms Services 10g? (not 9i)
or any hints can tell me?
Thanks a lot !!!
Hello,
1) if you choose to have icons as gif, use the following in a batch file:
rem====
jar cvfm iconeweb.jar *.gif --- name the file: jar_icons.bat
rem=====
put the icons images in a directory together with jar_icons.bat
2) run jar_icons.bat
you should see a new file in the directory: iconeweb.jar
copy that jar file in the directory /forms/java of your developer install directory.
3) open the formsweb.cfg which you can find in /forms/server in the directory where you installed developer 10g
Look for the line that has: archive_jini
Add the following: at the end of this line: ,iconeweb.jar
save formsweb.cfg
if you are running your app from a named config, you should also make the change to that section too.
4) restart your browser that the new jar is downloaded.
5) open your java console: it is the small coffee icon you see in the systray. In it, you see a line with iconeweb, If you don't see it, it means the jar file is not found. Then, you should make sure that the forms/java path is indeed in the forms_path registry key .
Similar Messages
-
How to show icon image on Unix
I the Button Icons are fine on NT machines. When I move the application to a Unix machine, the icons won't show up. How do I set up to let them show up? Any suggestion? Thanks.
-- [email protected]Hello,
This plugin Does Exactly What You Need.
http://www.apex-plugin.com/oracle-apex-plugins/item-plugin/extension-warp11-gmaps-item_109.html
Please read the comments on the plugin, in case you come across problem in running the plugin....
Best Regards,
Fateh
If you believe that my answer was correct, then please mark the answer as correct. This is for the best of all -
CR2 file icons not always showing thumbnail image depending on view.
I have some CR2 files which behave oddly. Some show an icon which is a thumbnail of the image when in list view but a blank icon when in icon view? While others show a blank icon in both list and icon view?
Doing a get info and they all show a preview image and quick look displays the image, it is just the icons in icon view which are blank.
Is this something that can be fixed?
PhilYes it can, as I have found out!
I opened the folder which contained files which were displaying a plain icon when in Icon View. I then selected from the View Menu 'Show View Options', it was here that I discovered the check box for 'Show Icon Preview' which in this case was unchecked. When I checked this box the blank icons changed to a preview.
So problem solved.
Thanks to myself. -
I got a mail from Apple Itunes store where the images is not shown.
See above image.
I report the problem, because the mail came from Apple.
I get the problem with other mails as well.
Below I have pasted an image that shows a mail receipt of purchasing from i-tunes.
The mail contains [?] where images should be shown.
I find it a bit less good - especially knowing it is Lion it self I am using.
Best regards
Anders K. AndersenHello,
1) if you choose to have icons as gif, use the following in a batch file:
rem====
jar cvfm iconeweb.jar *.gif --- name the file: jar_icons.bat
rem=====
put the icons images in a directory together with jar_icons.bat
2) run jar_icons.bat
you should see a new file in the directory: iconeweb.jar
copy that jar file in the directory /forms/java of your developer install directory.
3) open the formsweb.cfg which you can find in /forms/server in the directory where you installed developer 10g
Look for the line that has: archive_jini
Add the following: at the end of this line: ,iconeweb.jar
save formsweb.cfg
if you are running your app from a named config, you should also make the change to that section too.
4) restart your browser that the new jar is downloaded.
5) open your java console: it is the small coffee icon you see in the systray. In it, you see a line with iconeweb, If you don't see it, it means the jar file is not found. Then, you should make sure that the forms/java path is indeed in the forms_path registry key . -
Missing background icon image on wrapping text in IE
I'm using css to add a background image to links in a
paragraph (adding a pdf icon for a link that points to a pdf, an
arrow to a link to an external site...etc). Using "background:
url(/images/shared/icons/pdf-document.gif) no-repeat left 0.2em;
padding-left: 18px;" works as long as the text in the link doesn't
wrap. In IE, if the text wraps the background image disappears, but
the space for it (because of the padding) is still there. If I
resize the browser so the text does not wrap the image suddenly
appears. Any other browser the image is there. The doctype is xhtml
1.0 strict.
Does anybody have any suggestions on how to handle
this?The code i pasted is just from a sample page. My actual website has lot more stuff in it and still does
not show up.
Best if you upload your page to the web and provide a link so we can see it.
Pardon my ignorance but how do I save the image as RGB
What software do you use to create/edit your images?
In Photoshop, it's Image > Mode > RGB then Save for Web
Most browsers can handle RGB (web) or CMYK (print) images.
However IE cannot read CMYK images. Thus it's best to ensure all images are RGB. -
Iconic images on multirow buttons
Hi,
I am trying to get different iconic images displayed on a button in a multirow block. Is there any easy way to do it. Running Forms 10g
example
I have a block based on customer orders which displays 10 rows
I want to display an iconic image on a button in the multirow that shows a different image depending on the status of the order e.g. ordered, dispatched, cancelled etc etc
so row 1 would show image1, row2 image 2, row3 image 1 and so on, each row could be a different image or the same image
As I scroll up and down records refreshing the data displayed in the multi row I would want the images to change as well
Tried set_item_property (icon_filename) but this sets all instances of the button to the same image, set_item_instance_property cannot set the Icon Filename.
Can this be done in javabean?, can you reference the individual row instance's of the javabean.
Any possible solutions?
ThanksI have also tried to "simulate" this using an image-item, but the image doesn't populate. I put the code for read_image_file in post-query trigger thinking this would be most appropriate.
Even when I put it in a When-New-Record-Instance as I scroll up and down the records in the block the images clear and don't refresh as expected -
How to make an icon image using Photoshop
I found out how to do this recently so I decided that I wanted to make a tut for those who don't know how to make an icon image. This icon image is for the libraries tab on your computer. Under the libararies tab there is Music, Pictures, Documents, and Photos
First you will need the ICO (Icon image format) Format extension for photoshop which can be downloaded here:
http://www.telegraphics.com.au/svn/icoformat/trunk/dist/README.html
The download link and tutorial on how to install it is all in the link above.
Once you have that all set you can now launch photoshop to create your icon image. Once you have launched it, create a new document with the size as in the image below.
[IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/256x256_zpsbf3dcf8e.png~original[/IMG]
Create the image you want. I used a simple one by using the custom shape tool by pressing "U" on your keyboard and with the
basic blending options.
[IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/IconImage_zpsd788c709.png~original[/IMG]
The reason why the image is pixelated is because it is an icon image. Since the image is only 256x256 pixels when you zoom in on it that will get you the pixely result. The reason why I zoomed in is so you can see it. But don't worry this is no the end result. Just continue reading and you will see.
So once you have created the icon go ahead and press
file>save as>(under format choose the ICO)>and choose the name that you want to name it. And save it in your C: drive. You will see why to save it in your C: drive in a sec.
[IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/SampleicoPic_zpsd252bfba.png~original[/IMG]
So now that you have created the icon and saved it now you can create the new library.
[IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/NewLibrary_zps8ca703b2.png~original[/IMG]
Name the library whatever you want I named it "Sample" for tutorial purposes. Notice how it gives you a default boring icon image for your library.
[IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/Sample1_zpsb5472840.png~original[/IMG]
So now once you have created and named your library now it is time to get the icon image into place.
Go to computer/c: Drive/users/YOU/ And now once you have reached this area you will need to access a hidden folder named "appdata" to do so press "Alt" then a menu bar will show. Click
tools>folder options>and view. Find the option to view hidden folders then press apply then ok. Now we shall continue so AppData>Roaming>Microsoft>Windows>Libraries
Now you should see all the libraries including the one you just created.
[IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/showhiddenfolder_zpsad4a3c94.png~orig inal[/IMG]
[IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/Libraries_zpsf6243bc0.png~original[/IMG]
Once you have reached your destination then open a new text document with notepad and drag the library you just created in notepad. The result should look like this:
[IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/Notepad_zps251a86f0.png~original[/IMG]
once you have reached this point click at the end of the second to last line down then press enter and enter in this information
<iconReference>c:\"NAME OF ICO FILE YOU CREATED IN PS".ico</iconReference>
Example:
[IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/iconreference_zps1c1a3eca.png~origina l[/IMG]
Once you have entered that information go to file>save and the icon image should appear on the library you created.
[IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/Finished_zps267f893a.png~original[/IMG]
Now you are officially finished. Go and spread the news and joy. Bye for now
-Dusty951512It is Windows only because all those screen shots are exclusively Windows, the file structure and paths do not resemble those of the Mac in the least. As a Mac user, there's nothing I could take from your tutorial. Sorry,
No drives named with letters like C: on the Mac, for instance. No backward slashes either, ever. No such paths either. No "Notepad" on the Mac, we use TextEdit; but such a text editor is not remotely needed on the Mac to make and/or edit icons. Etc.
Those folders are not even called "Libraries" on the Mac… Nothing resembling your tutorial at all.
The icons in the Finder's Sidebar are not customizable at all in recent version of OS X.
= = =
You can edit any post of yours only until someone replies to it. At this time your post is not editable by you any longer. -
How Do I get icons image directory to work in a JAR file?
Yes, I must admit after going through the tutorial and other stuff I am stiil stumped
I have an application that uses the jlfgr icons for the toolbar, and it works fine as long as i actually run it from the directory that it is in.
I would like to put in into a jAr file, and be able to execute it from other places.
I have a Directory named PhoneBook
in that are the classes I use
AddressBook - the main class
PersonEntry - The 'data class'
and various other things like FileFilters.....
inside that directory there are two more:
images - contains all the icon images
Data - where the default 'database' entries are stored.
I use code like this:
private void fillToolBar( JToolBar bar )
Dummy = new JButton(new ImageIcon("images/New16.gif"));
Dummy.setActionCommand("New");
Dummy.addActionListener(this);
Dummy.setToolTipText("New");
bar.add( Dummy );
// etc etc
to get all the icons into the toolbar
I have made a Jar file that has all the classes and all the directorys with the icons in it
and so the program runs, but does not get the icons for the toolbar, I just get a whole load of 'dud' buttons.....
AS this is the first time i've ever got the GUI to look right rather than just the code functioning properly
I'd like to get the whole thing in a working Jar file
So Could someone show me Step By Step, How I get my classes and images into a Jar file
so that i can from a different directory go
java - jar Phone.jar
and have the GUI come up with all the images, assuming I'm totally thickheaded when it comes to Jar files.?
I also can't get the images to show up if I merely run the 'program' from another directory than the one it is compiled in
I can get the program to run, just not access the images with something like
java -cp blah/blah/blah AddressBook
{the main class is AddressBook }
the data directory can be anywhere as I use a JFileChooser to allow the user to open and save desired files.
I really would appreciate some clear workable help. {though I'm running out of Duke Dollars...}What you need is a correct path to the directory
inside of the jar. This can be accomplished by adding
a line to your main program like this:
URL
url=myProgram.class.getResource("images/New16.gif");
Dummy = new JButton(new ImageIcon(URL));
where myProgram.class is the name of the class
file that contain the main method.
Hope this helps....
;o)
PS: I don't want your dukes...I got them coming out of
my ears!
O.K, that works thank you.
I put something like:
for all the 'buttons' in the toolbar
URL url = null;
Class ThisClass = this.getClass();
url=ThisClass.getResource("images/New16.gif");
Dummy = new JButton(new ImageIcon(url));
Dummy.setActionCommand("New");
Dummy.addActionListener(this);
Dummy.setToolTipText("New Database");
bar.add( Dummy );
etc for all the rest of the 'buttons'
After Reading the API docs on URL's etc I'm still not sure as to why it works, but it does....
I am able now to place the class files in a jar along with the images and it all works fine
although now I don't quite follow all my code....................
I assume that
url=ThisClass.getResource("images/New16.gif");
returns some sort of 'relative url ' ???
Thanks for the help though. -
How to show an image(jpg/gif) on a JTabbedPanel
Hi
I tried to show an image on a JPanel of a JTabbedPanel.
I the only way to show it for some time was this:
in the StateChangedListener I use drawImage when the selected panel is teh one I want to draw the image at.
Tracing code makes the panel show, burt when I step
all the way up, the panel will be repainted without my image.
I use mediatracker to get the image loaded.
Any Idea
HannsJTabbedPane has components as its tabs. Using a JPanel is not mandatory. Try using a JLabel instead with an Icon (use ImageIcon) in it.
JTabbedPane tabbed = new JTabbedPane();
tabbed.addTab(
"my image panel",
new JLabel( new ImageIcon( "images/MyIcon.gif" ) )
);if your were referring to the image of the little tabs, use this:
JTabbedPane tabbed = new JTabbedPane();
tabbed.addTab(
"my tab",
new ImageIcon( "images/MyImage.gif" ),
myPanel // instance of Component, can be a JPanel or any JComponent you want.
); -
When I open Photoshop CS6 I cannot view the image. The thumbnail is visible on the right hand side and the work area shows the file information, but no image. I have updated PS, my driver. It is the same for both jpg or RAW.
Be sure your graphics drivers are up to date. Try disabling GPU acceleration in the preferences then restart Photoshop.
Benjamin -
Resizing JFrame on button click to show an image on the JFrame
Dear All,
I have a JFrame which has an empty label. On button click I want to set an icon for the label and want the JFrame to be resized to show that icon. I am using frame.pack() and I am not using any other sizing function. The code that I have right now, prints the image on the panel, but does not resize the frame to show the image. Pleae could someone help.package gui;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
public class ComponentDemo extends JPanel implements ActionListener,
ItemListener, MouseListener, KeyListener {
private JTextArea textarea;
private JButton button;
private final static String newline = "\n";
private JLabel imageIcon;
public ComponentDemo() {
button = new JButton("JButton welcomes you to CO2001");
button.addActionListener(this);
add(button);
textarea = new JTextArea(10, 50);
textarea.setEditable(false);
addMouseListener(this);
textarea.addKeyListener(this);
JScrollPane scrollPane = new JScrollPane(textarea);
add(scrollPane);
imageIcon = new JLabel();
add(imageIcon);
setBackground(Color.pink);
new JScrollPane(this);
* Create the GUI and show it. For thread safety, this method should be
* invoked from the event-dispatching thread.
private static void createAndShowGUI() {
// Create and set up the window.
JFrame frame = new JFrame("Simple FrameDemo");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
frame.setLocation(700, 200);
// get the content pane and set the background colour;
frame.add(new ComponentDemo());
// frame.setSize(screenSize);
// frame.getContentPane().setBackground(Color.cyan);
// Display the window.
frame.pack();
frame.setVisible(true);
frame.setResizable(true);
public static void main(String[] args) {
// Schedule a job for the event-dispatching thread:
// creating and showing this application's GUI.
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
createAndShowGUI();
@Override
public void actionPerformed(ActionEvent e) {
// TODO Auto-generated method stub
if (e.getSource() instanceof JButton) {
// System.out.println(e.getSource());
String text = ((JButton) e.getSource()).getText();
textarea.append(text + newline);
textarea.setBackground(Color.cyan);
textarea.setForeground(Color.BLUE);
textarea.setCaretPosition(textarea.getDocument().getLength());
imageIcon.setIcon(createImageIcon("SwingingDuke.png",
"Image to be displayed"));
@Override
public void itemStateChanged(ItemEvent arg0) {
// TODO Auto-generated method stub
@Override
public void mouseClicked(MouseEvent arg0) {
textarea.append("A Mouse click welcomes you to CO2001" + newline);
textarea.setBackground(Color.green);
textarea.setCaretPosition(textarea.getDocument().getLength());
@Override
public void mouseEntered(MouseEvent arg0) {
// TODO Auto-generated method stub
@Override
public void mouseExited(MouseEvent arg0) {
// TODO Auto-generated method stub
@Override
public void mousePressed(MouseEvent arg0) {
// TODO Auto-generated method stub
@Override
public void mouseReleased(MouseEvent arg0) {
// TODO Auto-generated method stub
@Override
public void keyPressed(KeyEvent e) {
System.out.println(e.getKeyChar());
textarea.append("The key " + e.getKeyChar()
+ " click welcomes you to CO2001" + newline);
textarea.setBackground(Color.YELLOW);
textarea.setFont(new Font("Arial", Font.ITALIC, 16));
textarea.setCaretPosition(textarea.getDocument().getLength());
@Override
public void keyReleased(KeyEvent e) {
System.out.println(e.getKeyChar());
// textarea.append("The key "+
// e.getKeyChar()+" click welcomes you to CO2001" + newline);
// textarea.setBackground(Color.green);
// textarea.setCaretPosition(textarea.getDocument().getLength());
@Override
public void keyTyped(KeyEvent e) {
// TODO Auto-generated method stub
System.out.println(e.getKeyChar());
// textarea.append("The key "+
// e.getKeyChar()+" click welcomes you to CO2001" + newline);
// textarea.setBackground(Color.blue);
// textarea.setCaretPosition(textarea.getDocument().getLength());
/** Returns an ImageIcon, or null if the path was invalid. */
protected ImageIcon createImageIcon(String path, String description) {
java.net.URL imgURL = getClass().getResource(path);
if (imgURL != null) {
System.out.println("found");
return new ImageIcon(imgURL, description);
} else {
System.err.println("Couldn't find file: " + path);
return null;
}myJPanel.setPerferredSize(new Dimension(new_width, new_hight));
myJFrame.pack(); -
How to change icon images in Mavericks?
I am having difficulty changing some Desktop Icon images in Mavericks.
Some times I can (Macintosh HD), sometimes I cannot (Applications folder or alias), for example.
Never had problem prior to 10.9To change your Applications folder icon:
In Finder, press shift-command-G, paste in the following and press Go..
/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/ApplicationsFol derIcon.icns
Change the name of ApplicationsFolderIcon.icns to ApplicationsFolderIcon.icns.backup
Confirm this change by selecting Use .backup and enter your password
Move the .icns file you want to use for your Applications folder and rename it ApplicationsFolderIcon.icns
Enter your password when prompted
Restart your computer, open Terminal, type
killall Finder
and press return.
You should have a new Applications folder icon.
To revert, delete the new file, change the name of the original file back to ApplicationsFolderIcon.icns and follow the rest of the steps above.
[NB: This change may not stick through future OS updates] -
PDF icon images appear on desktop, but not in folders?
I just updated to Windows 7. Before the update I could only view pdf icons on the desktop and inside folders would be a screenshot pdf icon image of the file. This was very helpful when using a lot of pdf files.
NOW, after installing Windows 7, I have the exact opposite. I can see PDF image icons on my desktop, but when I go into a folder, I get the standard Adobe pdf red-white icon (no image).
Has anyone experienced this? Ive googled this and Im not the only one with this problem. Has anyone found a fix for this?
Thanks
Update: I forgot to add that PowerPoint files, jpegs and bmp files still work and you can still see the preview images. Just not PDFs.function(){return A.apply(null,[this].concat($A(arguments)))}
~graffiti wrote:
What happens if you open an older PDF in Acrobat and do a "save as"? Does the icon come back?
graffiti - thanks for the reply. I did as you suggested but it didnt work. Now some icons are showing up but I dont know why nor do I know if this is a adobe issue or a windows 7 issues. While googling it looks like each side is blaming the other. Here is a screen shot. Some icons appear and one does not. I opened it and re-saved it but still doesnt show a thumbnail.
http://img845.imageshack.us/img845/4892/screenshotpdficons.jpg
Thanks for helping. Any other suggestions? -
Cannot view jpeg images in windows photo viewer (windows 7 32 bit)
When i open any jpeg image in windows photo viewer, it opens but shows nothing, only black plain image is displayed like below.
I am using adobe cs5 bridge and cannot preview the images in bridge as well, instead same black preview is shown.
Any one can help please....this is getting too much irritating for me.
Thanks!This has helped me with a similar situation. http://answers.microsoft.com/en-us/windows/forum/windows_rt-pictures/windows-photo-viewer-suddenly-w...
-
Custom Icon Images for Folders in KM
Hello Everyody,
I have to display folders such as Pesonal Documents, Public documents, Recently used, Favourites etc which are there in the entry point repository in KM. Right now all these folders are being displayed with the default icon image specified. I want to replace these default images with custom images but couldnt see any property where i can change the image path for these folders. I checked the details of all these folders and even went through the properties but there it shows only the default image name speciefied for that folder and no active settings where i can change the image path for custom icon. Kindly suggest how to implement custom image for KM folder icons.
Thanking you all in advance,
Regards,
Sarabjeet.Hi,
If I understood, you have a KM navigation iview, where some folders apperar. You want to change the icon for each of them differently.
For this do the following:
First have a look into the KM.navigation iview and get the layout set property. Go to System config->KM->Content management->User interface->Settings->LayoutSet and find the layout set you are using. Go to appropriate resource renderer and check the "<b>Icon setting</b>". Change it to: <b>iconreplace</b>.
Now get the KM details for your folders and change the <b>IconSource</b> property to your image Example:
/etc/public/mimes/images/add.gif
Voila...the icons for these folders are changed!
Hope this is your case.
Romano
Maybe you are looking for
-
How to load SW in 1310 wireless bridge when flash has no SW-image
During an upgrade (autonomous software), I indicated that the system should create enough room to load the new software. However, while loading the new software, the system crashed, so no image at all is left in flash. How can I load a software image
-
Assets: Unable to post to the assigned Cost Center in Asset Master
When I do the Depreciation Run, the cost center that gets hit is the Cost Center specified on the Cost Element (associated with the Depreciation Expenses account). Never does the Cost Center specified on the Asset Master gets picked. In case I do not
-
Are the rummers true? General Questions...
I was so excited to buy this product. I have been a FCP user for nearly 8 years, and currently run FCP Studio 6.0.6 (which I paid over $1,000 for). I never upgraded to V7 because I heard it couldn't output to Blue-Ray. I've read they are discontin
-
New to Macbook Air. Screen suddenly expands to 4-500% for no apparent reason. Have to use back arrow to return but lose what I've been typing. What am I doing to cause this?
-
E-Recruiting search configuration
Hi, We are using Erec 600 and TREX 7.0. I have configured the python for Erecruitment search no SES. My intention is to Search both Objects and Documents. I have followed all the steps and I am able to search the documents. But I not able to find can