The following GUI code is working in 99.99% of OS environments used by our customers:
jStatusDescription = new JTextArea();
jStatusDescription.setFont(new Font("Verdana", Font.PLAIN, 12));
jStatusDescription.setText("test"); <-- crashes
However, there are now ... |
Applet loading seem to fail with JAVA 1.6 to error java.lang.ClassNotFoundException:
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
I believe this is related to limited security of user ... |
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 ... |
we have a java server-client application with an applet in the client side.
our applet seems to be used by attackers for bots and other attacks... we suspect that they modified it ... |
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 ... |
We have an unsigned applet that talks to a streaming server (not HTTPS, just socket-socket, but that is not important). All is fine using plain TCP/IP, but when I try to ... |
I wrote an applet. In normal enviroment (PC with browser), it runs just fine. But when I run it from browser on server, to which I connect via terminal, problems begin.
The ... |
|
In my project I have to save the chart as gif image on server machine which is created by java applet on client. At the server end server is IIS server ... |
Right now I'm doing it this way:
Within my applet, I connect to the URL of a CGI script, which starts the server process.
Is there a better way? How would you go ... |
For some reason when I connect one Java client to my Cpp server it works perfectly. But when another Java applet tries to connect in addition to the first, it does ... |
I need to open a document for editing with associated application on MAC OS X from Java applet. The document is located on a WebDAV server.
What command should I use ... |
I am trying to create an account based website (one where you can sign up for an account, log in to your account, etc.) and I am wondering if it is ... |
I am working on an applet which interfaces with a signature pad and can write the image to a file with this code:
sigObj.setImageXSize(30);
sigObj.setImageYSize(10);
sigObj.setImageJustifyMode(5);
sigObj.setImagePenWidth(5);
BufferedImage sigImage = sigObj.sigImage();
try
{
int w = sigImage.getWidth(null);
int h = ...
|
My applet that connects JS/Java with LiveConnect worked from localhost but when transferring to server I get this error in java applet console. Do I have to do something before I ... |
The applet I build runs well off my localhost but when I upload it to server and look at url I recive these java applet errors: Are there extra steps I ... |
I am trying run geotools on the web and have been googling around how to run geotools in Java applets. But there is nothing I can find.
Does anyone know what is ... |
I need to develop an applet using vncj such that the applet can act as a VNC server and the system can be viewed by other using VNC viewer.
A sample ... |
|
|
Hi, I want to develop a programme that basically can do two things; 1: monitors regular browser interaction so that the programme knows which web-page is current at a certain moment 2: Allow the user to enter data from a browser and which uses the current web-page that was monitored. Intuitively, I would think that I have to split up my ... |
|
I have an applet that connects to a server and sends its queries to the server. This part is working fine. The server is an XML RPC web server. Now I also want to initiate another server (XML RPC web server) from within the applet. Now the problem starts!!! When this applet server is initiated a chain process takes place which ... |
I am writing a java applet which will be placed into a web page. It gathers data from a file on its local server. I want the applet to also be able to write to this file. What permissions or policies do I need to add to the applet for this to occur? Must the file be a database? Do I ... |
|
|
I am a JAVA beginner and I have made an applet compiled it and am calling the .class file with html page. It works perfectly on my pc in IE and firefox. The problem is that when I uploaded the files to a server they no longer work...just a red X and a applett failed message in the status bar..... any ... |
My applet generates Image object which I then want to save it to that same server that the applet is running from. I'm planning to send the image to a .php file through $_POST parameter and then let the PHP deal with the filename, location...etc How would I do that? I tried every keyword combination with google and I haven't found ... |
Hi, I study computer science 2nd year. Anyway, I hope my question isn't too stupid, but I'm just trying to make sure. My father wants me to do an application for his company that would have acces to files in 1 chosen computer in the network. However, the application should be accesible from all the computers in the network. Initially I ... |
No. I see a few possibilities, from best to worst: 1. Tell us why you need it, perhaps we may suggest a solution that does not involve extracting the list of directories. 2. Expose the directory using FTP and use an FTP client library in your applet. 3. Allow the web server to provide directory listing, and use HTTP in your ... |
|
Keep looking, but you should find out that a servlet is meant to serve a request from a web client. If you have something that's going to take an hour, you don't want it to be run via a servlet. A request over the web should be responded to within a few seconds. |
Hi, I created for a school project a Java Applet, which should run on a server. It makes use of some external JARs, i.e. a mysql JAR and a httpclient jar. It works... when running locally from eclipse. But here the trouble starts. Getting it working out of eclipse becomes a problem. It gives an error, that it can't find the ... |
I have a java applet that is accessed by users within my company's intranet via a browser and the |
I have a C server that has to send objects to a java applet. What is the best way of doing this? The current way is using memcpy and sockets. But memcpy doesn't change with the object and every time the object is changed, the transfer method has to be changed. Malfist |
package com.gen.hospital.applet; import java.applet.Applet; import java.awt.*; import java.awt.event.*; import java.awt.image.BufferedImage; import java.io.File; import java.io.PrintStream; import java.net.URL; import javax.imageio.ImageIO; import javax.swing.*; public class DrawExample extends Applet implements MouseMotionListener { Graphics bufferGraphics; Image offscreen; Dimension dim; int curX; int curY; Image my_gif; URL base; MediaTracker mt; private JLabel jLabel; private JButton jButton; ButtonGroup group; Color col; private JRadioButton jRadioButton; private JRadioButton jRadioButton1; private ... |
I developed an applet that has worked perfectly during my testing on my local apache server, but when I put it on my web host the applet won't load and the browsers lock up. I have tried it with a couple of browsers. I am at a serious loss to figure out why it wouldn't work from my web host. My ... |
|
=> My program problem , it is in version e, i been fixing it but cant find a way to fix my game to LOOP till Winner is determine. The program will stop displaying MyTurn on the JLabel status and mouse event seem no longer work after ROUND 1 pass , which is player 1 click on player 2 and player ... |
Based on my teacher told me... He said that this project is made to check which policy / security must be opened to make this project happened. And, the main point of using Java Applets is there is no need to install anything in the client PC. I'm afraid Java Swing need at least JRE in the client PC. |
i need to know (because im absolutely clueless): 1) can you run a server on a webpage that someone else is hosting 2) how do you do this 3) how can i use an applet to send something to the server so that it can write a file that i will have access to at a later date because the applet ... |
Dear all, I'm developing a java applet working in a apache server to collect the data from the serial port of the linux operating PC. In a part of my java applet, it consists of the following code: Socket socket = new Socket("www.google.co.uk", 80); InetAddress localhost = socket.getLocalAddress(); socket = new Socket("localhost",9001); when i 'm opening the html website of the ... |
Dear all, I'm developing a java applet working in a apache server to collect the data from the serial port of the linux operating PC. In a part of my java applet, it consists of the following code: Socket socket = new Socket("www.google.co.uk", 80); InetAddress localhost = socket.getLocalAddress(); socket = new Socket("localhost",9001); when i 'm opening the html website of the ... |
for (int i = 0; i < 4; i++) { String imageText = null; imageText = getParameter("image"+i); if (imageText != null) { totalPictures++; try { URL url = new URL("http://localhost:8080/Test5/ images/"); // LINE 1 // URL url = new URL("http://www.dearg.net/images/ "); LINE2 // LIne 1 works Line2 does not picture = this.getImage( url, imageText); } catch (MalformedURLException e) { } } ... |
Hi , I am using JCChart in my project and using applet to display the chart. The chart is created at the client machine by the applet. now there is an option to export the image as a gif file of the chart to user, so when user click on export button then the image should be save in gif formate ... |