Все вопросы: [applet]

305 вопросов

похожие теги: applet-servletsigned-applet
0
голосов
1ответов
2968 просмотров

AccessControlException when connecting to a SFTP server using JSch from an Applet

The applet will download file from a SFTP server. JSch libraries are used to create a session, connect to the SFTP server using it, create a SFTP channel and execute GET command for that file on that server. The applet is signed. Code snippet for downloading a file: public static void prepa...

-1
голосов
1ответов
1567 просмотров

How to get an Applet in a table-row to size dynamically

I need to insert an applet into a table-row and get that table-row's height to dynamically resize according to the browser's window size. If I put fixed values for width & height in the td-tag, it shows the applet fine, but I need to be able to resize this according to the client's size capab...

0
голосов
3ответов
208 просмотров

New to Applets and Servers. Ways to store information on server side?

I am writing my first real applet and I need to store some data. I've never really messed with putting and maintaining code on the internet, so please bear with me if I'm a little slow to catch on. I'm building a Calendar applet for work (just a student worker) and I'm not sure how to store nec...

0
голосов
1ответов
999 просмотров

OpenSUSE multicast not working?

I'm trying to do multicast dns on OpenSuSE through a trusted java applet, and my attempts to find anything on the network are silently blocked! What could be the problem?

2
голосов
1ответов
880 просмотров

Grabbing graphics data from Google Street View object

As the title suggests, I have a Google Street View object in my web page. My program 'drives' along certain routes, essentially, I control Google Street View's javascript API through an embedded Java applet (in the same page). I need to be able to grab imagery from my current Google Street View ...

0
голосов
4ответов
331 просмотров

Obtaining a screen shot of an Applet?

Given an Applet object, is it possible to programatically obtain a "screen shot" of the applet window (represented as say a BufferedImage)? JApplet applet = this; // ... code here ... BufferedImage screenshotOfApplet = ...;

0
голосов
1ответов
848 просмотров

Obtaining a JFrame from a JApplet

Given a JApplet, how do I obtain the JFrame object corresponding to this applet? JApplet applet = this; JRootPane rootPane = getRootPane(); Container contentPane = getContentPane(); JFrame jframe = ...; // How do I obtain the JFrame?

9
голосов
2ответов
15126 просмотров

Get the correct local IP address from java applet

I would like to determine the local IP address from my java applet. The problem is when there are several IP adresses on the same machine, which has LAN and internet connections (palm, VMWare...). Here is my test : public static void main(String[] args) { try { String hostNam...

0
голосов
1ответов
2974 просмотров

Signed applets having certificate denied sporadically over HTTPS

We self-sign some java applets that we put on our web application, which usually runs across HTTPS. Sporadically we get exceptions in the java console: load: class <our class name> not found. java.lang.ClassNotFoundException: <our class name> at sun.plugin2.applet.Applet2ClassLoa...

1
голосов
1ответов
1427 просмотров

webcam access using opencv with processing in an applet or application

I made a small sketch with processing using opencv to face detect and track. But when I export as an application and start it nothing happens, same as an applet. First I exported the applet and thought this must be a security issue, and struggled with some hack for processing to sign your java ap...

1
голосов
1ответов
1236 просмотров

Possible to launch JWS applet within browser instead of standalone?

Is it possible to embed an applet in HTML so that it will be displayed within the browser window yet launched through Java Web Start via a JNLP file instead of using the browser's Java plugin? If so, how is this done? I've only been able to launch my applet in a standalone window, but disliking...

4
голосов
2ответов
1935 просмотров

What cookies are sent by the JVM to the server when running a Java applet?

On my web server I have an HTML file that contains an applet tag: <html> <head/> <body> <applet code="Hello.class" width="100" height="100" /> </body> </html> And I have a Java class file named Hello.class in the same directory as the HTML file. B...

0
голосов
1ответов
191 просмотров

Access Java applet data before it displays on browser

How can I access Java applet data before it displays on my browser?

6
голосов
2ответов
1805 просмотров

Restrictions on what an unsigned Java applet can do?

I'm trying to compile a complete list of all restrictions placed on unsigned Java applets (defined as things a normal Java application can do, but an unsigned Java applet cannot). This is the list I've compiled so far: An unsigned Java applet ... Cannot access the local filesystem. Cannot a...

0
голосов
1ответов
247 просмотров

Algorithms behind this animated java applet

I was recently happened to see this animation (http://universe.daylife.com/). I was wondering what are the algorithms behind this applet. How and Where to learn such things? Thanks

0
голосов
1ответов
422 просмотров

configuring applet options in the <applet> tag</applet>

I must not be very good at googling today. I want to set the option that appears in the applet config that disable applets for being able to access the certificate store of the browser, but not for all the applets, just for one applet. Do you know where can I find all the applets options? Regards

0
голосов
5ответов
786 просмотров

Message to a client from the server

I have to design a client/server system emulated on a website running Ruby on Rails that should work like this: a page is requested by a web browser and once it's opened the server can push messages to it I know this is not possible "naturally" but I was thinking of a sort of "java applet" that...

3
голосов
2ответов
8184 просмотров

Using separate_jvm to start applet in individual JVMs not always working

I have an applet that takes a fair amount of memory so we want to start it with separate_jvm = true so that each instance gets its own JVM (rather than a shared one) so we don't run out of memory upon repeated invocations. This works on our development boxes, but fails on our clients' computers. ...

0
голосов
4ответов
1797 просмотров

How can I update my MySQL database from a Java applet?

I'm new to Java and I need some advice/information on how to debug my Java Applet. I have created a applet that simply updates a MySQL database. The applet seems to load in the web page with no errors. When I click on my button to update the database it seems to actually make the call to the a...

1
голосов
2ответов
4290 просмотров

jscrollpane to scrolling a panel

i have to writing an applet, in left side i must use an panel to contain a list of vehicles that can be a list of buttons,what is the problem, number of the vehicles are not given !!! so, i need to scrolling panel when number of vehicles is too much, i do this for jframe, but it didn't work c...

1
голосов
1ответов
329 просмотров

Applet issue with jre 1.6

I have an applet, and it consist of an CLOSE button which closes the applet and redirects user to the home page. Home page consists 3 frames (Top, Left and Right). Once user clicks on the CLOSE button, the home page is appearing in the right frames, due to this now user has inconsistent view (mul...

0
голосов
1ответов
239 просмотров

Where Java applets game portals?

I have started making some small Java games that run in a browser and have found a couple of game portals where I can host then (GameJolt.com, JavaGameTomb.com and Games4j.com). Most of the other portals I find either only allow Flash or offer the games for download. Apart from those above, what...

0
голосов
1ответов
397 просмотров

Printing GIF files from a browser

We are currently leveraging a third party tool to convert pdf files into gifs and displaying them in the browser. We have been adjusting the DPI of these images so that when printed they will look as close as possible to what the original pdf looked like. We've found that at least a setting of 30...

6
голосов
3ответов
24776 просмотров

where policy file location for my applet that needs clients permission to access resource?

i find out that i must write a policy file to grant permission for my applet... but i really confused with it... :( i want to write a applet that is a map viewer, i need to save image tiles on client that run my applet to locally access tiles for gain speed and time safely viewing map which is ...

0
голосов
2ответов
1499 просмотров

how to grant an applet permission for the resource accesses it needs?

i have a problem with define permission for my applet that would to spacial resource access like get user.name property or file system command like create,read, write directory or files... the applet must write any data -ex. images- that received from a web application in such files in temp di...

2
голосов
3ответов
260 просмотров

Internet Board Games

Hello I'm looking to create a web-page where users can play Gomoku live with eachother, kind of like instantchess.com, or yahoo's online pool. I would like to be able to.. 1) Have the players to chat with each other while they play. 2) Have registered users where a ranking can be kept track of. ...

1
голосов
1ответов
722 просмотров

Simple Java Sound Applet won't work!!! ARG!

import java.applet.*; /** * SoundApplet.java - a simple applet that plays the "gong.au" sound file. */ public class AppletGame extends Applet { public void init() { super.init(); resize(0,0); AudioClip gong = getAudioClip(getDocumentBase(), "test0.au"); gong.play(); } }...

2
голосов
5ответов
9032 просмотров

Java applet as stand-alone Windows application?

I have a Java applet that is meant to run only on Windows. (It uses a 3rd party COM object; it is not cross-platform.) Is there a way to run a Java applet as a stand-alone application on Windows?

2
голосов
2ответов
774 просмотров

Creating interactive pplets from R Output

Currently, I generate results from statistical analyses (e.g., a three dimensional plot) and then "manually" move it to processing - a graphics programming language) where I can (with some simple coding) export an interactive java applet (e.g., allow the person viewing the plot to move in, out an...

3
голосов
1ответов
6968 просмотров

Applet - server communication, how can I can do it?

I have an applet and I must send a request to a web application to get data from the server that is in a database. I am working with objects and it is very useful that the server responses me with objects!! How an applet can communicate with a server? I think web services method, RMI and... mak...