AS/400 >> PC5250 and Applet Java

by jlook » Thu, 07 Apr 2005 17:48:59 GMT

Hello,
since V5R3 it's possible to execute an Applet Java from Actions menu in an
iSeries Access PC5250 emulation.
I have installed iSeries Access V5R3 multiple times but I never found this
option !
Is there something special to do to make Execution of Applet Java appear in
Actions menu ?

Thanks for help.
JL



Similar Threads

1. Access java applet using java script - limitations

2. Why no Java applets in (Java-enabled) Safari???

3. SN#23077 Java Applets and the Java SE 6 Update 19 or 20

4. Java 6 Update 4 Application JDialog labelled (Java Applet Window)

Running Vista, Home Premium; Java 1.6 SERVER VM Update 4 using the
following command line:

java.exe -server -dsa -Dsun.java2d.noddraw=true -Xbatch -Xss256k -
Xms300m -Xmx300m -Xnoclassgc -XX:+RelaxAccessControlCheck -
XX:MaxInlineSize=8192 -XX:-DontCompileHugeMethods -XX:
+ForceTimeHighResolution -XX:-TieredCompilation -
XX:CompileThreshold=20 -XX:+UseConcMarkSweepGC -XX:
+CMSIncrementalMode  -XX:MaxGCPauseMillis=150 -XX:CICompilerCount=1 -
XX:ThreadStackSize=256 -XX:+AggressiveOpts -cp
sZoneTrader.jar;sZoneTraderAuth.jar;sZoneTraderSounds.jar;sZoneTraderChart.jar;sZoneTraderContracts.jar
com/twc/trader/FutureScalper \FutureScalper


Just noticed this, running my Swing GUI APPLICATION standalone.

Swing non-modal JDialogs are incorrectly labelled as "Java Applet
Windows", little gray bar below the dialog itself extending fully
across the bottom.

Also the non-modal floating JDialog (on Windows platform) are not able
to move away from the primary monitor on which they were created,
across to an extended monitor on the desktop.

Apparently a "java applet window" (incorrectly identified) can't move
across the Windows extended desktop.

Don't know whether this applies to earlier updates; just noticed it
now.

This is NOT an Applet !!!  So we have a little glitch, I think.

Anybody seen this before ??

FutureScalper


5. Still waiting for Java 6 on Applet (was Apple finally releases Java 6 for OS X) - Java

6. using generated java code in Java applets

Hi all,
How can we assist you: I'm using Matlab Java Builder to compile .m
scrips to java classes (and jar archives too)
I'm develop the java applet, which use the compiled marlav scripts in
netbeans enironment. When I run teh applet in netbeans environmnet,
ewrithing is OK (the ctf file si decompressed and apllet is running).
But, when I run the HTML page with my applet a error occur. The
problem is, that applet can not use the ctf file.

Reproduction Steps: package webmatlab;
import java.util.*;


import com.mathworks.toolbox.javabuilder.*;
import weblab.*; // my package generated from matlab java builder


public class MyApplet extends java.applet.Applet {

weblab wl = new weblab(); // instance of my matlab object
// there are the error,
// ---- Could not initialize class weblab.weblab

/** Initializes the applet MyApplet */
public void init() {
try {
java.awt.EventQueue.invokeAndWait(new Runnable() {
public void run() {
initComponents();
}
});
} catch (Exception ex) {
ex.printStackTrace();
}
}

// there are other parts ....

}

7. How to convert java applet to java application - Java

8. JAVA - Problé‘ťe avec une applet Java

Bonjour,
Ci-dessous vous trouverez le code Java qui pose proble la compilation.
pourriez-vous m'aider dogger. Merci..

Il s'agit de dessiner un segment de droite partir de la class Droite..
Comment procer pour ranger les class Point, Direction dans un packagepuis
la classe Droite dans un autre package.(j'ai essaydes packages imbriqu ,
mais j'ai toujours des probles la
compilation)-----------------------------------------------------------
import java.awt.*;
import java.awt.event.*;
import java.lang.Math;
import java.awt.Graphics;
import java.applet.Applet;

public class optique1 extends Applet implements
ActionListener,KeyListener,MouseListener,MouseMotionListener
{
   Droite axe = new Droite(80,420,0,1,0,0,800);
   public void init(){
     axe.traceSegment(this);
    }
}


public class Point
{
  double x;
  double y;
  double z;
 Point(){this.x=0;this.y=0;this.z=0;}
 Point(double x, double y,double z){this.x=x;this.y=y;this.z=z;}
 public double getx(){return this.x;}
 public double gety(){return this.y;}
 public double getz(){return this.z;}
 public void set(double x, double y,double z){this.x=x;this.y=y;this.z=z;}
 public void setx(double x){this.x=x;}
 public void sety(double y){this.y=y;}
 public void setz(double z){this.z=z;}
}

public class Direction //cosinus directeurs
{
  double x;
  double y;
  double z;
 Direction(){this.x=1;this.y=0;this.z=0;} // x direction principale, axe
optique
 Direction(double x, double y,double z){this.x=x;this.y=y;this.z=z;}
 public double getx(){return this.x;}
 public double gety(){return this.y;}
 public double getz(){return this.z;}
 public void set(double x, double y,double z){this.x=x;this.y=y;this.z=z;}
 public void setx(double x){this.x=x;}
 public void sety(double y){this.y=y;}
 public void setz(double z){this.z=z;}
}

public class Droite extends Graphics
{
  double x1;double y1;double z1;
  double x2;double y2;double z2;
  Droite(){this.x1=0;this.y1=0;this.z1=0;
                this.x2=0;this.y2=0;this.z2=0;} //point (0,0,0)
  Droite(Point p,Direction d,double
dist){this.x1=p.getx();this.y1=p.gety();this.z1=p.getz();
                 dx=d.getx();dy=d.gety();dz=d.getz();
                 this.x2=x1+dist*dx;this.y2=y1+dist*dy;this.z2=z1+dist*dz;}
  Droite(double x1,double y1,double z1,double l,double m,double n,double
dist){this.x1=p.getx();this.y1=p.gety();this.z1=p.getz();
                 this.x2=x1+dist*l;this.y2=y1+dist*m;this.z2=z1+dist*n;}
  Droite(Point p1,Point
p2){this.x1=p1.getx();this.y1=p1.gety();this.z1=p1.getz();
                 this.x2=p2.getx();this.y2=p2.gety();this.z2=p2.getz();}
  public void traceSegment(Graphics g)
 {
   g.drawLine(this.x1,this.y1,this.x2,this.y2);//tracen 2D
  }
}