Image instead of Java
Hi Folks,
Im hoping that one of you guys can give me a bit of help on a project im doing. I have created a HTML page which at the moment simply consists of an image (logo.gif) which when rolled over animates with a water ripple effect.
Its a java applet !
The problem im having (or may have) is that some people may have java disabled in there browser prefs.
I was wandering is there some script i can enter in the HTML page to say "if java is disabled then display this alternative image instead" ?????
If anyone can offer me any help id much appreciate it !
Many thank
darren
you can insert html code into applet tag
this code is used by browsers if the applet can't be launched
Similar Messages
-
Copy Paste Image instead of Upload
Hey Guyz,
I wanted to give user a provision to copy & paste an image instead of uploading it in a provided space on the webpage.
Do you guyz think it's possible if so can you guide me thorough..
Thanks...
Krish813258 wrote:
Thanks for your suggestions ...
One more thing is if i am developing the webpage using PHP then can i use JAVA APPLET and achieve this on the same page???Well, as you may know, PHP generates HTML output and applets are embedded in html pages.
The only tricky part is when the applet wants to send the image data to the server (otherwise it would be lost once the page is closed). You need to negotiate a suitable way to do that. -
"embed" image data into java code
I have a mind that is it possible embed image file into java code?
That mean an image file information already store in java code, thus no need using the image file in run-time. Then can prevent user change other image file instead.
Do anyone try before, are there technologies required?
I just want to know is it possible or not....thanks.technologies? The solution you are asking for is all about storing your data in static variables such as byte[][] used to build your image instance. I guess you should have a look at the different constructors of BufferedImage.
-
Wrong Out while Cropping image using different java version
Hi,
my task is to crop the image based on x,y,w,h coordinates, but thing is i am getting different cropped images while using java 1.6 and java 1.7.
in java 1.6 the x and y coordinates starting from 0,0 instead of given values.
please find the code below:
import java.awt.Image;
import java.awt.image.BufferedImage;
import java.io.File;
import javax.imageio.ImageIO;
public class CropImage {
Image image;
// Insets insets;
BufferedImage img = null;
public CropImage(){
try{
img = ImageIO.read(new File("D:/temp/","Capture.gif"));
File outputfile = new File("D:/temp/","saved.gif");
// 49,158,58,7 -x,y,w,h
ImageIO.write(img.getSubimage(58, 6, 158, 50), "gif", outputfile);
}catch(Exception es){
es.printStackTrace();
public static void main(String args[]){
new CropImage();
Thanks,
shashanka.
Edited by: user8956018 on Dec 23, 2012 10:54 PMNote 791765 - Mixed JSESSIONID Cookies from Different Servers - resolved the issue
-
Image Processing in Java (E-Book) Request
Can anyone post the links for this e-book
i think this e-book is helpful.so,iam requesting all of you.
Image Processing in Java
by Douglas A. Lyon
Publisher: Prentice Hall PTR; Bk&CD-Rom edition (March 1, 1999)
Language: English
ISBN: 0139745777Check ebay, amazon or your local seller for a copy. Or if you want a free copy, write the author (maybe he's a generous fellow), but don't bother people on this forum with posts like this.
- Travis -
I m working on an image processing project and I want to know how JAVA supports image processing. Does it have proper API's for image handling and etc... And also about the performance, as JAVA would be slow for high processing jobs.
Any suggestions as to wat should be the best platform for working on it.Some good books on this topic:
Digital Image Processing: a practical introduction using Java.
by Efford
Building Imaging Applications with Java Technology.
by Rodrigues
Image Processing in Java.
by Lyon -
I like to fluently blend in more images , When i use the gradient tool and hold down the shift key to draw a line , i see no fluent transition of the two images, instead part of image fades into a tranpanrant ' check board' layer instead.
What goes wrong here?
Blending Multiple Images in Photoshop | IceflowStudios - YouTube
I am refering to the tutorial above..Yes, I understand it's not always easy to grasp to what goes on on the other side.
I already tried the above though nothing seemed to work
I had to use the paint brush as well but in reverse setting to get the desired result. If I dont use paint brush the checkboard appears thus it wont merg/ blend the images.
I don't understand how the guy in the video did this but with photoshop cc 2014 it seems to work different, apparantly. -
PDF of a blueprint comes up as a whole image instead of individual lines.
PDF of a blueprint comes up as a whole image instead of individual lines. I have tried tracing it and that does not pull out the individual lines also, stays a one image only. how do I get just the individual lines?
Several pdfs worked perfectly during my testing before going this route. it wasn't until later that I found some files have this issue. I can not find what the difference is between files that work and files that don't. Ones that work come up as individual lines right away, ones that don't are one solid image.
As Jacob mentioned in post #7, the file in question is a scanned (raster) image of an old drawing which may not even exist in vectors ('individual lines,' as it were) anymore, if it ever had. You can't make assumptions based on the fact that a file is in PDF format. A PDF can contain all raster image data, all vector data, and/or a mix of both.
What is the difference between vector and raster graphics? -
How to add an image to an IMAGE control in Java WebDynpro
hi
How to add an image to an IMAGE control in Java WebDynpro.
Please give me the steps to assign an image to an IMAGE control.
Advanced Thanks
brahmaThank You Mathan MP,
i tried these steps, but whenever i selected the source property of image UI control, it opens a context window, but this context window does't contain any thing for selection.
so how to solve this problem ?
the link whatever u provided is not opened, please send the correct link.
http://127.0.0.1:1284/help/index.jsp?topic=/com.sap.devmanual.doc.user/f3/1a61a9dc7f2e4199458e964e76b4ba/content.htm
Thanks in Advance
brahma -
How can I make the tab image instead of text.
Hi guys,
How can I make a tab displayed as image instead of text?
Best Wishes,
FatehThanks Jari,
I use Apex 4.0.2 and the theme is Builder Blue 2. When I click edit tab, I get "Tab Label" that is required field and a region called "images". As I got from you, I cannot utilize images in my case.
Regards,
Fateh -
Helvetica Light Appears As An Image Instead Of Text
Earlier i was using "Helvetica" on my Adobe Muse website that i am designing. I had to change it from "Helvetica" to "Helvetica Light" and the text started to show as an image instead of text. I mean it does not remain text anymore and when i export the site it shows as a png file. Although i can still edit the text of course.
I have seen a question on the forum (HERE) that explains what is happening but there is no explanation how to correct it. I really want to use Helvetica Light instead of normal Helvetica. Can any one tell me how to keep it as a text instead of a png file?
Thanks!Not all visitors to your website will have Helvetica Light installed on their computer, so the only way for Muse to give that exact look is to turn the text into an image.
If you want the text to stay live text and not become an image, you have to limit yourself to the fonts in the 'web safe' or 'web fonts' categories. If you use a system font, Muse will rasterize the text to give you the exact appearance you desire. -
How to embed the Images in the java sourse
How to embed the Images in the java sourse
The size of the file will be too large while I put the binary code of the image into the java sourse!
thanksYou could encrypt them with a private key and then
decrypt them with a public key.
Almost had it... public key encryption works the other
way around... otherwise what's the point of
encrypting... if the decryption key is public?Spinoza's right. Public key encryption works both ways, but it would be useless in this case to encrypt with the private key. The problem is, how do you package your private key with the application in a way that doesn't allow the user to get it? Encrypt it? :-) I agree that there's no point to this exercize. If users want to screw up the application by editing its image files, let 'em. -
How to use an image instead of Browse Button in messageFileUpload item
Hi,
I have sessageFileUpload item in my OA Page to upload files. How can I show my custom image instead of a Browse button that is placed by default. I don't want to show the browse button instead want to use my custom image.
ThanksThis is a framework object, you can't change that.
--Shiv -
Accesing image files in java beans
hi all
I am developing an application which needs to access images files put in image folder in java bean file.
I tried a lot by using different methods and failed always, except in case of absolute path which I dont want to use.
My directory structure is as below
/Web-apps
/MyApp
index.html
myjsp.jsp
/Images
img1.png
/WEB-INF
/classes
/beans
GraphBean.java
In GraphBean.java I have the code
ImageIcon imageIcon = null;
imageIcon = new ImageIcon("../image/img1.PNG");Cureently the path is worng and the image cant be displayed.
I want to know what path I should give to get the image img1.png.
Thanks in advance
AniketThe disk file system knows nothing about the application which is asking for the file. You should always use absolute file system paths. In this case you can use ServletContext#getRealPath() to convert a relative web URL to an absolute filesystem path. Then use this in ImageIcon.
-
Possi. for ABAP code instead of JAVA Script for creating searachhelp in BSP
Hi Consultants i have a doubt that is there a possibility to use ABAP coding in BSP object for creating search help
instead of JAVA Script if so please reply me with the procedure or else with some sample coding.Hi Consultants i have a doubt that is there a possibility to use ABAP coding in BSP object for creating search help
instead of JAVA Script if so please reply me with the procedure or else with some sample coding.
Maybe you are looking for
-
my iphoto is saying it needs to update i clicked this then i t can't seem to its on an external drive which has been fine whats happening?anyone know whats happening looks like a a typical post apple update glitch to me
-
Can we use HTTPS with ALE to establish a connection between the HR and ERP system? There are seperate instances for FI and HCM and we require an ALE interface between them. RFC with SNC is not an option so am wondering if there is an ALE with HTTPS
-
my ipad has a safari crash report from a third party how do i repair this?
-
Settings to import music from CDs
I am having dificulty burningc CDs from purchased music CDs (to be played elsewhere than computer). Sometimes it works, somtimes the sound is muffled. Should I switch from AAC to Apple lossless (or other) when importing the music from the original CD
-
How to stop extended buffering/loading?
Hello! I have a high speed internet and when i watch video on SMP the video lags, because video is being loaded very fast (thats what i've noticed on every other player, includng youtube), so my question is whether it's possible to allow to load only