Java (applet), getting started ...

Hi all,
I am not new to Java programming, I have done some simple projects many years ago, all using simple text editors and cmdline compilers.
Now I am doing some initial research for a somewhat larger project which requires more/complex GUI interfacing.
I remember all the hassle I had in the past to make a good GUI using simple text editors, and that just isnt useable for this type of project, so I am looking for Java (Applet) GUI development tools.
My questions are:
1) Does someone know of an adequate GUI development tool (or IDE) which allows me to create Applets?
(I know of several larger IDE's, like Sun's Studio Creator and Studio Enterprise and others, but none of them allow me to create GUI for Applets ...)
2) The project I am looking at wants to have a webbased application, so users can access all over the world (internet) without any installation hassle. I immediately think of Java applets (because some GUI is involved aswell), but perhaps there are newer/more suiteable solutions nowadays?
Thanks for your answers,
Bonny

Bonny,
I'm no architecture expert but... for "enquiry only" functionality option 1 is a straight webapp in JSP, judicious beans, and hibernate on MySQL. I'd only go to applets for updates, or complex enquiry requirements.
IDE's
NetBeans: http://www.netbeans.org/
Eclipse: http://www.eclipse.org/downloads/
Servers
Sun J2SE standard svr: http://java.sun.com/j2se/1.5.0/index.jsp
Sun J2EE enterprise svr: http://www.sun.com/software/products/appsrvr/index.xml
Apache Tomcat: http://tomcat.apache.org/
BEA Weblogic: http://www.bea.com/framework.jsp?CNT=index.htm&FP=/content/products/weblogic/server/
See Also
JBoss: http://labs.jboss.com/portal/ (opensource J2EE server)
Apache Project: http://www.apache.org/
and of course http://www.google.com.au/
Keith.

Similar Messages

  • JAVA applet not starting...am I missing other plugins?

    I dont know if this belongs in the Oracle Apps Server forum, but I've ruled out that it has nothing to do with my Apps Server, so I'm putting my question here...
    I am trying to deploy forms to my Oracle Apps Server on my UNIX server and am having some trouble. The forms run just fine when running from my client UNIX box, but when going to run on other boxes, the JAVA applet is not working. I'm running it using a Firefox Web Browser and it is saying that it needs to search and install an applet by going on the internet, but our unix boxes on our project are blocked from connecting to the internet. So...
    1) Are there any other browser plugins that forms requires other than a JRE?
    2) If not, is thre something that I need to do to my server?
    3) Are there other packages that need to be installed?
    I have went through and ensured that the java plugin is symbolically linked on the browser of the other unix boxes.

    By default JInitiator is used to run forms on the client. This is Oracle's JVM. I have not succeeded runing it within Firefox, but it works well with IE.
    You can try to edit your forms configuration (use the OEM). In "IE" parameter you will find the following instructions:
    System parameter: JVM option for Microsoft Internet Explorer.
    This parameter specifies how to execute the Forms applet under
    Microsoft Internet Explorer 5.x or above. Put IE=native if you want
    the Forms applet to run in the browser's native JVM.
    So you can try to put "native" and see if it will work with Firefox. As I said JInitiator does not.
    Good luck!

  • Can Java Applet Call the ASP Page

    Hi,
    I would like to know whether the Java Applet can call the ASP page.
    If it can be done, how does the Java Applet get the value from ASP page?
    Please provide me some running example.
    Thanks.

    I would like to know whether the Java Applet can
    an call the ASP page.Something like:
    AppletContext.showDocument(new URL("http://wherever/myPage.asp"), "_blank");
    how does the Java Applet get the value from ASP page?What?
    Please provide me some running example.Nope.

  • Run Java Applet (JAR) in Visual Basic

    Hi,
    I want to start a java applet within a visual basic form.
    One opportunity would be to implement a browser control and load a html file with the applet object in it.
    Is there a way to load the applet in VB without a browser control?
    Thanks for any tips & hints

    Oh, I'm aware of this way to start the applet.
    That's not what I want to achieve.
    I want to have the possiblity to integtrate my applet in a vb application (in a window in the vb app). For example if I would use MDI Forms I want the java applet to start as a child within the main vb window.
    I thought of using a browser OCX Control and loading a html which has the object tag with the java applet.
    Thanks anyway!

  • Java Applet HelloWorld "Getting Started With Applets" example not working

    Hi there,
    It's been ages since I ran my Linux CentOS boot of Linux but I am going through the official oracle java applet tutorials, just every time I try and run the "Hello World" applet in Firefox 17.0.3 and I am running the Iced Tea thing for java applets.
    Every time I try and run the example from the following code:
    import javax.swing.JApplet;
    import javax.swing.SwingUtilities;
    import javax.swing.JLabel;
    public class HelloWorld extends JApplet
      // called when the user enters the html page:
      public void init() // keep apps within the init() function very small as per the http://docs.oracle.com/javase/tutorial/deployment/applet/appletMethods.html
        try{
          SwingUtilities.invokeAndWait(new Runnable()
            public void run()
           JLabel myLabel = new JLabel("Hello World");
           add(myLabel);
            } // end running the application
          }); //end of swing invokeand wait
        } catch (Exception error){ // end user running the app in page
           // System.err.println("GUI didn't work on initial run");
    }It keeps bringing up the error "Start: Applet not initialized" I did google that basic error and from what I found I should consult the JavaConsole, I know the console was removed from the Firefox menu quite a while ago. So went to find a way of loading it using the IcedTea one but it keeps bringing up a load of errors in even trying to run that.
    Is there anyway of sorting this out? I mean I have even tried installing the one on the oracle website, the plain JDK but nothing seems to work.
    Is there anyone that can help me get applets working? I was even going to go as far as to reinstall my distro but I want to avoid that as much as possible.
    Thanks and I look forward to any replies,
    Jeremy.

    in the Getting Started with Java DB tutorial they
    tell u how to set ur "DERBY_HOME" (what is that?).
    once i press enter after typing this command:
    set DERBY_HOME=D:\Java\Java
    Phonebook\javadb in my command prompt do i get
    any message or does it just go to the next line?type env or set or whatever in the command line to see what your environment variables are set to
    they also tell u how to set ur "JAVA_HOME" (what is
    that?). The Java installation you want to use
    in their example they give u this: set
    JAVA_HOME=C:\Program Files\Java\j2se1.4.2_05but in my java folder i have jdk1.6.0 and jre1.6.0
    but no j2se1.4.2_05, so which 1 must i choose?It's up to you. I'd go with 1.6
    also once ive done this: set
    DERBY_HOME=D:\Java\Java Phonebook\javadb this
    set JAVA_HOME=D:\Program
    Files\Java\jre1.6.0 and this set
    PATH=%DERBY_HOME%\bin;%PATH% and then type
    sysinfo to verify that the variables were set
    correctly i get these errors: 'D:\Java\Java' is
    not recognized as an internal or external command,
    operable program or batch file and '""'
    is not recognized as an internal or external command,
    operable program or batch file any help would
    really be appreciated because this is really killing
    me!you need to set your path variable - so something like:
    set PATH=C:\Program Files\Java\j2se1.4.2_05\bin

  • How to get started on java applet client/server game?

    Hi,
    I've googled, but didn't find any useful information about creating java applet client/server game. I've followed the example of Client/Server Tic-Tac-Toe Using a Multithreaded Server in Java How to Program from Deitel, but I when I tried on Applet, my cliet doesn't communicate with the server at all. Any help to get started with Applet would be great. Thanks!

    well, i decided to put in portion of my codes to see if anyone can help me out. the problem I have here is the function excute() never gets called. here is my coding, see if you can help. Notice, I'm running this on Applet thru html page. This shouldn't be much different than running JFrame in term of coding right?
    Server.java
        public void init()
            runGame = Executors.newFixedThreadPool(2);
            gameLock = new ReentrantLock();
            otherPlayerConnected = gameLock.newCondition();
            otherPlayerTurn = gameLock.newCondition();
            players = new Player[2];
            currentPlayer = Player1;
            try
                server = new ServerSocket(12345, 2);
            catch (IOException ie)
                stop();
            message = "Server awaiting connections";
        public void execute()
           JOptionPane.showMessageDialog(null, "I'm about to execute!", "Testing", JOptionPane.PLAIN_MESSAGE);
            for(int i = 0; i < players.length; i++)
                try
                    players[i] = new Player(server.accept(), i);
                    runGame.execute(players);
    catch (IOException ie)
    stop();
    gameLock.lock();
    try
    players[Player1].setSuspended(false);
    otherPlayerConnected.signal();
    finally
    gameLock.unlock();
    Client.java
        public void init()
            startClient();
        public void startClient()
            try
                connection = new Socket(InetAddress.getByName(TienLenHost), 12345);
                input = new Scanner(connection.getInputStream());
                output = new Formatter(connection.getOutputStream());
            catch (IOException ie)
                stop();
            ExecutorService worker = Executors.newFixedThreadPool(1);
            worker.execute(this);
        }So after worker.execute(this), it should go to Server.java and run the function execute() right? But in my case, it doesn't. If you know how to fix this, please let me know. Thanks!

  • How do i get the java applet to stop appearing on the dock?

    how do i get the java applet to stop appearing on the dock? it seems to do this for pop-up windows.  also, the text on the popup window is different, how can I change that to normal?   this all started when i loaded MAC OS X 10.6.8

    You could try to block popup windows.
    Safari / Preferences / Security
    Also, go to Safari / Preferences / Extensions and clean out everything there.

  • Applet not getting started

    In my applet i have to access a file from server...so i read the file this way ,
    public class Remoteconnection()
    File newRemoteFile(String serverName, String shareName, String path, String userName, String password) throws IOException {
    try
         String cmdLine;
            if (userName != null)
            cmdLine = "cmd /c net use \\\\" + serverName + "\\" + shareName + " " + password + " /user:" + userName+"/persistent:no";
         else
            cmdLine = "cmd /c net use \\\\" + serverName + "\\" + shareName + " /persistent:no";
            Process p = Runtime.getRuntime().exec(cmdLine);
            p.waitFor();
            path = path.replace('/', '\\');
            if (path.startsWith("\\"))
            path = path.substring(1);
            return new File("\\\\" + serverName + "\\" + shareName + "\\" + path);
            catch (Exception e) {
                throw new IOException(e.getMessage());
    public class XMLReading()
    public void fileParsing() throws SAXException, FileNotFoundException, IOException
            NewClass1 rt = new NewClass1();
            XMLReader reader = XMLReaderFactory.createXMLReader();
            reader.setContentHandler(this);
            File f = rt.newRemoteFile("172.16.10.183", "ProjectPlanning", "ScheduledXML.xml", "devdomain/1258", "passqws13*");
         reader.parse(new InputSource(new FileReader(f)));
    }But if i run inside the server or in other remote machine,the applet is in its loaded stage(only the sun java symbol is showing)...Its not getting started....Meanwhile,its not showing error in console(But in some client system,its excecuting well....)
    load: class xmlTrail/MD2.class not found.
    java.lang.ClassNotFoundException: xmlTrail.MD2.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.FileNotFoundException: D:\Program Files\VirtualWorks\IIS\ProjectPlanning\xmlTrail\xmlTrail\MD2\class.class (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(Unknown Source)
         at java.io.FileInputStream.<init>(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    Exception in thread "Thread-4" java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletException(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception in thread "thread applet-xmlTrail/MD2.class" java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletException(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)It can be solved in anyway?

    2- Once i close and open new browser safari is opening some olod pages .Its really frustrating dont know how tto get rid out of this
    Because you never closed them.
    just open system preferences>general> and uncheck Reopen Windows When Quiting Apps (or something like that)

  • Illegal start to expression - java applet

    Hi Guys,
    this code is for a hangman game which will be in an applet. When I try putting the buttons in init, I'm getting an "illegal start of expression" for each button. Can someone tell me what I'm doing wrong?
    Cheers,
    * @(#)Hangman.java
    * Sample Applet application
    * @author
    * @version 1.00 06/10/17
    import java.util.Random;
    import java.util.*;
    import java.awt.*;
    import java.applet.*;
    import java.io.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.awt.BorderLayout;
    public class Hangman extends JApplet implements ActionListener
         Scanner textfile =new Scanner ("list.txt"); //file with words in
         int count=0;//count number of letters in chosen word
         int lives=6;//lives left
         String [] list= new String [count]; //word chosen stored in array
         boolean [] listDisplay=new boolean [count]; //whether letters in word have been guessed correct
         String guess=null; //guess
         boolean cont=false; //whether game continues or not
         public void read()
              try
                   while (textfile.hasNext()==true)
                        count++;
                   for (int i=0;i<count;i++)
                        String input=null;
                        list=input;
              catch (InputMismatchException e)
              System.out.println ("Mismatch exception:" + e );
         public String selectWord()
              int index=0;
              Random ind=new Random();
              String word=null;
              index=ind.nextInt();
              word=list[index];
              return word;
         public void wrongGuess(int lives)
              switch (lives)
                   case 6:               
                   break;
                   case 5:
                   break;
                   case 4:
                   break;
                   case 3:
                   break;
                   case 2:
                   break;
                   case 1:
                   break;
                   case 0:
                   cont=false;     
         public void game()
              String word=null;
              read();
              word=selectWord();
              while (cont==true)
         public void check(String letter)
              boolean tried=false;
              for (int i=0;i<list.length;i++)
                   if (list[i]==letter)
                        listDisplay[i]=true;
                   else
                        if (tried==false)
                             lives--;
                             tried=true;//guard to stop multiple lives lost by 1 letter
         public void init()
              //setup buttons
              private JButton jbtA=new JButton("A");
              private JButton jbtB=new JButton("B");
              private JButton jbtC=new JButton("C");
              private JButton jbtD=new JButton("D");
              private JButton jbtE=new JButton("E");
              private JButton jbtF=new JButton("F");
              private JButton jbtG=new JButton("G");
              private JButton jbtH=new JButton("H");
              private JButton jbtI=new JButton("I");
              private JButton jbtJ=new JButton("J");
              private JButton jbtK=new JButton("K");
              private JButton jbtL=new JButton("L");
              private JButton jbtM=new JButton("M");
              private JButton jbtN=new JButton("N");
              private JButton jbtO=new JButton("O");
              private JButton jbtP=new JButton("P");
              private JButton jbtQ=new JButton("Q");
              private JButton jbtR=new JButton("R");
              private JButton jbtS=new JButton("S");
              private JButton jbtT=new JButton("T");
              private JButton jbtU=new JButton("U");
              private JButton jbtV=new JButton("V");
              private JButton jbtW=new JButton("W");
              private JButton jbtX=new JButton("X");
              private JButton jbtY=new JButton("Y");
              private JButton jbtZ=new JButton("Z");
              JPanel p1=new JPanel();
              p1.add(jbtA);
              p1.add(jbtB);
              p1.add(jbtC);
              p1.add(jbtD);
              p1.add(jbtE);
              p1.add(jbtF);
              p1.add(jbtG);
              p1.add(jbtH);
              p1.add(jbtI);
              p1.add(jbtJ);
              p1.add(jbtK);
              p1.add(jbtL);
              p1.add(jbtM);
              p1.add(jbtN);
              p1.add(jbtO);
              p1.add(jbtP);
              p1.add(jbtQ);
              p1.add(jbtR);
              p1.add(jbtS);
              p1.add(jbtT);
              p1.add(jbtU);
              p1.add(jbtV);
              p1.add(jbtW);
              p1.add(jbtX);
              p1.add(jbtY);
              p1.add(jbtZ);
              getContentPane().add(p1,BorderLayout.CENTER);
         public void start()
              game();
         public void paint(Graphics g)
              g.drawString("Welcome to Java!!", 50, 60 );
         public void actionPerformed(ActionEvent e)
              if (e.getSource()==jbtA)
                   check("A");
              if (e.getSource()==jbtB)
                   check("B");
              if (e.getSource()==jbtC)
                   check("C");
              if (e.getSource()==jbtD)
                   check("D");
              if (e.getSource()==jbtE)
                   check("E");
              if (e.getSource()==jbtF)
                   check("F");
              if (e.getSource()==jbtF)
                   check("F");
              if (e.getSource()==jbtG)
                   check("G");
              if (e.getSource()==jbtH)
                   check("H");
              if (e.getSource()==jbtI)
                   check("I");
              if (e.getSource()==jbtJ)
                   check("J");
              if (e.getSource()==jbtK)
                   check("K");
              if (e.getSource()==jbtL)
                   check("L");
              if (e.getSource()==jbtM)
                   check("M");
              if (e.getSource()==jbtN)
                   check("N");
              if (e.getSource()==jbtO)
                   check("O");
              if (e.getSource()==jbtP)
                   check("P");
              if (e.getSource()==jbtQ)
                   check("Q");
              if (e.getSource()==jbtR)
                   check("R");
              if (e.getSource()==jbtS)
                   check("S");
              if (e.getSource()==jbtT)
                   check("T");
              if (e.getSource()==jbtU)
                   check("U");
              if (e.getSource()==jbtV)
                   check("V");
              if (e.getSource()==jbtW)
                   check("W");
              if (e.getSource()==jbtX)
                   check("X");
              if (e.getSource()==jbtY)
                   check("Y");
              if (e.getSource()==jbtZ)
                   check("Z");
    /code]

    cheers for the reply :)
    I've managed to compile the file, but nothing is displayed. I'm compiling using JDK 5. Any ideas?
    * @(#)Hangman.java
    * Sample Applet application
    * @author
    * @version 1.00 06/10/17
    import java.util.Random;
    import java.util.*;
    import java.awt.*;
    import java.applet.*;
    import java.io.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.awt.BorderLayout;
    public class Hangman extends JApplet implements ActionListener
         Scanner textfile =new Scanner ("list.txt"); //file with words in
         int count=0;//count number of letters in chosen word
         int lives=6;//lives left
         String [] list= new String [count]; //word chosen stored in array
         boolean [] listDisplay=new boolean [count]; //whether letters in word have been guessed correct
         String guess=null; //guess
         boolean cont=false; //whether game continues or not
         JButton jbtA;
         JButton jbtB;
         JButton jbtC;
         JButton jbtD;
         JButton jbtE;
         JButton jbtF;
         JButton jbtG;
         JButton jbtH;
         JButton jbtI;
         JButton jbtJ;
         JButton jbtK;
         JButton jbtL;
         JButton jbtM;
         JButton jbtN;
         JButton jbtO;
         JButton jbtP;
         JButton jbtQ;
         JButton jbtR;
         JButton jbtS;
         JButton jbtT;
         JButton jbtU;
         JButton jbtV;
         JButton jbtW;
         JButton jbtX;
         JButton jbtY;
         JButton jbtZ;
         public void read()
              try
                   while (textfile.hasNext()==true)
                        count++;
                   for (int i=0;i<count;i++)
                        String input=null;
                        list=input;
              catch (InputMismatchException e)
              System.out.println ("Mismatch exception:" + e );
         public String selectWord()
              int index=0;
              Random ind=new Random();
              String word=null;
              index=ind.nextInt();
              word=list[index];
              return word;
         public void wrongGuess(int lives)
              switch (lives)
                   case 6:               
                   break;
                   case 5:
                   break;
                   case 4:
                   break;
                   case 3:
                   break;
                   case 2:
                   break;
                   case 1:
                   break;
                   case 0:
                   cont=false;     
         public void game()
              String word=null;
              read();
              word=selectWord();
              while (cont==true)
         public void check(String letter)
              boolean tried=false;
              for (int i=0;i<list.length;i++)
                   if (list[i]==letter)
                        listDisplay[i]=true;
                   else
                        if (tried==false)
                             lives--;
                             tried=true;//guard to stop multiple lives lost by 1 letter
         public void init()
              //setup buttons
              jbtA=new JButton("A");
              jbtB=new JButton("B");
              jbtC=new JButton("C");
              jbtD=new JButton("D");
              jbtE=new JButton("E");
              jbtF=new JButton("F");
              jbtG=new JButton("G");
              jbtH=new JButton("H");
              jbtI=new JButton("I");
              jbtJ=new JButton("J");
              jbtK=new JButton("K");
              jbtL=new JButton("L");
              jbtM=new JButton("M");
              jbtN=new JButton("N");
              jbtO=new JButton("O");
              jbtP=new JButton("P");
              jbtQ=new JButton("Q");
              jbtR=new JButton("R");
              jbtS=new JButton("S");
              jbtT=new JButton("T");
              jbtU=new JButton("U");
              jbtV=new JButton("V");
              jbtW=new JButton("W");
              jbtX=new JButton("X");
              jbtY=new JButton("Y");
              jbtZ=new JButton("Z");
              JPanel p1=new JPanel();
              p1.add(jbtA);
              p1.add(jbtB);
              p1.add(jbtC);
              p1.add(jbtD);
              p1.add(jbtE);
              p1.add(jbtF);
              p1.add(jbtG);
              p1.add(jbtH);
              p1.add(jbtI);
              p1.add(jbtJ);
              p1.add(jbtK);
              p1.add(jbtL);
              p1.add(jbtM);
              p1.add(jbtN);
              p1.add(jbtO);
              p1.add(jbtP);
              p1.add(jbtQ);
              p1.add(jbtR);
              p1.add(jbtS);
              p1.add(jbtT);
              p1.add(jbtU);
              p1.add(jbtV);
              p1.add(jbtW);
              p1.add(jbtX);
              p1.add(jbtY);
              p1.add(jbtZ);
              getContentPane().add(p1,BorderLayout.CENTER);
         public void start()
              game();
         public void paint(Graphics g)
              g.drawString("Welcome to Java!!", 50, 60 );
         public void actionPerformed(ActionEvent e)
              if (e.getSource()==jbtA)
                   check("A");
              if (e.getSource()==jbtB)
                   check("B");
              if (e.getSource()==jbtC)
                   check("C");
              if (e.getSource()==jbtD)
                   check("D");
              if (e.getSource()==jbtE)
                   check("E");
              if (e.getSource()==jbtF)
                   check("F");
              if (e.getSource()==jbtF)
                   check("F");
              if (e.getSource()==jbtG)
                   check("G");
              if (e.getSource()==jbtH)
                   check("H");
              if (e.getSource()==jbtI)
                   check("I");
              if (e.getSource()==jbtJ)
                   check("J");
              if (e.getSource()==jbtK)
                   check("K");
              if (e.getSource()==jbtL)
                   check("L");
              if (e.getSource()==jbtM)
                   check("M");
              if (e.getSource()==jbtN)
                   check("N");
              if (e.getSource()==jbtO)
                   check("O");
              if (e.getSource()==jbtP)
                   check("P");
              if (e.getSource()==jbtQ)
                   check("Q");
              if (e.getSource()==jbtR)
                   check("R");
              if (e.getSource()==jbtS)
                   check("S");
              if (e.getSource()==jbtT)
                   check("T");
              if (e.getSource()==jbtU)
                   check("U");
              if (e.getSource()==jbtV)
                   check("V");
              if (e.getSource()==jbtW)
                   check("W");
              if (e.getSource()==jbtX)
                   check("X");
              if (e.getSource()==jbtY)
                   check("Y");
              if (e.getSource()==jbtZ)
                   check("Z");

  • No option to Enable the Java applet plug-in and Web Start applications

    How do I Enable the Java applet plug-in and Web Start applications
    Their is no option under java preferences General Tab
    The options i get their are
         Run appelts
              in their own proccess
              Within the browser process
              (Defaut most compatible)
    Under the network tab im told
    By default java applets and web start applications use network settings in the system network preferences. Only advanced users should modify these settings
    Any ideas on why it is like this?

    Mac OS 10.6.8
    This happend once before when I was running 10.5.8 I fixed it but for the life of me i can't remember how i did it.

  • Unable to start the java applet

    Hi there,
    I'm having some problems with the java applet unable to display on some of the pc in the workplace. I've tried to uninstall & reinstall the jre but still to no avail.
    Scenarios:
    Log in as Administrator = OK
    Log in as user with Administrator priviledge = NOT OK
    Is there anything else which I could try? please advice & thanks so much guys.

    Not sure if this is the correct solution but to edit your classpath go to your start button and select settings. then from there select control panel. then select system and when you get the pop up menu select the advanced tab. you should see an environment variables button. when you select environment variables you will get another pop up menu. there should be a listing for classpath. select it and click edit.
    start button -> settings -> control panel -> system -> advanced -> classpath
    move your cursor to the end of the listing for your classpath and add whatever file or directory you need to add. then click ok. make sure you include the entire path and if you need to add a jar file also include the .jar extension. however, it may be enough that you include the path up to the directory where the jar is located.
    once you add to your classpath, you will need to close and restart the application that needs the new classpath.

  • Starting a Java applet???

    I want to start a Java applet with this one JAR file I have. What is the code I need to put into the HTML to initiate the applet. I have this so far, but I don't know the class required:
    <applet code = "whatclassdoineedhere.class"
         archive = "file.jar"
    width=256 height=256>
    </applet>
    I am wondering what class I need to get it running. I'm completely new to Java, and am just experimenting with some things.

    Let me know if it doesn't work, by the way, I suggest you to use the Object Tag like this, it makes the user behind the internet terminal, know if it has the Java Plug-in; if not, it tries to install it, like when using flash.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <HTML>
        <HEAD>
            <TITLE>MyAppletSigned</TITLE>
        </HEAD>
        <BODY topmargin='0' leftmargin='0' rightmargin='0' bottommargin='0' BGCOLOR='black'>
            <OBJECT classid='clsid:8AD9C840-044E-11D1-B3E9-00805F499D93'
                    codebase='http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#Version=1,4,0,0'
                    width='100%'
                    height='95%'>
                <PARAM name='code' value='MyApplet.class'>
                <PARAM name='codebase' value=''>
                <PARAM name='archive' value='MyJar.jar'>
                <PARAM name='type' value='application/x-java-applet;version=1.4'>
                <PARAM name='scriptable' value='false'>
                <COMMENT>
                    <EMBED type='application/x-java-applet;jpi-version=1.4'
                           width='100%'
                           height='95%'
                           code='MyApplet.class'
                           codebase=''
                           archive='MyJar.jar'
                           scriptable='false'
                           pluginspage='http://java.sun.com/j2se/1.4/index.html'>
                        <NOEMBED>
                        </NOEMBED>
                    </EMBED>
                </COMMENT>
                <P>
             You don't have Java 2 SDK, Standard Edition v 1.4
            </OBJECT>
        </BODY>
    </HTML>

  • Java 1.5.09/10 Java Applet on Vista - starts but never downloads files

    We are attempting to test a java 1.5.07 compiled and signed Java applet with Windows Vista (from MSDN).
    Logged in as an administrator on the client PC, we installed the 1.5.09 and the 1.5.10 JRE on the client.
    We then changed the html of the applet page to specifiy the new plugin version so it matched the JRE installed on the client.
    When we start up IE7, point to our HTML applet page, and attempt to download (cache) our applet, the default Java plugin graphic with the progress bar onthe bottom shows up, but no progress is ever made.
    Taking a look at the Java console with full debugging turned on, we don't see any activity. When I dumped the classloader list, it only shows the codebase string, but no classes are actually loaded.
    I thought that maybe a popup window (asking to verify the certificate) might have popped up and was hidden by another window, but that's not the case. It never appears.
    Does anyone have any thoughts or suggestions? I can certainly attempt to capture more debug if someone can point me in the right direction!
    Thanks!
    -Matt

    Ok, some more info - and this gets interesting!
    The server is located in a DMZ here at work. (We have offshore teams in russia who are developing and testing code)
    It seems to be an issue with the internal firewall/DMZ here at work.
    We moved the codebase to a machine that is locally located (not in a DMZ) and presto, the applet begins to download.
    When I find out more information, I'll post in case anyone else comes across a similar concern/issue. It may be the firewall/router vendor?!?
    -Matt

  • [Ask] Getting Started to Java Card 2.2.2 or 3.0

    Hi Friends..
    I'm currently tasked to create Java Card application that would be loaded to MIFARE / DESFIRE Card..
    How to solve it?..
    I have Omnikey Cardman 5321 SmartCard Reader, and i have MIFARE and DESFIRE Card.
    I've tried to created simple Java Card application (Java Card 3.0)..
    Actually, i prefer Java Card 3.0 because its based on Servlet.. (i'm more familiar with Servlet than Applet :) )
    Could i load that application onto MIFARE / DESFIRE Card?..
    Is there any Card that have supported for Java Card 3.0?..
    or do i've to use Java Card 2.2.2?..
    How to getting started with Java Card 2.2.2?..
    is there any books that described about it?..
    Thanks in advanced..

    hanks safarmer for your reply..
    yes, i've compiled and run that code in Netbeans 6.9m1, but i got this message error :
    Exception in thread "main" javax.smartcardio.CardException: connect() failed
            at sun.security.smartcardio.TerminalImpl.connect(TerminalImpl.java:67)
            at javaapplication1.Main.main(Main.java:32)
    Caused by: sun.security.smartcardio.PCSCException: SCARD_W_UNRESPONSIVE_CARD
            at sun.security.smartcardio.PCSC.SCardConnect(Native Method)
            at sun.security.smartcardio.CardImpl.<init>(CardImpl.java:65)
            at sun.security.smartcardio.TerminalImpl.connect(TerminalImpl.java:61)
            ... 1 more
    Java Result: 1The card's status is SCARD_W_UNRESPONSIVE_CARD.
    How to solve this? How to make the SmartCard become a "RESPONSIVE CARD"?..
    Please help me regarding this..
    Thanks in advance..

  • I am trying to use an education program that needs Java applets to install and use and it will not use Safari. When I download IE from the web it will not install. How can I get a browser that will work on my MacAir for travel use of this program?

    I am trying to use and education program that needs Java applets and it will not run on Safari. IE will not install from the web. How do I get a browser that will work to install so I can use this program when I travel.

    Try using FireFox. IE will only run on a Mac if you run Windows on the Mac.
    Windows on Intel Macs
    There are presently several alternatives for running Windows on Intel Macs.
    Install the Apple Boot Camp software.  Purchase Windows 7 or Windows 8.  Follow instructions in the Boot Camp documentation on installation of Boot Camp, creating Driver CD, and installing Windows.  Boot Camp enables you to boot the computer into OS X or Windows.
    Parallels Desktop for Mac and Windows XP, Vista Business, Vista Ultimate, or Windows 7.  Parallels is software virtualization that enables running Windows concurrently with OS X.
    VM Fusion and Windows XP, Vista Business, Vista Ultimate, or Windows 7.  VM Fusion is software virtualization that enables running Windows concurrently with OS X.
    CrossOver which enables running many Windows applications without having to install Windows.  The Windows applications can run concurrently with OS X.
    VirtualBox is a new Open Source freeware virtual machine such as VM Fusion and Parallels that was developed by Solaris.  It is not as fully developed for the Mac as Parallels and VM Fusion.
    Note that Parallels and VM Fusion can also run other operating systems such as Linux, Unix, OS/2, Solaris, etc.  There are performance differences between dual-boot systems and virtualization.  The latter tend to be a little slower (not much) and do not provide the video performance of the dual-boot system. See MacTech.com's Virtualization Benchmarking for comparisons of Boot Camp, Parallels, and VM Fusion. A more recent comparison of Parallels, VM Fusion, and Virtual Box is found at Virtualization Benchmarks- Parallels 10 vs. Fusion 7 vs. VirtualBox. Boot Camp is only available with Leopard and later. Except for Crossover and a couple of similar alternatives like DarWine you must have a valid installer disc for Windows.
    You must also have an internal optical drive for installing Windows. Windows cannot be installed from an external optical drive.

Maybe you are looking for

  • JDeveloper 10 (9.0.5.2) with Java 1.5

    Hi everyone, I've tried to use Java 1.5 SDk in conjunction with JDeveloper 10g with no success. I always get the following error message: Error: initialization error: class file has wrong version 49.0, should be 45.3 or 46.0 or 47.0 or 48.0 on classp

  • How does "format SQL' work?

    Congratulations to the team!! Thanls for offering such a useful tool! I like "Snippet" a lot. I put the following into the window beloe "Enter SQL statement" select trim( substr (txt, instr (txt, ',', 1, level ) + 1, instr (txt, ',', 1, level+1) - in

  • WLC Not Monitoring AP Status Correctly?

    My 8510 HA pair running 8.0.110.0 doesn't seem to be monitoring the AP status properly. If an AP goes down or is otherwise taken off line, the total number of AP's on the Summary page drops by 1. It should show the same number of Total APs with the n

  • Server Authentication Error When Open a pdf

    Hi, we are working on LiveCycle ES2.5, and we have many pdf documents, some of these documents use a data connection to call (use)  a process deployed on the JBoss server using the SOAP url, after a restart to the server any user opens any pdf docume

  • Problem storing two identical qualifications with different proficiencies

    Hi Experts, I am trying to store qualifications in infotype 0024 (although the actual data ends up in HRP1001).  My issue is that if an employee holds two identical qualifications (ex. CPR) with two proficiencies (ex. basic and advanced), the system