java-applet

How to get an Applet in a table-row to size dynamically

I need to insert an applet into a table-row and get that table-row's height to dynamically resize according to the browser's window size. If I put fixed values for width & height in the td-tag, it shows the applet fine, but I need to be able to resize this according to the client's size capabilities, so using fixed sizes is not the answe...

.NET, scrape dynamic (Java App?) webpage for information?

I am attempting to get some information from a website, the info that I need is located on the missouri.edu site (so it's publicly available). Here is the process that I need to accomplish: - Navigate to https://webapps.missouri.edu/ODDSearchEngine/oddsearch - search for a department name like "business" - Click any of the department nam...

Java applet to upload a file

I am looking for a Java applet to read a file from client machine and creat a POST request for PHP server uploading. PHP script on server should receive the file as normal file upload in FORM submit. I am using the following code. The file contents are passed to PHP script but they are not correctly converted to an image. //uploadURL...

reading data file on any network device from java applet ?

how can java applets read data file from any device which is in same network with client computer is it possible with signed applets or with any security policy ? ...

New browser window with information generated by Java applet

I have a Java applet. After user inputs data into the Java applet controls he presses button in Java applet and Java applet performs some calculating and result is a table (for simplicity table can be considered as String[][]). I want to show new browser window and output this table in it as html <table>. How can this be done? Preferre...

Easiest way to get the absolute path of directory from browser

I allow my users to upload files from a directory. I use SWFUpload so that they can upload multiple files easily. However, I need to get the absolute path of the directory from which they are uploading. A little research tells me that it can't be done in plain HTML/Javascript or in Flash. Java applets seem to support this, so that's wh...

Applet freezes page on initial load (Mac Firefox)

We have a web screen with a number of applets that has a problem on Mac OSX 10.5.7, Firefox 3.0.15, java 1.5.0_19. The problem is encountered on the user site. On initial load of applets (with an empty applet cache), the screen locks up/hangs while loading the applets. After refreshing the page, it loads normally. If the cache is clea...

Can I set Firefox to run unsigned applets easily?

Hi, Is there any way that I can set my Linux box's firefox browser to run unsigned applet? This is an isolated testing machine. Can I set my firefox to be less secure, means can run any unsigned applets? Im having problems in loading signed applets on my own local system with local html files. Need advice. ...

Java applet display problem when i add it to dom tree via javascript

Hi All I have a modal popup as (lightbox etc.). If i want to add java applet into the modal popup via javascript i encounter a problem that is Java Applet don't display propperly sometimes dont' everytime. I tried to solve it setTimeout methot but it didn't solve :( Do you have a suggestion this issue? Thanks. ...

It is possible to pre-authorize a self-signed jar in XULRunner config?

Hi, I'm working on a Java Applet, which must run in an offline and standalone XULRunner (web browser) application. What happens: everything works perfectly, but the first time the applet is loaded, the user need to give access rights to the applet, because it "cannot be verified", with a dialog box. The problem: Since the user ran th...

Is there a general purpose Java paint applet base?

Hello, I'm working on a system for graphically querying data from a database of parasite specimens, in this case, these worm-like ones called Trematodes. Specifically, I'm looking at how to do the front end. It needs to be web based, so I'm looking at using Java. The way I envision it working is much like Mr. Potato Head. Users woul...

Alternative to using java applet for bank websites

Hi all, this is a question for all coders developing online banking websites for banks. Why do banks all use java applet for their online banking websites? basically if you don't have JRE installed, you can't use thier websites. if it is for security reasons, isn't SSL good enough? ...

JavaScript Calling a Java Function Doesn't Work in Safari

Hi, I have problem with calling a java function from javascript. Although it works for other browsers like IE, Firefox and chrome, it doesn't in safari. Here is my code. <HTML> <HEAD> <TITLE>Simple Applet Example</TITLE> <SCRIPT> function callSpin() { document.getElementById("myslotmachine").spin(); } </SCRIPT> </HEAD> <BODY> ...

Applet SplashScreen, JWIndow?

Hi guys! This is my 3rd SO question. Please help again... I want to put up a splashscreen on my applet. In doing so, I used the JWindow component. I already used it in creating splashscreens for my stand-alone java application so I thought it will also work on applet. The problem is, it does not work. Is Jwindow usable with applet? is th...

web-browser based GUI

I am working on an application in Linux which will interfaces with hardware. One of the requirements is to create the GUI in Web-browser . the application will be c++ based. I m not familiar with web realted stuff so i want to know Is it possible to do such a thing (currently it's a console application take input from txt file/cmd line)....

Reset Java Applet on Reload

I need to quit firefox and restart it in order for the applet to be refreshed... its anoying since i'm still programming it an the class files changes... am i missing some codes which makes it unable to refresh the applet and still take the one from the cache??? So I have a .jar applet in my website, a simulation game that spawns army ...

Reset Java Applet on page reload

I need to quit firefox and restart it in order for the applet to be refreshed... its anoying since i'm still programming it an the class files changes... am i missing some codes which makes it unable to refresh the applet and still take the one from the cache??? So I have a .jar applet in my website, a simulation game that spawns army w...

How to get a *.cer file to add a self-signed HTTPS certificate as trusted for Java

I'm connecting to a HTTPS website with a self-signed certificate using a Java applet. The applet can't open the HTTPS connection - it returns the following exception: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unab...

Why can't untrusted code change the log level under Java Logging?

I'm have a Java app that also runs as an applet. The app also happens to use a library called BasicPlayer to play .ogg files. BasicPlayer has a built-in logger that uses Apache Logging Commons to create a logger for BasicPlayer.class using the built-in Java logger. The only way that I know about to turn off the BasicPlayer logging is ...

Problem with Java Applet <--> Javascript communication

I'm having trouble getting a Java Applet to communicate with the Javascript code on the page the applet is hosted on. It works sometimes, but othertimes it throws an obscure exception, that googling for has not turned up any useful information, besides a few Java bug reports that were never resolved (thanks Sun). Here is the code I am u...