Menu
  • HOME
  • TAGS

I can't run my own applets in browser

java,security,browser,applet

We have to sign the applet before running it on the browser did you try signing your applet Jar. here is the signing commands. You should be in the same directory in command prompt. 1.keytool -genkey -keyalg rsa -alias m4key //m4key unique key 2.keytool -export -alias m4key -file bmcert.crt //bmcert.crt...

Java - Applet doesn't work on Firefox when usign ForkJoinPool (while in Eclipse works)

java,eclipse,firefox,applet

I have enabled the Java console from the java control panel. And the error was: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "modifyThread") So I went to my java.policy file located in java.home/lib/security/ and I wrote the following grant codeBase "url or file where the applet is" { permission java.lang.RuntimePermission "modifyThread"; }; And...

How to g.drawString, variables using AWT - Java

java,string,applet,awt

Graphics#drawString only accepts a String value (there is also a varient that accepts AttributedCharacterIterator, but I'm pretty sure that's not what you're trying to use). Also, Graphics#drawString only takes three parameters, a String or AttributedCharacterIterator and two int values... You could use Double.toString or NumberFormat to convert the value to...

Java - Applet to Executable Jar Wrapping

java,swing,applet,jframe,jpanel

JFrame uses a BorderLayout by default, where as a JPanel uses a FlowLayout Instead of rebuilding the UI in the JFrame, simply add an instance of GUI to it, since you've already defined the functionality in a JPanel, this makes it easily reusable. public class SwingPaintDemo { public static void...

Iterating through a Linked List in another class (Java Applet)

java,oop,applet

You could add a private List<oval> ovals; list to the class that contains the actionPerformed method, and add the ovals to that list (as it could like you're doing already). Then you create a public List<oval> getOvals() method, and use that to access the list from your draw method in...

Simple “If” Statements not working in keyTyped ()

java,applet

If you want to check only one of the if condition, then use if-else if-else if-else-else, instead of if-if-if-if. @JRowan has answered your question in the comments of your question. int i = 0; if (i == 0) { System.out.println(i); i++; } if (i == 1) { System.out.println(i); i++; }...

Confirm understanding: Tomcat served applet, and app network traffic?

java,tomcat,ssl,applet,tunneling

There's no good reason from what you've told us so far to use Tomcat over a lighter httpd such as apache or nginx - if it's really just serving a Java applet and web page (static content). The former two are application servers, and as that implies that means a...

How can the java application user modify/update application files on the web?

java,swing,web,applet

Should I develop my app as an applet, No! See Why CS teachers should stop teaching Java applets for lots of reasons not to code applets. ..and then somehow modify the 'tasks.txt' file on webpage(and how can applets modify files on webpages)? The 'somehow' is with the help of...

Issue with Linked List (Java applet)

java,applet

You get the list's iterator before you change the state of the list, and then you use the iterator to iterate through, but now the iterator is no longer appropriate. Solution: change that order. Get the iterator only after adding items to the list, or use a ListIterator and add...

Executing JavaScript in the event Java applet fails to run

java,javascript,applet

The applet should provide a method to confirm it loaded OK. A JS should poll the applet for a time, trying each time to access that method with an 'OK' result. It the JS has not received an 'OK' after a certain time limit, use the JS speed test.

Knight's Tour GUI in Processing

java,user-interface,applet,processing,backtracking

There are some problems with above constructions. You do recursive move() method inside draw() method. But in Processing draw() is called many times in each second by animation thread. Common desing for such cases is: you should have variables that hold application state (logical state) what your draw() method draws...

basic: eccezione: java.lang.ExceptionInInitializerError java.lang.RuntimeException: java.lang.ExceptionInInitializerError

java,eclipse,applet,runtimeexception

Caused by: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "java.util.logging.config.file" "read") This applet needs to be trusted. Digitally sign the applet code....

Processing OOP Issue With Classes

java,android,eclipse,applet,processing

Issue solved. For future reference: The dot class should in no case extend PApplet, this only should be the case for main activity. However, when the dot class does not extend PApplet, Eclipse gives errors, which is not surprising, because it does not understand any of the processing commands. To...

Issue in run java applet program

java,applet

You are extending the Applet class in your package. To use the java.applet.Applet you have to either remove Applet from your package or do the following import java.awt.*; public class HelloWorld extends java.applet.Applet { public void paint(Graphics g) { g.drawString("Hello world!", 50, 25); } } ...

Key Listener not working in JApplet

java,swing,applet,keyboard-events

The Component which has a registered KeyListener must have focus for the KeyListener to fire. Call requestFocus on the Component to request that the component has focus, or use KeyBindings (recommended) In addition, the keyPressed method has a conditional that checks the ID against KeyEvent.KEY_TYPED events (which will never happen)....

Deploying a .jar into a html page

java,html,deployment,jar,applet

The Oracle website at this location says: To start any applet from an HTML file for running inside a browser, you use the applet tag. For more information, see the Java Applets lesson. If the applet is bundled as a JAR file, the only thing you need to do differently...

How to change list column text color according to field values in SIEBEL HI?

list,applet,siebel,text-coloring

The HI Form applet controls can be controlled to change font, color, size etc, using javascripting and the FindActivexControl method. But for list applets, these will not work. If you are really confident, you could try modifying the .swt files for the applet, that's where the fonts are decided. But...

My first applet shows nothing

java,applet

I think you should be using paint ( ) instead of print ( ) .

Make 2 cardlet Java Card communicate

applet,smartcard,channel,javacard

Yes it's possible. You need a card that supports additional logical channels.In that case, you can select more than one applet simultaneously.(One applet per each channel) Fortunately current cards support some additional logical channels. But remember that if you want to select (at least) two applets of a single package...

Signed Applet for Intranet app

java,security,plugins,browser,applet

Here it is an url where they explain how to solve your problem http://www.jade-cheng.com/uh/ta/signed-applet-tutorial/...

Java Web Application AWT or Swing?

java,web,applet

..will I be able to implement this inside of a web page without much difficulty in the future? No. The security environment around applets was made much stronger in recent times, but even then, browsers tend to put further hurdles between applets and 'onscreen, loaded applets'. Chrome is set...

Why don't these images show up?

java,swing,applet,jbutton

Instead of extending JApplet and overriding it paint and init methods just use a JLabel and set it to have an image icon. For example. import java.io.File; import java.util.ArrayList; import java.util.Random; import javax.swing.ImageIcon; public class Frame extends javax.swing.JFrame{ //Random varible private Random rand = new Random(); //Array List to hold...

Java Applet blinking too much

java,applet,pong,blinking

A few things to note: you don't need a Thread with the way you currently update state (speedx, speedy, x1 ,y1) from within the rendering loop (see second code block) I've made paint() much more readable by extracting the rendering and state updating logic into separate methods the offscreen buffer...

Troubles with applets in c# application

java,c#,applet

The problem was in the path of the code. Finally I removed the codebase and I wrote the next lines: <applet code="paqApplet/PruebaPulsacion.class" archive="http://etao-inico.usal.es/etao4.jar,http://etao-inico.usal.es/xercesImpl.jar,http://etao-inico.usal.es/xml-apis.jar" width="100%" height="100%"> <asp:Literal runat="server" ID="literalParametros"></asp:Literal> </applet> ...

Javacard applet beginner

java,applet,smartcard,javacard

There is a development kits called JCIDE, is free. After installation, can be used directly, no configuration parameters. Unfortunately, when debugging, only set one breakpoint, but normal use is enough. I feel very good, recommended to you.

How do I get Graphics in Java from a class for use in an Applet?

java,class,graphics,applet

paint is called automatically by the painting system when it wants your component to be repainted. In order to do any painting, you should pass a reference of Graphics to an instance of you painting class, for example. Using something like... public class Cords{ public void paint(Graphics g, int w,...

Is there any way to know if the user has rejected the applet?

java,javascript,applet,jsobject

Put a method in the applet that can be called by JS. Write some JS that periodically tries to call the method. If after a certain amount of time the applet has not responded, presume it failed to load and take further action. ...

How to use panels in applets?

java,applet,awt

It's probably not the best idea to write everything in one class. You should definitely store your Filereader in another class. By the way, do not mix awt and Swing. Either use JApplet and JPanel or Applet and Panel. Why do you want to use borders? You can use Borders...

Java Applets and Proxies

java,networking,proxy,applet,socks

It appears that the answer to this question is yes. The following code: public class TestApplet extends Applet { private String ip; public void init() { try { URL ipCheck = new URL("http://checkip.amazonaws.com"); BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(ipCheck.openStream())); ip = bufferedReader.readLine(); bufferedReader.close(); } catch (Exception e) { e.printStackTrace(); }...

Is it possible to run applet on old version Java

java,applet

check minimumVersion parameter of the runApplet function...it may require a later version of jre

Why isn't this program repainting a certain part of an applet even when repaint() is called

java,swing,applet,label,repaint

Issue number 1: You never change the text in the tally JLabel, lblTally. In other words, for the text in this JLabel and similar components to change you must specifically call, lblTally.setText(someNewString); Issue number 2: you're also shadowing the lblTally variable -- you're re-declaring and re-initializing the variable in...

How to build my app, need guidelines

java,android,applet,server

I think the easiest for you would be to make a simple HTTP java servlet. If you don't have a lot of experience, I would recommend using amazon's SimpleDB as your database, and hosting your servlet on one of aws' free services. You can find documentation online on how to...

Java MouseListener do nothing in Applet

java,applet,mouse

Your MouseInsert is not an inner class for the Mousebandymas (by the way, why do you extend Mousebandymas?), so when you change toFill, you change some other toFill, not that one from Mousebandymas. You meant something like this: package mousebandymas; import java.applet.Applet; import java.awt.Color; import java.awt.Graphics; public class Mousebandymas extends...

java applet export a jar file as an standalone executable

java,eclipse,jar,applet

Applets are expected to run within an applet container, which is commonly supported by browsers (and the applet plugin). You can't run them from the command line, at least not without modifying the code to support a window based solution. Take a look at: Creating a GUI With JFC/Swing for...

How do I successfully use the Thread.sleep() method in Graphics?

java,exception-handling,applet,awt,thread-sleep

You should never call methods such as Thread.sleep on the event dispatch thread (i.e. in paint methods). This will render the whole GUI unresponsive. You should instead use timers such as SwingTimer to perform animations etc. See the following related questions: how to use a swing timer to start/stop animation...

is it possible to return some data along with the status word 9000 on selecting an applet in javacard?

applet,smartcard,javacard,apdu

I guess you do the "good practice" of "if selectingApplet() then return" in process? You need to process the incoming APDU instead of simple return. You can return data to select the normal way, but be careful to return 0x9000 if the select was successful....

access denied (“java.io.FilePermission” “execute”)

java,security,applet

I assume that you just want to practice how to write a applet. For development purpose, you can create a keystore and then use it to sign your applet.jar. Go: Start Menu > Execute > cmd.exe Input: cd / keytool -genkey -dname "cn=CN, ou=OU, o=O, l=L, st=ST, c=C" -alias mykey...

What date / version is Chrome removing support for java applets?

java,google-chrome,applet

Chrome is on a roughly 6-week release cycle, so you can make educated guesses about which versions are going to be released in April and September. Specific dates are never available for future releases, so you're not going to be able to get a definitive answer for that part of...

Debug/Run Applet in NetBeans

java,netbeans,applet

As you don't have public static void main(String[] args) in your FancyApplet class, so the above error is produced. You can run your java applet in the NetBeans IDE by pressing Shift + F6 key from your main class(keeping cursor inside FancyApplet class here). It'll run the applet program without...

Exception in thread “AWT-EventQueue-1” java.lang.NullPointerException in java Applet

java,nullpointerexception,applet

There are muliple issues in your Code. First you can't read and read and read from your bufferedReader because at sometime it will be empty and you don't check if the line that you read from the bufferedReader is null. There is also another problem, sometimes your color String is...

Java Applet - Cannot inherit from final class

java,applet,classloader,final

I eventually tracked down the cause of this. As indicated by @immibis's comments, the exception was during class initialization, rather during construction of an instance. One of the methods of class NlxBrowserJsEngine calls a static method of another class - and this class extends from netscape.javascript.JSObject. In the oracle implementation...

Java Applet cannot run in CMD

java,applet,base64,japplet

If you are running a program which needs external jar files, from command prompt then only adding the files to your class path is not enough, you need to explicitly mention while compiling and executing the program that which jar files you want to include. For the same you can...

Dynamically adding action listener to buttons

java,applet,actionlistener

I think you have some conceptual misunderstandings reflected in your code here. It's important to consider which component you are adding the ActionListener onto. At the moment, your code adds the ActionListener to the Gridl object extending Applet, rather than the button itself. It won't throw an exception, because that's...

How to send a data array to my Applet and manipulation it by Applet and return new data in response apdu?

arrays,applet,javacard,apdu

In method, private void getKey( APDU apdu , byte[] data) you need to call, apdu.setIncomingAndReceive(); Remember: This is the primary receive method. Calling this method indicates that this APDU has incoming data. This method gets as many bytes as will fit without buffer overflow in the APDU buffer following the...

Java Applet ClassNotFoundException

java,html,applet

Embed the following code in the applet file as a multiline comment. Eg: /* <applet code="HelloWorldApplet.class" width="320" height="120"></applet> */ save this as "HelloWorldApplet.html" Compile using javac command javac HelloWorldApplet.java for Run the program using appletviewer command appletviewer HelloWorldApplet.html...

How do I test for the color of a pixel in my Java Applet?

java,applet,awt,java-2d

Create a BufferedImage, with the width/height of your applet. Create a Graphics2D object by calling createGraphics() on your BufferedImage object. Pass this Graphics2D object to the paint method of your applet - now the applet will be painted on your BufferedImage. Call dispose() on your Graphics2D object. Examine the...

How to run the Java Applet form an if statement?

java,graphics,applet

Why don't you just move paintComponent1() into the keyPressed method? public void keyPressed(KeyEvent e) { if(e.getKeyCode() == KeyEvent.VK_SPACE) // if you press the space bar key { paintComponent1(); } } ...

Why does my Image not rotate?

java,rotation,applet,bufferedimage,graphics2d

Because you're setting the transform after you have drawn the image. Do it the other way around! (I tried it and your code works fine otherwise.)...

Images do not appear in applet

java,swing,applet,paint,keylistener

Applets load images asynchronously, so it is likely the images are not fully loaded before the applet goes to paint. But every Java component worth mentioning implements an ImageObserver that means it will get updates on image loading. So to fix the problem, change this: g.drawImage(pi, x, y, w, h,...

PrivilegedActionException trying to invoke a signed Java applet from JavaScript

java,javascript,security,applet,jna

I have never resolved this particular mystery. However, I was able to find a workaround, thanks to my applet design specification which doesn't require exposing any applet methods which need to be invoked to perform privileged operations. I have found that executing privileged operations inside the applet init() function will...

Click Button to Open Another Applet

java,applet

I'm pretty sure this isn't possible because of Java's security system. The best way to so it is to have a master class, which has an array of JApplet. On that master applet I would create a method that sets the visible applet from the array, calls init() and when...

Java 3D Graphics using Applet and in built libraries only

java,graphics,3d,applet

The real answer to your question is that you're thinking about it a bit sideways: you shouldn't be using an applet (they're dead), and you shouldn't try to do it all by yourself without any libraries. I'd personally recommend Processing for beginners or libGDX for more experienced users. They both...

AjaxFileBrowser applet informations

applet,webdav,windows-server-2012,ithit,ithit-ajax-file-browser

This dialog provides information about the Java applet, so the user can clearly identify the vendor, name of the applet and where it comes from. It is displayed by the Java machine, you can not modify it freely. However you can change the applet name and the publisher. To do...

Alternatives to Java applet to launch Microsoft Office applications

java,javascript,html5,google-chrome,applet

From what I'm understanding is you want a way to open an a file using a specific application (MS Word?) and then when the user saves the file it is automatically updated to the server? You can achieve this by storing the file as a temporary file and automatically checking...

Add a button to Java Applet

java,button,nullpointerexception,applet

this.add(sOver); sOver = new Button("Start Over"); I guess the error is here. You gotta initialize sOver before adding it to the applet. So put it like this : sOver = new Button("Start Over"); this.add(sOver); Let's see whether it works or not....

How to upload images in Siebel application for further sending via web service?

web-services,file-upload,applet,image-uploading,siebel

Such functionality can easily be achieved using Siebel's attachment business components. For instance, under Service Requests, there is an attachments tab. Files can be uploaded here. Later for integration, your could simply use EAI Siebel Adapter BS in a Workflow, that will convert the binary attachment to base64 in the...

Embed a JavaFX application in a HTML webpage

java,html,javafx,applet

Create a JavaFX application project, e. g. "FxInHtml". Create your JavaFX application, e. g.: package application; import javafx.application.Application; import javafx.scene.Group; import javafx.scene.Scene; import javafx.scene.control.Label; import javafx.stage.Stage; public class Main extends Application { @Override public void start(Stage primaryStage) { try { Group root = new Group(); Label label = new Label(...

GUI using applet/GridBagLayout

java,swing,applet,layout-manager,gridbaglayout

Note: I factored out adding the component, to a separate method partly to enforce specifying each of the layout constraints that might change. import java.awt.*; import javax.swing.*; import javax.swing.border.EmptyBorder; public class CalculatorWithGBL { CalculatorWithGBL() { initUI(); } public void initUI() { if (ui != null) { return; } ui...

Cannot center Java Applet in HTML file

html,css,applet,center,margin

You can use same width of div and applet or put applet into new div width display:inline-block;

applet don't load on firefox

java,html,firefox,applet

In Eclipse select the main applet file right click and export it to runnable jar. Let all the dependent jar's bundled. Then in command prompt browse to the folder your jar is placed and type the following commands. 1.keytool -genkey -keyalg rsa -alias m4key //m4key unique key 2.keytool -export -alias...

Game in Java is not displaying

java,graphics,applet,actionlistener,bluej

Your order of inheritance seems odd, but its not whats causing the problem. Take a look at this website: http://www.dreamincode.net/forums/topic/28410-application-to-japplet-and-reverse/ Java Applets need to have init(), start(), stop(), and destroy(). You will need to put these methods in your Sprite class for the Applet to function....

Glitch on one type death (but not the other) and winning in java applet game

java,audio,applet,paint

The answer was that the game was getting stuck in a loop on "win" or on "death by falling in a hole". Although I acknowledge it is not the most elegant of solutions, changing the code reflected below solves the problem. if (rHealth == 0) { state = GameState.Dead; Sound.MAIN.stop();...

Java jtable not showing any information in the applet

java,swing,applet,jtable

Here you forgot this JScrollPane jsp = new JScrollPane(table); add(jsp); write these 2 lines in last part....

What is the current behavior of firefox for the ubuntu menu bar?

javascript,firefox,applet,ubuntu-14.04

Firefox and thunderbird require a returned confirmation value from the Dbus connection, as i say in the question. This value is not returned in the default cinnamon code, i force to return the value and now the problem is resolved. Thanks anyway.

Java Swing, application or applet?

java,swing,applet

Applets are meant to be executed inside a browser and have a few more restrictions to ensure that users can run any applet without major risk. While the concept of applets was revolutionary when it was introduced, it has never had as much success as it deserved. These days, applets...

Java.lang NullPointerException in Java Applet

java,nullpointerexception,applet

You are not setting fields in the builder methods. This means the fields are null when you add them to the container. For example private Panel userMoneyPanel; ... private void builduserMoneyPanel() { // Panel userMoney = new Panel(); // this is wrong... userMoneyPanel = new Panel(); ... ...

Regarding to use deployjava.js file [closed]

java,applet,deployjava

I think you can use it . These are the only restrictions. https://www.java.com/js/deployJava.txt Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the above copyright * notice,...

Running separate process from Java applet using internal class

java,process,applet,classpath

The Java command cannot use URLs for the Jar to run, so it would be necessary to download the Jar explicitly to the local file system before attempting to run it. But on seeing a Process, two tips: See When Runtime.exec() won't for many good tips on creating and handling...

JavaCV applet does not shows video in web browser, only in desktop

java,applet,javacv

Thanks, Andrew Thompson! I enabled my Java Console and I could see several security bloks of JRE. So, I added the following lines to the java.policy, and it worked fine: permission java.util.PropertyPermission "org.bytedeco.javacpp.loadlibraries", "read"; permission java.util.PropertyPermission "org.bytedeco.javacpp.platform", "read"; permission java.security.AllPermission; permission java.lang.RuntimePermission "shutdownHooks"; ...

JNLParseException[ Could not parse launch file. Error at line 6.]

java,applet,java-web-start,jnlp

Problem was in my server side code, not in JNLP file.

java applet run local host but doesn't run after publish iis , By asp.net

java,asp.net,iis,applet,localhost

Finally i found solution for this issue , the jnlp file ( With java applet ) need initialization in IIS to can read it I must add Mime Type : Extension: .jnlp , Mime Type: application/x-java-jnlp-file and this link explain how add mime type in IIS https://technet.microsoft.com/en-us/library/cc725608%28v=ws.10%29.aspx I try this...

Sturdiness of an applet in Java Card

java,exception,applet,javacard

As the smart cards haven't any battery inside, you can't have any try ... catch ... like this. Alternatively you can take advantages of Transactions. The Transaction APIs are provided just for your goal. The operations that are between beginTransation() and commitTransation() methods, apply only if the commitTransation() complete successfully....

8-puzzle images java Frame

java,swing,nullpointerexception,applet,jframe

Your Null Pointer Exception may be caused for two reasons: your image isn't placed in same location as your class or more probable you didn't fill your btArray array with instances of JButton so it is filled with default values (nulls) but you are trying to invoke btArray[i].setIcon(imageIcon); which means...

return statement inside applet method which is called from javascript

java,javascript,swing,servlets,applet

first you should make sure you declared your applet like the following : <APPLET code="MyApplet.class" height="0" id="myApplet" name="myApplet" archive="/path/to/MyApplet.jar"></APPLET> after that to call MyApplet from JS like the following : function callMyAppletFromJS() { alert("callMyAppletFromJS"); document.getElementById('myApplet').jsAppletCall(); } in your applet call the JS back like the following : public void jsAppletCall()...

java applet HTTP download file can not work

java,applet

Although I'm skeptical as to the code above doing anything at all as posted, if even compiling, here's the solution I use for doing automatic update downloads of large (>100 MB) files: HttpGet httpGet; RequestConfig requestConfig; getProxySettings(); //Check to see if there is a proxy availabble. if (!LicensePreloader.proxyAddr.equals("")) { requestConfig...

Java 8 Security blocking the applet stored on my computer

java,html,security,applet

You can use the AppletViewer for testing and development. To run in a web-browser you will need to create a signed jar (because of security restrictions). From the linked Understanding Signing and Verification, Once you (or your browser) have verified that an applet is from a trusted source, you can...

how to Automate Java applet in browser [closed]

java,applet,automation,fest

After some research on Java Applet Automation i found some tools which can help to automate the Java Applets. Some of them you can Look for is LiveConnect and Robot. You can give a try with them.

Display applet version in Java Cache Viewer

java,caching,applet

My problem solved edit of JNLP file. I added version attribute in jar element. Like this: ... <resources> <j2se version="1.7+" href="http://java.sun.com/products/autodl/j2se" /> <jar href="/my-applet.jar" main="false" version="1.1.0"/> </resources> ... ...

Spawning mutiple circles and make them move

java,graphics,applet

Note Using thread.sleep in a game is not a good idea. This is an example of a game loop with 60 iterations a second. public void run() { double ns = 1000000000.0 / 60.0; double delta = 0; long lastTime = System.nanoTime(); while (running) { long now = System.nanoTime(); delta...

Substance Look and Feel Applet alert during startup

java,swing,user-interface,applet

I downloaded a fork from: https://github.com/Insubstantial/insubstantial/downloads The other one was not signed because i compiled it myself....

How to create simple java applet using java.applet?

java,applet

You already used Graphics and Applet class and is a perfect example for beginners. As per Oracle, package definition is: A package is a grouping of related types providing access protection and name space management. Note that types refers to classes, interfaces, enumerations, and annotation types. Enumerations and annotation types...

How to get the color of a pixel in a Java applet to produce a map?

java,image,applet

nice name by the way. So I was in the same position a while ago. use this for your get image method, just tweak it and use it to benefit you: public class ImageLoader { public BufferedImage load(String path){ try { return ImageIO.read(getClass().getResource(path)); } catch (IOException e) { e.printStackTrace(); }...

Adopting another process's child window

java,windows,winapi,applet,jvm

Since what you really want is to create the applet as a child window, the easy solution would be to convince the applet to be your children, not forcefully adopting it, and working against both Windows and the JVM. Luckily, the Sun/Oracle Java VM comes with a class called WComponentFrame...

Java applet tag for IE: require java 6, install java 8

java,internet-explorer,applet

See the Java Rich Internet Applications Deployment Advice for details of the deployment toolkit script. It should write whatever applet tags are recommended for that user agent. If I specify classid="clsid:CAFEEFAC-0016-0000-FFFF-ABCDEFFEDCBA", probably that will install Java 1.6.. Not anymore. Oracle has dropped support for loading/using an older JRE. Apparently they...

Java 7 Update 45 (64-bit) blocking java applet self signed

java,applet,self-signed

As the answer given into the post you have mentioned which is Just Go To Startmenu >>Java >>Configure Java >> Security >> Edit site list >> copy and paste your Link with problem >> OK Problem fixed :) This you have to do in each and every computer in which...

NPE when referring to application resources

java,swing,nullpointerexception,applet,embedded-resource

This is not a system resource, so don't try to use the system class loader. Something more like the following will use the context class loader.: URL url = this.getClass().getResource("/path/to/the.resource"); That path starting with a drive letter is wrong. It should be a path relative to the class-path. ...

Cannot Access Variable From Another Class

java,variables,applet

displacement is a local variable in your constructor. Therefore it won't be accessible outside the constructor. If you want it to be accessible to other methods in the class, move it out of the constructor and make it an instance field, by saying JRadioButton displacement; above the constructor, in the...

Can't select AID Card Manager when testing to send APDU

java,applet,javacard,apdu,pcsc

Previously Global Platform borrowed the RID (the first 5 bytes of the AID) from VISA. This is because of historical reasons. Global Platform is now a separate entity but Open Platform - as it was once called - was started by (at least) VISA. There are many RID's registered. However...

how to draw a line graph using java with fixed X-Y axes

java,javascript,jquery,applet

What did you try? Try JavaFx line chart: https://docs.oracle.com/javafx/2/charts/line-chart.htm...

Java applet play multiple .wav files

java,applet

I found a working answer, thanks a lot for all those who tried to help me out, i ended up using Audio Stream and Input stream. defining my input stream: private AudioStream as; method called to change songs, when the app starts, and when the next song button is pressed...