applet

java ide applet

I'd like to be able to graphically design java web applets like you can do with standard desktop java programs in netbeans...but I can't seem to be able to do that in netbeans. Any ideas on programs, or maybe I'm not doing it right in netbeans. Thanks. ...

How to pass a parameter to an applet? (secure mode)

Hello, I've been trying to find a proper way to pass some information, such as password, to my applet. Since the code is executed on the client, I don't want to put that information in clear text in the "param". I'm using php as script to generate the web page. So, I was wondering if there was already some kind of solution/mechanism? ...

java applet hotkeys

I was curious if it was possible to create hotkeys in a jApplet that are global for the applet...like a global key handler or something. For example, I would like to be able to press the key, 'F11' lets say, then have a jPanel appear, and then press 'f11' again to make it disappear... regardless of which component I'm focused on.I don't...

Trouble writing file from within a java applet

Hello, I have created simple Java class to test file writes from applets: update appeared public class localfile extends Applet{ public localfile(){ try { File f = new File("testfile.txt"); BufferedWriter out = new BufferedWriter(new FileWriter(f,true)); out.write("test"); out.close(); } catch...

call applet in spring class

how to call a applet in spring control class? ...

Does anybody know if JSystem can be used for testing Java applets?

Does anybody know if JSystem (open source code based on JUnit and ANT for automated tests) can be used for testing Java applets? All I need is Yes or No and if possible a link for reading about it. If you are familiar with another tool that can be used, please give me a name or a link to reading about it.Thanks. ...

Java Applet not creating shapes

Trying to make this simple applet - the first part just creates a simple gui where the user selects the number, shape and color... then when they submit that it loads another applet which takes that information and creates that many shapes in that color. Simple enough except it's not working - the second applet just sits there blank. N...

OfficeBean won't display after moving containing Swing Panel from one Container to another

Hi, I'm developing a Java 6 applet which allows users to view OO (v.3.2) documents (read only), and if they choose, click a button which launches a new JDialog window, with the document displayed in it which allows the user to and mark and redact it as they wish. Once they are done, they can close the JDialog, which saves the document t...

Java Applet would load only once (in the first window) in Internet Explorer

Hello all I am in a bit of fix here. In my company, we have a local intarnet website which has a menu bar in the form of an applet. Few days ago i remember i downloaded an update (either JRE or Windows , i can't recall) and after that in IE strange behavior is observed w.r.t the menu bar applet loading. If i open the web page first tim...

What is the proper way to handle the closing of a java applet?

We have a java applet that runs windowed outside the browser window. I always assumed that by clicking the X to close the window (or right clicking on the task bar and selecting close) was all you needed to do to close an applet. However, it turns out that when closed this way, our applet crashes Safari (in both Mac and Windows) every ...

Want to send client's screen image at periodic interval though applet. Java

Hello, I am using applet that is embedded in my web page. I am using Robot class to get client's screen as a image and send the BufferedImage using sockets. Problem is i am getting PrivilegedAccessException as soon as i do :- Robot r = new Robot(); I don't want to force my user to change their java policies for my application. What a...

Programatically disabling OpenOffice "New", "Help" and "AutoText" shortcuts

Hi, I'm writing an applet (java 6) which contains an OpenOffice text document (OOo 3.2) using the OfficeBean - http://api.openoffice.org/docs/DevelopersGuide/OfficeBean/OfficeBean.xhtml. To tightly control the user's interaction with this document I want to disable all the OOo keyboard shortcuts, and have managed to use the following...

Import for Java or Other Languages that will Generate Flowcharts, Given Data

I'm trying to create an automated "spider diagram" like the ones created by VUE: http://vue.tufts.edu/ VUE is open source, but the issue is that you create the maps in the program. I want to have a program that will pull the data from an excel sheet and display the map automatically when run. I know how to open and parse the data in f...

Launching a Java applet from BlazeDS

Hi all, I wanted to know if it was possible to launch an Applet from BlazeDS? Thanks in advance ...

Applet stops at "Applet loaded" and displays nothing, works perfectly on BlueJ AppletViewer.

Background:  I have a basic applet from various tutorials and books written that adheres to their instructions and, after much toil over getting it to display anything at all, I finally have it so that it displays fine in Applet viewer. It has 3 classes: Animation, Sprite, and spriteTest. Animation and Sprite classes have been thorough...

Hide a ADBannerView. Is it ok to move it offscreen?

Hello, When the user changes screen, I want to hide the current ADBannerView . Is there a "right" way to do that? If I move it offscreen for instance, is it fine: I was wondering if it could keep serving ads while not being displayed and then I would break some Apple Agreement. Is it also OK to cover an Ad with a modal view? Thanks! ...

Refreshing label in Python

I creating applet in gnome panel. All code is good. But info in panel is static. But need refresh this info in time. 1 secon or 5 second... Here is part of python code: #!/usr/bin/env python # -*- coding: utf-8 -*- import sys import gobject import gtk import pygtk import gnomeapplet import time import urllib2 pygtk.require('2.0') def ...

java applet: Zebra printer found but command string does not print

Hello, I have a small java application that prints a label on a Zebra printer. When the port is made to an applet, (app => applet) nothing comes out from the printer. Any ideas why this is happening? The printer 'lookup' process is completed successfully from the java applet and the printer is found The command string to be sent is ...

Do applets and the browser share a cache?

I have a third party applet that makes use a csv file, let's call it file.csv, and makes use of all of the columns. I also have a third party swf object that makes use of file.csv but only makes use of 20% of the columns. The initial decision was to use the same file for both because it would result in easier maintenance. My question is...

Using a session with php and Java

I'm currently trying to use the current session of a php web page from an applet. I tought it would be straightforward, but it didn't go as smooth as I tough. From the php man: session_start() creates a session or resumes the current one based on a session identifier passed via a GET or POST request, or passed via a cookie. From ther...