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
Similar Messages
-
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 . -
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.
); -
How to show an image in JSP given the bytes[] of the photo?
Hi all,
I stored a user's picture in the db as text. For this I simply converted the JPG to bytes[] and from bytes to string: Base64.encode(bytes)
Now I wish to do the reverse - to 'output' the image on the screen. So given the bytes[] of the image with
byte[] bytesDB = Base64.decode(userPhotoStr); //userPhotoStr is something like this: /9j/4AAQSkZJRgA...Question: How can I show the image in the JSP page embedded in the page not as download?
I'm using struts with JSP pages.
Thank you!!!!Images in HTML are to be displayed using <img> element. All what an <img> element can take as image is an URL pointing to the image in question.
If the image is dynamic, then you can just let that URL point to some Servlet which takes some request parameter or reads the path info, reads/gets the image as byte array or (much more efficient) as inputstream and writes it to the outputstream of the response.
You may get some ideas out of this: [http://balusc.blogspot.com/2007/04/imageservlet.html].
By the way, massaging the byte array from/to a String is a terribly bad idea. Just store bytes as computer readable bytes, not as human readable characters, this makes completely no sense. Characters on its turn have to be converted to bytes again after all, but now you've let the DB do the work. All with all a performance pain. Bytes > Chars > Bytes > Chars > Bytes instead of just Byes > Bytes. In database you normally use BLOB, BINARY or equivalent for this in combination with JDBC's PreparedStatement#setBinaryStream() and ResultSet#getBinaryStream(). -
How to Set icon/image programatically in ADF before page loads
This is my UI:
Depends on the condition i want to set icon/image programatically in my java code.Before page load im calling this method.
So i couldnt take binding value also,it throws null pointer exception.Then i tried setting icon/image programatically.
<af:commandImageLink text="settings" icon="#{bean.iconsettings}" binding="#{bean.bind}"> </af:commandImageLink>
My bean:
private RichIcon iconsettings;(its getters and setters)
private void method(){ // method
if(cond){
this.iconsettings="/images/20.jpg"; //trying to set icon in a string.but it throws me error that cannot set RichIcon to string.
else
this.iconsettings="/images/19.jpg";
Could any one tell me how can i set icon/image in java code.Before page loads im performing all above said tasks.Please help.Well, you set the icon property to a bean method, which you have done. The bean method however need to have the signature
public String getIconsetting()
// your code returning hte path to the icon
if(cond){
return ="/images/20.jpg"; //trying to set icon in a string.but it throws me error that cannot set RichIcon to string.
else {
return ="/images/19.jpg";
The bindproperty is not needed, remove it and remove the RichIcon Iconsettings too´as it's not needed to and is the wrong type anyway.
Timo -
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] -
How to show direcotry content in Unix
Hey
Greeting,have a simple question for Java Gurus,I am using Tomcat and servlets for my projects running on NT platform connecting to Oracle/Sybase servers on Unix boxes my problem is I want to show directory contents on unix box.. show directory name , filesize, date etc on browser to select file and load into database.
Please help me with code and ideas, partly or fully.
Thanks in advance guys.If your servlet container is running on NT, the only way to show something on the remote unix is to telneting that unix box. You can look on the telnet task of Ant tool for examples. http://jakarta.apache.org/
-
Hello everone!
Do u know how to get an image (JPG, gif, bmp) which is saved in the BLOB in a table?
I suppose that exists an apex function which allows to do that.
Any help would be very appreciated.
Thank u in advance.
RegardsThere are two examples in my demo application:
http://apex.oracle.com/pls/otn/f?p=31517:64
http://apex.oracle.com/pls/otn/f?p=31517:212
which will give you an idea how that can be done.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------- -
How to show an image in an Enumeration description
Recently I have tried to show an image instead of a text description, when I use a RadioButtonGroupByKey UI Element.
What I need is to show some sort of a semaphore which can be set by a processing user. Is it possible to achieve this, or do I have to play around with the layout?
Thanks in advanceWrong forum
-
How to Show custom image on Google Map Oracle Apex 4.1 page
Hi.. All,
Need to show custom Image (From Database Table which is a BLOB Column) as Marker on Google Map with fixed size if we zoom in or zoom out.
I am using Apex 4.1 and oracle11g r2.
Thanks in AdvanceHello,
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 -
How to show thumbnail images in finder?
Windows can do this, so I'm sure Mac must be able to ....
When I am viewing a list of jpegs in the finder, how can I see thumbnail versions of the images? Currently, all that's displayed is the jpeg icon.
Thanks.If you have files that don't show a thumbnail icon, it may be that whatever program created the files didn't create a thumbnail image.
You can add the preview image quite easily using a program like
QuickImage (http://www.versiontracker.com/dyn/moreinfo/macosx/19253) -
HI m
my requirement is to show the icon of the dragging component's icon(currently jlabel with gif as icon )during drag and drop operations
how to achieve this objective, as DnD api donot suppurt this thing
[email protected]I normally use a calculated attribute inside the table's data source node for this.
Add an attribute "Icon", type=string, calculated=true, read-only=true, under the data source node.
(If the data source node uses structure binding and does not allow to add an attribute, add a helper value node instead, cardinality=1:1, selection=1:1, and add the attribute to this node.)
In the get-method for the calculated attribute, you get the node element corresponding to the table row as parameter. Depending on other attributes in this node element, select an icon URL and return it.
If you put your icons inside the src/mimes/<component> folder, you can simply return the file name of the icon.
Don't use a Button as table cell editor but rather an Image or LinkToAction.
Armin -
How to show icon in a column of a table?
How to display an icon in a column of a table UI element and this icon is to be displayed based on values in the table row?
I normally use a calculated attribute inside the table's data source node for this.
Add an attribute "Icon", type=string, calculated=true, read-only=true, under the data source node.
(If the data source node uses structure binding and does not allow to add an attribute, add a helper value node instead, cardinality=1:1, selection=1:1, and add the attribute to this node.)
In the get-method for the calculated attribute, you get the node element corresponding to the table row as parameter. Depending on other attributes in this node element, select an icon URL and return it.
If you put your icons inside the src/mimes/<component> folder, you can simply return the file name of the icon.
Don't use a Button as table cell editor but rather an Image or LinkToAction.
Armin -
How to set icon image in jstudio for my application
Dear friends,
I developed one application in jstudio.And need to set an special icon for my application.While i download my application in to mobile. The icon should be displayed in the mobile.To show my application as unique from other applications.But i dont know how to set an icon for my application. If any one find answer please reply as soon as possible.
Thank youJava Studio Enterprise per se does not support creating applications for mobile devices. I gues you used NetBeans Mobility Pack for that. Therefore, please refer to http://mobility.netbeans.org/ for more information. Thanks.
Here is a FAQ entry, which, as far as I understand answers your question: http://www.netbeans.org/kb/faqs/j2me-mobility.html#FaqJ2MESpecifyMidletIcon -
Hi there
Hope everybody is well ..... merry x mas and all that
I having some problems with my site..... I have a simple site that has a simple shopping cart... with no payment gateway.... cash on delivery or bank transfer only.......
i have product pages all with a buy now button that adds items to a cart and I have all my cart pages working fine
I trying to figure out how to add a "sold" image to products that are sold out.....
In my product table in my database I have a field for howmany_pro to store how many of a product I have in stock
So that when I add a new product.... using my addproduct.php page I can enter the number ... amount....of a product I have......in stock..... into the add product form ..... as a number to be stored in my howmany_pro field in my product table .....
So.... so far so good......
So now ... I want that number.... the howmany_pro number to decrease everytime an item is purchased ... so I can make sure that I have the product asked for in stock..... so I don't get two people ordering the same product.....
So that when the number of stock goes to Zero "0" I can use the show regieon if database value = "0" behaviour
I have really no idea how to get this to work......
Any ideas or help would be great .
Have a great day
bibibibiHey Charis,
Give this a try.
in phpmyadmin make sure the field that holds your inventory count is set to "unique".
Then this next part I would do after making a backup of one of the trigger class files as it requires editing a certain value.
On the insert transaction page add the "auto-increment" behaviour which can be found under developer toolbox/forms/advanced/auto increment column. Then choose the field you would like to auto increment (which will be your inventory field). This will now get the largest value from this field and add 1 to the next record inserted. So this is what we want right? almost... we want to subtract 1 instead. This is where the edit for the value in the class trigger file comes in.. I have not tested this so please make a back up of the file before saving out.
Open "tNG_SetOrderField.class.php" which can be found under "includes/tng/triggers" and go to line 83. you will see code that says
$sql = 'SELECT MAX(' . KT_escapeFieldName($this->field) . ') + 1 AS kt_sortvalue FROM ' . $this->table;
There is a "+1"
I would think change this to a "-1" and test it out.
hopefully this works :)
Maybe you are looking for
-
Refreshing subreport data on change of group in the main report
I have created three comma delimited strings in a subreports and then introduced them to the main report. The subreports are simple with no groups. I have one subreport for Authors, one for Departments and one for Schools. This is ok if I filter the
-
Pass parameter from HTML to Oracle Forms
I have an application that connects to a third party company to process credit card transactions. They require a Sucess URL and a Fail URL depending on whether or not the credit card transaction is approved. How can I, using Oracle forms, "catch" the
-
hi, experts now we have implemented BW and use Bex, WAD, to report our data, and now we are considering whether to implement BO, so we want to know what strength the BO has and in which aspect the BO can improve for us. thanks a lot
-
Getting started in australian time
can any one tell me how to set up my account without waiting for a USA timezone seminar
-
I am an admin of linux given the task to get .jsp sripts to work on our server. #1 is tomcat required or can I do it with just apache #2 Is there an easy to follow instructions anywhere to get it running? I have gotten the jpackage-utils installed vi