Hello everyone,
I have this class called PollFrame that extends JFrame in a file called PollFrame.java . PollFrame contains a form. I have an applet, which has a button in it. When the button is clicked, I want the PollFrame to be displayed. I set the ActionPerformed as:
Pollframe poll = new PollFrame(); // This initializes the form
po...
i am working on a small project that i need the ability to let users upload a video to my website or use a webcam to record a video and then upload it. i have seen this done on several sites (youtube,facebook etc) so i know that there is a java or flash applet that supports this. however i have not been able to find one.
can anyone reco...
I'm writing a portal in PHP that allows users to upload DICOM images, and allow users of the same group to view those DICOM images through a Java Applet. The html code to display images through the viewer looks like this:
<APPLET archive=radscaper.jar codebase=./ code=com.divinev.radscaper.Main.class width=100% height=100%>
<PARAM NAME=...
I have a signed applet which writes text files to a specified directory in a client workstation.
When I load the applet in a web browser for the first time, there was no problem. It manages to load in the browser and writes data to a text file. But when I continue to load it again, it just won't load. All I see is the Java loading image...
I'm trying to develop an input real-time verification on a textfield in a Java applet.
The idea would be to have an input field that, if empty, once the user clicks in it it would show something like "0,00". Once the user starts to press the keys, only numbers should be accepted, and it would start to fill the text like this (imagine I...
Creating a JApplet I have 2 Text Fields, a button and a Text Area.
private JPanel addressEntryPanel = new JPanel(new GridLayout(1,3));
private JPanel outputPanel = new JPanel(new GridLayout(1,1));
private JTextField serverTf = new JTextField("");
private JTextField pageTf = new JTextField("");
private JTextArea outputTa = new JTextArea(...
Hi all, I want to convert an java application to applet, but I an having problems to load it in the browser I presume this is because of the package.
package com.applet;
import java.applet.Applet;
import javax.swing.JApplet;
import javax.swing.SwingUtilities;
//import javax.swing.JOptionPane;
@SuppressWarnings("serial")
public clas...
Hello All,
I have a desktop application that has a control with a WebBrowser control inside. Everything works fine except with Siebel CMR popups. When it opens a new popup , Siebel tries to load an applet in the popup window but it doesn't work , it works fine in the main browser. This works perfectly with IE also. It seems to be relate...
Hello world, I'm having a problem with a Java applet I've deployed that is refusing to be cached in the jvm's "sticky" cache (or by the browser). For some reason every time a user loads the page this applet is on, the jvm re-downloads the jar file from the server which causes a long delay.
The webpage containing the applet is being acc...
How can you save a Java applet (JAR/etc) so it can be accessed later?
...
Is it possible to use a font not on the user's machine for text displayed in a java applet.
Like linking to a ttf font file in the same location as the java applet almost in an @fontface fashion.
...
Here is my object tag.
<object classid="java:my.full.class.Name.class"
height="360" width="320">
<param name="type" value="application/x-java-applet">
<param name="archive" value="applets.jar">
<param name="file" value="/report_files/1-1272041330710YAIwK">
<param name="codebase" value="/ap...
I'm currently working on a corporate intranet application. Part of the requirements are to have the application start a program on the users local PC (Minitab) and then have the webapp communicate with it via it's COM interface.
What are my options for doing something like this?
A signed Java applet and Jacob
ActiveX and .NET (this w...
I have to say the I don't know much about how file formats work.
My question is say I have a jpeg file that is 200 px by 200 px, how can one calculate what the maximum size that file could be in terms of megabytes/bytes?
I think that the reasoning that led to the question will help some one answer me. I have a Java Applet the uploads I...
hello
i have a java applet application in which i use rich text area . i write URDU the national language of PAKISTAN. i managed to do so with uni codes. the problem is, when i write urdu in text area and select a font and color for each line it do all of this but when i save this file using UTF-8 encoding and then open it again it show...
Hi All,
I am facing a weird problem in Testing server while using applet (using embed tag) in my ASP.NET MVC application Applet works fine locally in both browsers IE and Firefox but when deployed to Testing server its throwing below exception for Firefox only (IE works fine).
Please help me out in this
basic: exception: javax.xml....
Hi guys,
Ive got a problem with loading an applet from WEB-INF/classes directory.
The main class of an applet (MainApplet.class) is there in the package aaa, but when loading I got the exception
java.lang.ClassNotFoundException. Where am I wrong? My jsp is in Web Pages dir.
< jsp:plugin type="applet" code="aaa/MainApplet.class" jrever...
Hi guys,
I spent a lot of time on thinking what is wrong with the following code. I
send the object from my applet to servlet and then I read the object from servlet.
Everything goes fine till reading serialized object from the servlet -
I got IOException.
Thank you in advance!
Here is the code:
Applet:
try {
URL servletURL =...
I've tried to implement a cursor focus on an input area and IE has given my a lot of headaches. I've tried things along the line of (changing the timeout too, to large numbers):
setTimeout(function() { document.getElementById('myInput').focus(); }, 10);
and it won't work. I've noticed that I have an applet on the page as well, and whe...
Is any way to convert a java applet code to java script?
...