Theres a web page I'm making which content is very dynamic and so I'm building it from inside the backing bean.
I would like to add a Java applet to the web page but I could not find the JSF component type to correspond to the <applet> tag.
So My questions are -
What is the JSF component type for an applet?
How did you find it? (For...
Hello,
do you know any browser-side component, in HTML/Javascript, Flash, Applet or Silverlight, that
would allow source code edition with syntax highlighting and auto-completion.
CodeMirror has a good syntax highlighting support but does not seem to support auto-completion.
If no such editor exists do you know any way to implement au...
I've got a web page with an applet inside. This applet is a drop target on a drag and drop action from the OS, I simply take an image from a folder, drag it on the applet and something happens.
I give this webpage to a graphic designer and he ask to if he can put an image behind the java applet so he can simulate to change the backgroun...
I have a JComboBox on my Panel. One of the popup menu items is 'More' and when I click that I fetch more menu items and add them to the existing list. After this, I wish to keep the popup menu open so that the user realizes that more items have been fetched however, the popup closes. The event handler code I am using is as follows
publi...
I'm writing an Applet that makes some JSON-RPC calls. I'm using the Google JSON library (GSON) to cast the response JSON into a class. Thsi seems to work fine as is but when I use this code in my Applet, I'm hit with a java.lang.reflect.reflectpermission. From what I read on this thread on SO, it seems that since GSON uses Reflection, I...
Hello all,
I'm probably missing something very basic here. I'm trying to get my first applet to run inside a local HTML page in Firefox 3.6 on Mac OS 10.5.8. Here's the applet's code:
package SimpleApplet;
import java.applet.Applet;
import java.awt.*;
public class MyApplet extends Applet {
private static final long serialVersionUID ...
hey guys,
this is homework stuff, but the question is not much about coding. the task is to write a java applet to work on an m-grid server. i have the server running on apache. it has a few sample applets in .jar and .class form. the .class versions work; the .jar versions work on appletviewer, but they break if I submit them as a job ...
I have a working app in lwjgl. It doesn't do much yet; I've just started, but it does compile and run like it's supposed to. I want to make it into an applet. I've followed the guide here, and I have an applet that runs nicely and displays text and such in the applet area and can access the functions of lwjgl (like Sys.alert), but I can'...
Hello
I have like a table to make a nested loop in Java applet , during this loop i should change the colors like the picture said.
now i successed to make the table but i cannot change the colors because every time i try a forumla , it doesn't work.
Here is my code
int x = 63;
for (int r=1; r<=10;r++)
{
Color C = new Color(...
im trying to get from applet to object so i can resolve z-index issues. The first applet tag works...my conversion to object doesn't. Can anyone point me in the right direction?
From:
<applet name='previewersGraph' codebase="http://www.mydomain.info/sub/" archive="TMApplets.jar" code='info.tm.web.applet.PreviewerStatsGraphApplet' wid...
I'm building an applet with a quite big classpath. (externalLib1.jar, externalLib2.jar, etc.)
MyApplet.jar, the applet's jar contains a Manifest.MF including a ClassPath attribute listing all the required jars.
ClassPath = externalLib1.jar externalLib2.jar externalLib3.jar externalLib4.jar etc.jar
Is there a way to load the applet wi...
Hello,
I am creating a chat application using JApplet. I created socket in init() method and everything seems to work fine. Now i want to send message "user has left the room" when he closes the window (in which JApplet resides) as well as also close the sockets.
I wrote my cleanup tasks in destroy() method. But they don't seem to work....
Hello,
I created a simple Applet using JApplet and everything seems to work fine but as soon i create an object of my userdefined class named ChatUser in my applet, i get this error :-
SEVERE: java.lang.ClassNotFoundException: applet.ChatUser
at com.sun.enterprise.loader.ASURLClassLoader.findClassData(ASURLClassLoader.java:713)
...
Communication ports:
Change a given class in an applet in that way, that browser-defined proxy-configuration files can be used for applet communication with serve(upload method). i.e browser communicate via port 8080 or via ssl(443) - applet should also communicate by this port automatically. In the given method port 80 is hardcoded.
-- ...
Hello there.
I have a question on the java applet.I've created a java applet,which is a board game,that can have a 2*2 array with row number and column number both set to 9 by default.
Now I want to extend my applet a bit,that the user can specify the size they want on the command-line,then the applet class will create an applet with c...
I am working on some example to find if a Div (DHTML) on to Java Applet in a web page. I used YUI JS Drag drop library to make the div as droppable item and made the div surrounding the Applet as Drop Target. When I dropped it in the Div containing Applet, I am Calling some method in the applet from Javascript Drop handler? This is fine...
Hi SO.
I have an applet that connects to a server, it receives some commands and based on that it haves to draw (or move) different things.
Which patterns should I use? I assume that the network connection and applet should run in two different threads?
Thanks,
Kristoffer
...
I have a signed Java Applet which works just fine other than Windows 2008 R2 64-bit machine. On Windows 2008 R2 64-bit machine I am getting "Publisher cannot be vertified" error.
I have another applet which is just working fine in the same environment.
Error dialog contains details:
Warning security
The publisher cannot be verified ...
I'm in the process of porting a prototype application developed under Tomcat to JBoss for production. Part of our app is an applet for uploading data onto the web server. Here's the code for the applet:
<applet id="UploaderApplet" name="UploaderApplet"
code="com.initech.uploader.AppletFrontend.class"
archive="jar/Initech.Uploa...
I'd like to specify certain applets to run with java.security.AllPermission on my computer (for debugging and security testing). However, I don't want to enable all applets that I run to have this permission. So, editing my user Java policy file (which I have ensured is the correct policy file through testing), I try to put this value:
...