applet

What is the difference between a .NET Applet and ActiveX control embedded in IE

I have come across some articles on the web about .Net applets and I was wondering how it differed from an activex control (created using a .Net language)? (to clarify, this is with regards to applets that run inside a web-browser) (Is the difference: ActiveX controls written in a .Net language are called .Net Applets?) Are there any a...

Java applets vs Silverlight vs Flash (Flex)

Everybody talks about Silverlight and Flash and Flex and how cool etc... Java applets are very similar to Silverlight and Flex, but Java applets exist since 1995. What is the reason we don't have any cool Java applet applications around? My guesses so far: start up time of Java applet, restricted network connectivity, lack of dev tool...

What library can I use to encode video in a Java Applet?

I would like to record the user's interaction in my Java Applet as a video to send (potentially stream) to my server with the intention of uploading to Youtube (or similar). A high frame-rate is not required (a couple frames per second is sufficient). Minimizing the bandwidth used is preferred, so sending jpeg snapshots to the server a...

How do I prompt the user to install JRE if she hasn't it already?

I am writing a Java applet, and would like to know the best way to include it in a web page. I'd like it to prompt the user to install JRE if she hasn't it already. This feature should (ideally) work cross-browser on any OS Java runs on. Another requirement is that the applet should not be loaded on page load, but after a user action, n...

How to pass data from JSF to a Java Applet

I'm building a web application with JSF and ICEFaces. Now I've integrated a Java Applet into one of the JSF pages. The Question is, how can I pass information stored in the backing bean to the applet? I don't think that I neeed a bidirectional communication. I'm collection data using ICEFaces input components. For instance, hitting a bu...

Trouble calling an applet method from page

I know it's not optimal, but I have to work with it, a page making calls to the applet. My problem is, when I do so, I recieve a rather cryptic error message: "uncaught exception: Error calling method on NPObject! [plugin exception: java.lang.reflect.InvocationTargetException]." Can anyone decode this? Even multiple possibilities wo...

Putting Applet on web in Java using Netbeans

When I try to put the applet online, I go to the jsp page that loads it and get Error. Click for more details. When I click for more details, I get ... Java Plug-in 1.6.0_11 Using JRE version 1.6.0_11 Java HotSpot(TM) Client VM User home directory = C:\Documents and Settings\gdf5010 c: clear console window f: finalize objects on...

Java Applet Network Connection

Hello, At the moment when my applet runs in a web browser it is blocked from making any outside network connections. Is it possible to change any settings to allow it make connections? It works fine when run from the desktop, but when in a browser it restricts it. Thanks ~ Kyle G ...

Out-of-the-box SSL in Java Applet

I'm currently attempting to implement having a (signed) applet communicate to a server program via SSL. I have found the right kind of incantations to create key stores for the client, the client's trust manager, and the server. This allows me to create compatible SSL contexts on the client and the server. However, as it stands, this se...

Read Java Variables

Hi, I am trying to achieve reading variables from a Java applet out of process from my C# program. Apart from reading memory addresses, is there any way I can obtain values of variables from a java applet? This java applet will be running inside a browser. If it is not possible to do this from C#, would it be possible to do it from a dif...

Socket connection to originating server of an unsigned Java applet

I have read everywhere that unsigned Java applets are not allowed to make network connections to any server but the one which originated the applet. This is OK for my application since my applet only needs to talk to the server. However, when I wrote a test applet to try opening a socket to communicate with a process on my development ma...

How do you debug Java Applets ?

Currently, the only information I have is a one-line error message in the browser's status-bar. Do you know how I could get a stack-trace for example ? ...

Applet class loader cannot find a class in the applet's jar

I started to ask this question and then figured out the answer before submitting it. I've decided to post the question anyway so that other people who run into the same problem will be able to learn from my mistakes. I'm having a problem with an applet (a JApplet actually) unable to instantiate another class which is included in the s...

how to draw rectangle on java applet using mouse drag event

hi, i am using java. i want to draw rectangle based on mousedrag event. if user dragging the mouse, then the rectangle on the applet should increase or decrease basing on current mouse coordinates. i have the following code. in the following code i am using [b]SelectionArea[/b] class which extends a canvas on which i am performing drawi...

How to learn game development?

I've been a web programmer for a while and I can also program in Java. I have an idea for a small, multiplayer RPG game that I want to work on. It will be played through a java applet in the user's web browser. I have written the design document and specifications of the gameplay. What I'd like to know now is how I can develop the game?...

Java applet communication with Rails application

Hi! I'm creating a Rails application and on it, there should be a Java Applet. My question and problem is that the applet must be tightly integrated with the Rails parts. I must be able to get a list of all users, update an image, etc... And there's a surprisingly small amount of information available on the Internet of how to use appl...

How do I sign a Java applet for use in a browser?

I'm trying to deploy a Java applet on my website. I also need to sign it, because I need to access the clipboard. I've followed all the signing tutorials I could find but have not had any success. Here is what I've done so far: Wrote an applet in NetBeans. It runs fine in the applet viewer. Made a .jar file out of it. Created a cer...

Do non-self-signed certificates remove the security warning for Applets?

What exactly do certificates purchased from a CA do again (in the context of Java applets)? Lets say I have an applet on a website that accesses the users files (requiring a security certificate). If I make a self-signed certificate, the client will get a security warning asking if the client should trust this application. If I purcha...

Applet (or WebStart application) calling a server : best practices ?

I'd like to write an applet (or a java Web start application) calling its server (servlet?) to invoke some methods and to send/retrieve data. What would be the best way/technology to send and to retrieve those message ? ...

Applet 'blinking', 'flashing' under OSX while scrolling.

Hi, I have the problem that an applet in Safari or FF under OSX 'disappears' for 1-2 sec when scrolling and then fully redraws again. This effect I call 'blinking/flashing' because it looks like it. This usually happens if the applet is bigger then the browser window - so I need to scroll. Is this a general problem with OSX? Is it a k...