applet

Scala applets - SimpleApplet demo

The ScalaDoc for the applet class is pretty thin on details on how you actually override the ui piece and add components. It says "Clients should implement the ui field. See the SimpleApplet demo for an example." Where is this SimpleApplet demo? Barring that, does anyone have some simple source code of using the Scala Applet class, ra...

Standalone .jar runs great, but when embedded in HTML, framerate drops to 1 fps.

I have a single .jar file that I create by using the runnable .jar file export function in Eclipse. This file runs flawlessly when you just download it and run it. Now I'm trying to embed it in an HTML file, but having trouble. Here is the standalone jar Here is the page where I attempt to embed the .jar file. I could not make it run o...

How to bundle a Gnome applet with distutils?

I'm trying to write a Gnome applet in Python. In fact, I've written the app and I'm stuck when it comes to packaging it. I started by looking into distutils. The problem I ran into right away was that when specifying py_modules, an extension of .py is expected. However, Gnome applets are basically shell scripts. (That use the Python int...

How do I detect the current security-context from a Java Applet

I have an applet that needs access to the host system (to launch programs, query for system settings etc). The applet is signed, and when the end-user accepts my certificate, the applet is free to do pretty much whatever it desires on the end-users machine. If the end-user refuses the certificate, the applet is still run, but it cannot p...

Problem with Applet when the browser window got minimzed or resized

I made an Applet with some Panels on it. I draw something on a panel with specific methods I created, they use a graphics object to draw. To draw I use commands like: gr = this.getGraphics; gr.drawString... etc Then I call these methods from the applet class. My problem is the following: After I minimize or resize the browser wi...

What equivalent in MIDP programing to the JButton of swing-application?

In swing(GUI) application I used JButtons. Now I need the same application in MIDP and I'm conuse... I need Idea for what to use with and an example of how to use it and what kind of listener might possible fits.(Because I need to refresh the shown screen after every click on a button) And one more question: I use Netbins with the s...

Method execution from Javascript of a JavaFx applet function.

Hi, I've got a JavaFx applet running in my web application. This applet has several functions that I want to invoke from my web page, so I have some buttons that execute methods inside the applet. Those work fine, all but one of them. This one has to invoke a hessian service in the server to retrieve some data. I've debugged it and I've...

How to embed a Java Applet from another website (can't link their class file and jar)

In addition to what my title says, I am running into problems because their class file is linked as follows: "var attributes = {code:'xx/xxxx/xx/xx/xxx/xxx/xxxxx.class' width:645,height:443,archive:'xxxxx.jar'}" First, I naively copied the HTML code and it did show a Java Applet Object, but couldn't load it ...

Java Control Panel doesn't want to save JRE changes?

I'm trying to add some runtime parameters to the Java Plug-In so that I can debug an applet in my browser. I go to the Java ControlPanel, click the Java tab, and click "View..." and add the runtime parameters. After I click OK and close everything, it doesn't work. So I go back to the Java Control Panel, and the changes I just made are g...

Questions regarding InvalidJarIndexException?

I went through the JAR specification document and found that an in-memory hashtable is created using INDEX.LST file to speed up the class file look up process. If any one can answer my following questions - When is the hashtable constructed? When the application loads or when the request comes for loading the applet? Since all the cla...

Minimize to gnome panel

I have an application written in python, I would like it to be able to "minimize" to the gnome panel, much like how gnome's rhytmbox minimizes to the panel. Is it easily possible to do this? I've run the examples from here but failed to get any of them working and those don't seem to be exactly what I'm looking for. Any good places to ...

connecting java applet with remote(?) mysql server

I have a mysql database and an applet in some free hosting site. The applet needs to access that mysql database. How do I do that ? Is it possible to remote access mysql database from an applet? how ? ...

Install iphone development apps remotely

Is there a way to install iphone apps in development stage (not distribution) remotely? can I send the user the binary and install the app via itunes? ...

Applet isn't painting unless I resize

Hmm, its obviously a paint issue. I've tried painting my panel which contains my applet, and painting my applet. None of them have worked. Can anyone offer advice? ...

Using Canvas & MIDlets

Hi, I am using Netbeans,with the given emulator for writing MIDlet programs. I really need a simple,understoodable good example of using canvas. Additional question:can I have TextField,buttons on a Canvas screen? If I can,then how,and if not what do you suggests? And last thing: is it possible to make some buttons by canvas and add it t...

running applet via ant from eclipse

hello, i would like to launch an applet in an build.xml like this: <java classname="sun.applet.AppletViewer" classpath="${libraries}"> </java> (at least that is how it works in netbeans) but i get the error message: [java] JVM args ignored when same JVM is used. [java] Could not find sun.applet.AppletViewer. Make sure you have it...

Dependency on 3rd party at runtime?

We have created an applet with javafx and it seems that in order to load the applet several jar, jnlp and js files are required to be downloaded from dl.javafx.com. I tried to work out which files were needed so I could host them on our own server but after spending an hour or so on it I got tired of reading code and gave up. Doesn't it ...

Interaction between Webapp and Applet

I know that there is a 99% chance of the answer to this question being "no" due to the nature of Applets, but I'm going to ask anyways. I have a SmartCard containing X.509 certificates and applets. I'd like to be able to interact between the webapp and one of the applets in a read-only manner to pull data via that applet that is unavail...

How do I prevent people from hacking my applet?

Manipulating an applet is as easy as entering javascript:document.getElementsByTagName("applet")[0].publicMethod(); into the address bar. How can I protect my applet from such manipulation? ...

Swing JMenuItems getting shown behind Applet

I am working on a Swing application in which I am trying to display an Applet (processing PApplet) inside of a JFrame. The frame has a JMenuBar attached to it. When I click on the menubar, the menu items are being shown behind the applet. Does anyone know what's going on here and a workaround? I didn't see anywhere where you can set the ...