Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
2 votes
0 answers
47 views

Is it possible to use the Java 17 compiler to compile a Java Applet that calls netscape.javascript.JSObject.getWindow()?

I know applets are no longer formally supported. I have some legacy code that can still run using IE 11/Edge in compatibility mode. I can also run applets in any browser using Webswing. My applets ...
ForceRs's user avatar
  • 131
0 votes
0 answers
16 views

Creating an applet error for linux mint cinnamon 22

Description: I am trying to build applets for Linux mint, This is the first time I am entering building apps space, I was previously a web developer, so I have an idea on JavaScript. At the moment I ...
Manoj HT's user avatar
0 votes
0 answers
19 views

I keep getting the error "The constructor FogDevice(int, String, int, int, int, int, int) is undefined" even after importing the necessary library

This is my java code in iFogSim: package org.fog.test.perfeval; import java.util.ArrayList; import java.util.Calendar; import java.util.LinkedList; import java.util.List; import org.cloudbus....
Andromeda Galaxy's user avatar
0 votes
1 answer
51 views

JavaCard CAP Conversion Fails with "Invalid AID" Error Using JCOP SDK

I've tried about 100 different renditions of the converter command, different AIDs, using only the applet AID, removing the "1.0". It always results in "Invalid AID". I was able to ...
keepaerie's user avatar
0 votes
2 answers
174 views

Cannot access data passed to shareable interface method in javacard

I new to javacard applet programming and trying to understand shareable interface to call a applets method in another applet. Below is my setup sourceapplet.java is the applet where my shareable ...
Preeti 's user avatar
  • 703
0 votes
1 answer
49 views

Obtaining certificates installed on users' Windows machine for digital signatures [closed]

We are developing a functionality for our application that lets you digitally sign a .pdf document. This can be achieved via three methods: Using a .pfx certificate. Using one of the certificates ...
ProfessionalBat6139's user avatar
0 votes
0 answers
35 views

How to Extract GeoGebra Script from a GGB File?

I would like to know if there is any way to extract the GeoGebra script from a GGB file, and whether this script can restore the original effects as closely as possible. Currently, the basic logic is ...
user24230445's user avatar
0 votes
0 answers
61 views

Unable to Read Binary Data from Smart Card After Successful BAC - “File Not Found” Error

I am working on a smart card application where I successfully connect to the card using keys derived from the MRZ through the Basic Access Control (BAC) process. I am able to select the Data Group (DG)...
Shehab's user avatar
  • 1
1 vote
0 answers
39 views

Select application by AID in JavaCard SIMToolkit application

I want to develop a SIM Toolkit applet and inside that I want to access some files in file structure of UICC inside my applet. The normal file select command is like this: sim.select(SIMVIEW.FID_MF); ...
VSB's user avatar
  • 10.3k
1 vote
0 answers
185 views

Error executing JNLP file with Open Web Start

I have an old Applet that is using Java Web Start. To launch this Applet, I use this JNLP file: <?xml version="1.0" encoding="utf-8"?> <jnlp spec="6.0+" codebase=...
Soku's user avatar
  • 59
1 vote
2 answers
150 views

Need to execute an applet installed on a remote server without using Java Web Start or any browser

Scenario: My company is maintaining an applet that is used by many machines through Java Web Start. Java Web Start is triggered by an JNLP file that contains all the informations and parameters to ...
Soku's user avatar
  • 59
0 votes
0 answers
50 views

Trying to modify Cinnamon menu

I made some changes to [email protected] applet to add drag and drop functionality: I added this to class ApplicationButton extends GenericApplicationButton { ... handleDragOver (source, actor, x, ...
tomm81's user avatar
  • 1
0 votes
0 answers
19 views

Adding pararelism to algorithm wator in java

I have a school project where they make me optimize alogrithms. The task is to add paralerism to the algorithm. I choose wator and I have to run using static decomposition of the matrix of cells with ...
Dave's user avatar
  • 1
0 votes
0 answers
12 views

Is it possible to write Mint panel applet that displays an editable text entry?

I would like to create a text entry that would evaluate some text upon the ENTER key-press. Is it somehow possible? So far I tried this by setting the IconApplet actor property at launch to new St....
luke1985's user avatar
  • 2,354
1 vote
1 answer
233 views

Java Applet not running on MacOS

I am trying to learn about Java Applets in VSCode but am not able to get through the intricacies. This is my java code in main.java file: import java.applet.*; import java.awt.Graphics; @...
Arjun Malhotra's user avatar
0 votes
0 answers
42 views

Java applet code has scale variable for sizing window not sure what it's for

I am having a bit of difficulty understanding what the purpose of this code might be. I put an applet into a Java decompiler and this is the code. Specifically, the line where it is setting the ...
milkdrinker's user avatar
0 votes
0 answers
167 views

Can't See the CVV field on Apple Developer Program Payment Form

I'm trying to complete my Apple Developer Program Order. I'm unable to enter the CVV field of my VISA Card. There are no field for this. You can see the screenshot. I can just enter the card number. ...
LANKOANDE Yabo's user avatar
0 votes
0 answers
74 views

Can't install .cap file on NXP P71D321

I'm having an issue with installing a .cap file on a NXP P71D321. I'm trying to install an applet on my card using gpshell, but it says it can't open a secure channel ("Failed to open secure ...
Radu Moraru's user avatar
1 vote
2 answers
233 views

how do I view an old applet?

I have the code for an old Java applet and the class files. I would rather not recompile it, but if needs be, that's okay too. What's the easiest way to view this applet, when I can't find the right ...
kloop's user avatar
  • 4,701
1 vote
1 answer
272 views

How to set priority of a process(that gets inherited by OS threads) in golang for mac?

How to set priority of a process(that gets inherited by OS threads) in golang for mac? syscall.SetPriority with syscall.PRGRP flag sets priority of a process and gets inherited by threads on ubuntu. ...
abt's user avatar
  • 11
3 votes
1 answer
220 views

How to save and restore macOS Launchpad configuration?

Often times when I update macOS it screws up the placement of majority of my apps within Launchpad. I'd like to be able to backup it's state so that when I do major updates, I can restore the app ...
Chris's user avatar
  • 458
0 votes
2 answers
329 views

android.se.omapi.SEService: My app doesn't connect with the OnConnectedListener

I am trying to create an application that transmits APDUs to a SIMCARD using the OMAPI libraries, but the OnConnected listener for SEService is never called. I followed the structure I found here: ...
Dariel Reyes's user avatar
1 vote
0 answers
28 views

wrong notifications from my applet ( IFTTT ) (Python trading script)

I’m trying to set a notification throw the webhook, using IFTTT, but I’m keep receiving wrong notifications: {{value1}} the idea that i want to auto from my applet to read ( message = f"stop or ...
Anas Silawi LE6END's user avatar
-2 votes
1 answer
59 views

How to animate a ball grow with NoApplet?

I am trying to make a simple animation in java where a ball grows in size, then have a subclass that when I run it, it makes the ball grow in size until it reaches the end of the screen, at that point ...
Pipopi's user avatar
  • 19
1 vote
1 answer
75 views

Why is my ACOSJ Javacard applet failing to install?

I'm writing an applet for an ACOSJ card in JCIDE and I keep getting the error message: 'Install Applet failed' with the response APDU 69 85. This is my install method public static void install(...
LozCodes's user avatar
  • 119
0 votes
0 answers
46 views

Using symmetric key DES to sign and verify a message

I want to know how to write an applet for sign and verify message using with DES symmetric key or AES. I need applet code for the same in applet we should not use RSA key and key pair. I am new to ...
bujji's user avatar
  • 11
0 votes
1 answer
103 views

IsEnabled not working when a function is triggered in Java applet

I want a button ("closeButton") to grey out when the function "openExplanations" run. But it is not working. Gives error Cannot invoke "javax.swing.JButton.setEnabled(boolean)&...
Vedant Bahel's user avatar
0 votes
1 answer
40 views

Exception in thread "AWT-EventQueue-0" | JSVGCanvas and SVGLoadEventDispatcherListener are in unnamed module of loader 'app'

Getting this error at Java runtime: Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: class org.apache.batik.swing.JSVGCanvas cannot be cast to class org.apache.batik....
Vedant Bahel's user avatar
0 votes
0 answers
859 views

Java applet is not working in Internet Explorer

I got this message when I tried to open a Java applet page in IE. alert message for running applet I set internet option settings, and checked Java(JRE), and script, HTML applet code, file existing ...
Yu Sinae's user avatar
0 votes
1 answer
279 views

Is there a MapKit JS event to detect when the map has finished loading?

Is there a MapKit JS event to detect when the map has finished loading? The documentation does not show anything on how this is possible. Does anyone have a workaround that does not involve a ...
SlickRemix's user avatar
0 votes
1 answer
71 views

In GeoGebra applet line and circle tools work wrong

I prepared an applet embedded in a HTML page. When I choose a line tool for example and make click on the GeoGebra area then it is supposed that the first point should be drawn and after the second ...
eug100's user avatar
  • 189
1 vote
0 answers
109 views

Applet not being uploaded to Eclipse simulator java card

please help me . i am learning Javacard programming through this: https://docs.oracle.com/en/java/javacard/3.1/guide/running-helloworld-sample-command-line.html#GUID-1C5B7DC3-CEB9-4E0C-A45E-...
TELYD1996's user avatar
0 votes
1 answer
135 views

Why access denied (java.lang.RuntimePermission setSecurityManager) in my java Applet?

I had an existing very very old java applet which use : <dependency> <groupId>com.al6</groupId> <artifactId>rxtx</artifactId> <version>2.1.7</version&...
user2178964's user avatar
0 votes
0 answers
54 views

Automating download and upload documents from a java webapplication

The company I work for, provides a Java webapplication deployed on Tomcat for public office processes automation. For a faster and user-friendly file modification of attachments loaded into the ...
user9038848's user avatar
2 votes
2 answers
1k views

Is there a way to make Java Applets work today?

Recently, I came across with a problem at work. A person needs to use a web service that mandatorily requires Java Applets to work. I searched a lot and saw that those were removed from browsers ...
rookie's user avatar
  • 136
1 vote
2 answers
2k views

How can to java applet program in eclipse?

Now I am using the JDK 18 version. When I tried to execute the applet program I am getting an error telling could not find or load the main class sun.applet.appletviewer. I saw many videos on YouTube ...
sanalsabu's user avatar
-1 votes
1 answer
231 views

Migrating a graphics heavy Java Swing application to the web

I have a large Java Swing application I'd like to migrate to the web. It makes very heavy use of 2D interactive graphics and also uses Java3D. It started life as an Applet in Java 1.0 and grew quite ...
UnixNerd's user avatar
  • 343
3 votes
2 answers
1k views

What is the recommended way to embed a Java program in a web page?

I have a game in a runnable .jar that works great on my computer, and I want to host it on a web page. I've been scouring the web for the best way to do this but older answers aren't taking into ...
Bryce Eller's user avatar
0 votes
1 answer
765 views

How to add additional .jar to JRE System Library [JavaSE-1.6] in VSCode?

I have a Java applet project that some of the package unable to be recognized in VSCode. It because the project doesn't import plugin.jar and I can't see it in JRE System Library [JavaSE-1.6]. I'm ...
Will Huang's user avatar
  • 3,546
0 votes
1 answer
436 views

I want to force an Applet to only use Java 1.6 (Java 6)

I have inherited support for an old Java Applet (written circa 2010) in Java 6, (1.6) to support. I have even inherited support for a couple of Java 3 applets. The Java 3 works as the following code ...
Adrian's user avatar
  • 1
0 votes
1 answer
151 views

Embed a Java applet in a Web Project

The company I work for has one of their main products written in Java, it is an applet made up of numerous sub programs. Our goal would be to develop an alternative GUI to the current Java using Web ...
Plastic's user avatar
  • 10.3k
1 vote
1 answer
93 views

How can I make a javacard appet which is not possible to be multi instance

I want to create a javacard applet which could not be installed more than once at the same time. It means if I instantiate applet once, It could not be possible to install another instance of that ...
1chenar's user avatar
  • 197
0 votes
1 answer
539 views

How to set different tint color for leftBarButtonItem and rightBarButtonItem in Swift

I have tried many solutions but it’s not working as expected As per my application structure in every viewcontoller viewWillDisappear we have to restore navigation bar like below code let ...
Jayaseelan Kumarasamy's user avatar
0 votes
0 answers
213 views

Java: Using applet JAR as a maven dependency with native libraries

This applet was run through javaws. The jnlp file allows me to download the base jar, as well as some native libraries, compacted in separate jars for each OS. With java support ending for browsers, I ...
jonasmylesx's user avatar
0 votes
2 answers
414 views

Developing task bar applets for Cinnamon: How to reload the code?

Working on a Cinnamon Javascript applet (Example). How can I reload the code, so that the applet in the task bar reflects the changes I make in the Javascript? Manually removing the applet from the ...
user avatar
0 votes
1 answer
162 views

Log to a file from Javascript code executed with no console window

Working on a Cinnamon applet (Example). These use Javascript interpreted by the cjs interpreter and run without a console window. How can I log something to a file or to a console from within the code ...
user avatar
0 votes
0 answers
24 views

How to fix Applet not initialized [duplicate]

Problem & Background-info I'm trying to develop an application for a client of mine on Fiverr and he requested I use the applet library I have never used before. I did a little tutorial and I keep ...
Caminero's user avatar
  • 259
1 vote
1 answer
705 views

Can't install Java Card applets on my Smart Card

I have generated a .cap file from a simple HelloWorld program that looks like this: package com.oracle.jcclassic.samples.helloworld; import javacard.framework.APDU; import javacard.framework.Applet; ...
Edgars's user avatar
  • 13
3 votes
2 answers
2k views

Viewing a java applet outside of the browser without appletviewer

I found some old published java applets. Ideally, it would be great to run that in the browser but newer versions of Chrome (which my students have) makes running Java applets nearly impossible. I can'...
jamesatha's user avatar
  • 7,590
0 votes
2 answers
283 views

Internet Explorer 11 support on windows 8.1

I've read that IE won't be supported on Windows 10 anymore. Official page: Microsoft We have a Java applet application what we can run in Edge, but for certain types of Operating Systems (Windows 8.1),...
Gábor Csikós's user avatar

1
2 3 4 5
164