applet

Connecting Java Applet with Database

I've got a simple problem... I've got an Java applet running on my client machine which needs to communicate with a database at my end. I'm not sure how I go about it. There are numerous problems such as untrusted applet coming up. Please point me in the right direction. Thanks in advance. ...

How to develop iphone app with database ?

I want to develop a CRM iphone app. I think there are 2 methods to deal with the data store, one is using the Sqlite(but it can not share datas with others ?), the other method is using the webservice(let the app CURD data by one web application), I want to know which is better? ...

Follow up to 'java.lang.SecurityException: class “XYZ”'s signer information does not match signer information of other classes in the same package'

I asked this question some time ago. I had an applet which contained classes in the default package and which is signed with an in-house certificate. Occasionally some users where getting the following error message: java.lang.SecurityException: class "ParamSplitter"'s signer information does not match signer information of other cl...

java applet not responding to repaint request in webkit browsers

I currently have a tiny Java applet I'm writing to solve a specific problem in our company intranet in a browser neutral way. This used to be accomplished with ActiveX but we'd like to let people move away from IE. The code is obviously unsafe for public consumption, but it's useful under controlled circumstances. Essentially I want t...

Serving Java Applets from a Queue?

I'm looking for a elegant way to create a queue for serving up batch compiled applets. I have hacked together a SQL and PHP script to handle this but it chokes under mild loads. is there an existing system that can handle taking a list in SQL and serve the applets in descending order each time it is requested. I'm also trying to handle t...

Can Java web applets do the same as offline ones?

I am looking to start a java web applet, as I need something that doesn't need downloaded (saved to computer) and for the most part will work for Windows and OSX. I have never done anything with java, so my question is can you do everything you can do with a normal java jar file on the web? More specifically, can you write a web applet...

Interface design of a java project "File Finder"

I am working on a project File Finder in java. I have to design the interface from where user interacts and access database. I want to know what are the basic items of applet i need to use for it. I have added two combo boxes and labes one for file extension and other for file name and a submit button.Are there any other items neccessar...

Convert Applet to Servlet (Apache)

I currently have a java applet sitting on my Apache server (in the htdocs directory). The applet is a web crawler and takes a very long time to process before delivering results (I guess applets get very limited resources). I would like to push the crawling work onto the server but I don't have any idea how to do this. I know that I...

how to deploy a java applet for local development

I simply put the class file and the html file in the same directory. And I call the applet with this: <p align="center"> <applet code="/ShowImage.class" width="200" height="200"> </applet> </p> Obviously this doesn't work. What is the most convenient way to setup local development? edit: My applet code: import...

Applet content disappears on resize

I have never done Applet development. Trying something very simple. Basically I am drawing a string on the window. However, whenever I re-size the window the content disappears. A similar suggested question on SO recommended overriding the update() method to call repaint(). I tried that but that still didn't do it. Also how can I cente...

Problems with Java plugin, that drops Firefox, when applet occurs on page, in Ubuntu

I'm using: Ubuntu 10.04 LTS amd64 Firefox version 3.6.10 for Ubuntu canonical - 1.0 Java(TM) SE Runtime Environment (build 1.6.0_21-b06) Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode) Java plugin was installed by creating symbolic link to $JRE_HOME/lib/amd64/libnpjp2.so from $FIREFOX_HOME/plugins/. At about:plugins pa...

How do I upgrade my MacPorts Perl installation?

I have installed MacPorts in my MacBook Pro with Snow Leopard. I hadn't explicitly installed perl there but I guess it either came installed with the default macports install or was installed as a dependency by any other port I installed. I want to upgrade the Perl v5.8.9 there with the latest stable Perl version. Whichever it may be cu...

java applet will only save file locally and not on server?

I have a java applet that runs fine locally on my desktop computer. but when I put it on my linux web server its works but the save file feature is save the file to the web browser temp folder and not to the web server. <applet name="rapplet" type="applet" archive="applets.jar" code="acap.class" codebase="." height="96" width="15...

How to open a modal dialog in Java?

I'm trying to display a modal dialog in front of an Applet. My current solution fetches the root frame like so: Frame getMyParent() { Container parent = getParent(); while (!(parent instanceof Frame)) { parent = ((Component)parent).getParent(); } return (Frame)parent; } And creates the dialog as follows: publ...

recording a video in a java applet

How to record video from a locally installed Webcam / Microphone in a Java applet? ...

Servlet to handle both applet communication and http requests

Hi, I'm building a solution where a servlet on tomcat6 handles input from another machine by providing a jsp web page. I'd also like the same servlet to communicate with an applet on the same machine to show some results and perform a few tasks. I'm able to connect from the applet to the servlet using a URLConnection but when receving ...

How to stop an app from being launched in BREW MP

Hi, I am new to BREW MP platform so i don't know that much as u guys know about it. I need your suggestion in figuring out an issue. I want to make an app which always run in a background (I have found that it is possible in BREW). I want my app to stop particular app from being launched, i.e when user try to start a new application on...

Import Java-Applet Project in Eclipse

@ home i built a java applet in eclipse now i want to port it on my working computer... eclipse version is the same as @ home and jdk also. i get following error: Description Resource Path Location Type The project was not built due to "Could not delete '/ProgramApplet/bin/de'.". Fix the problem, then try refreshing this projec...

Update The database using applets

I have written a code in JAVA to search files from the system.User specifies the filename and extension on text input on applet window and on button click code establishes a connection to oracle database and searches the directory name from the database table.The code for searching works fine without applet and on using applet it detects...

How to prevent AppletClassLoader from hitting the server when looking for classes/other resources?

I am developing a web application that relies heavily on Applets. Some third party code causes several, in some cases hundreds of, remote lookups of classes and some other resources from the server. This results in a significant performance issue. I've built my own code such that if something is NOT found within the .jar, it is not neede...