Applet doubt

I m taking this code from else where .but in o/p after login if u see on right side i get jtree-color-sports-food--like this menu.If i want my own menu how can i do this ,if any one have idea pls post me to [email protected] or post here
java code:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.border.*;
public class LoginApplet2 extends JApplet {
public void init() {
add( new MainGui(), BorderLayout.CENTER );
validate();
public static void main(String[] args) {
Runnable r = new Runnable() {
public void run() {
JFrame f = new JFrame("Log-In app.");
f.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
f.add( new MainGui(), BorderLayout.CENTER );
f.pack();
f.setLocationByPlatform(true);
f.setVisible(true);
SwingUtilities.invokeLater(r);
class MainGui extends JPanel {
JButton logIn;
JLabel status;
JPasswordField passwordField;
JTextField username;
JLabel logInLabel;
JPanel mainPanel;
JPanel usernamePasswordPanel;
CardLayout cards;
MainGui() {
super.setLayout(new BorderLayout(3,3));
status = new JLabel("Log-In to proceed");
add(status, BorderLayout.NORTH);
mainPanel = new JPanel();
cards = new CardLayout();
mainPanel.setLayout(cards);
usernamePasswordPanel = new JPanel(new GridLayout(2,2,3,3));
usernamePasswordPanel.add( new JLabel("Username:") );
username = new JTextField(10);
usernamePasswordPanel.add( username );
usernamePasswordPanel.setBorder(new EmptyBorder(25,25,25,25));
usernamePasswordPanel.add( new JLabel("Password:") );
passwordField = new JPasswordField(10);
usernamePasswordPanel.add( passwordField );
logInLabel = new JLabel("Log In to use the app.");
mainPanel.add(logInLabel,"login");
JPanel mainApp = new JPanel(new BorderLayout(3,3));
mainApp.add(new JScrollPane(new JTree()), BorderLayout.WEST);
mainApp.add(new JTextArea(4,20), BorderLayout.CENTER);
mainPanel.add(mainApp, "app");
logIn = new JButton("Log In");
logIn.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent ae) {
if (logIn.getText().equals("Log In")) {
JOptionPane.showMessageDialog(
logIn,
usernamePasswordPanel,
"Log-In (Pswd hint: any 4+ letters or digits)",
JOptionPane.QUESTION_MESSAGE);
checkPassWord();
} else {
logOut();
add(logIn, BorderLayout.SOUTH);
add(mainPanel, BorderLayout.CENTER);
setBorder(new EmptyBorder(4,4,4,4));
public void checkPassWord() {
// change this for server based authentication
if (passwordField.getPassword().length>3) {
cards.show(mainPanel, "app");
logIn.setText("Log Out");
status.setText("Logged in as " + username.getText());
} else {
status.setText("Log In failed!");
public void logOut() {
cards.show(mainPanel, "login");
logIn.setText("Log In");
status.setText("Logged out");
passwordField.setText("");
related html::
<html>
<head></head>
<body>
<applet code="LoginApplet2.class" width=300 height=300>
</applet>
</body>
</html>

>
I m taking this code from else where . ..>Where? If it is available on the net, it is better to give the URL.
And whenever pasting code, code snippets, HTML/XML or input/output, please use the code tags. The code tags help preserve the indentation and formatting of the text. To use the code tags, select the text and click the CODE button on the Plain Text tab of the message posting form.(1)
>
.. but in o/p after login if u see on right side i get jtree-color-sports-food--like this menu.>Please spell words fully(2). For the sake of saving typing a couple of letters, it makes people seem like buffoons.
>
...If i want my own menu how can i do this ,if any one have idea pls post me to [email protected] or post here >
- (2) Those words are 'please' and 'you'.
- The word I should always be upper case. Always.
- Please add 2 spaces and a single upper case letter at the start of every sentence. This helps the reader, and you would not want to make it harder for people to help you, would you?
- "If i want my own menu how can i do this" is a question, and should be 'marked' as a question with a question mark -> "If I want my own menu how can I do this?".
- And since it came up - 'doubt' seems to be an Indian(/English) word for 'question'. These are international forums, so that subject should be 'applet question'
- It is not a good idea to invite people on public forums to tutor you privately. It is generally felt that public forums are also to help people 'searching' for the answer later, and if a thread goes to email, that opportunity is lost.
- Posting an email address to a public forum will attract a torrent of spam.
But the 'short answer' to your question is..
>
java code:
mainApp.add(new JScrollPane(new JTree()), BorderLayout.WEST);>..Use one of the [JTree constructors|http://java.sun.com/javase/6/docs/api/javax/swing/JTree.html#constructor_summary] *(<- link)* that accepts an argument. For further details, see [How to Use Trees|http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html] *(<- link)* in the Java Tutorial.
(1) And here is how that snippet looks when inside code tags
    mainApp.add(new JScrollPane(new JTree()), BorderLayout.WEST);
...

Similar Messages

  • General doubt about devices and java applets

    I have one general doubt abt devices.
    Do all devices come with an SDK so that any language can interact with them?.
    Whats does it mean if i say that i need to build a CAB file for the devices
    and use them in my html object tag.
    Can programming languages like java(applets) or asp interact with devices
    once if we specify the classid and the cab file location(codebase)

    Let me make it more clear
    What i need is if we r using an ActiveX Component then we pack the .ocx and inf file into a cab file and give the location of the CAb file in the codebase attribute of object tag.
    When the browser renders the page, it will look into the classid attribute of object tag to see whether there is an entry in registry if not it will go to the location specified in the codebase and get it registered locally.
    As you know ActiveX works on windows.
    I want to implement the same thing in a platform independent way.
    So i chose java applets.
    Now i don't know what to do in this codebase part.
    i need to install the device driver files and all from the server once a person view the web page.
    when we use activex the classid field represents the device's entry but when we use applets thats the version of java being installed.
    Can any one suggest an idea to move.

  • Doubt about applet communicating with the SIM

    Greetings,
    I have this doubt: I am developing a web site which contains a java applet. The web site is going to be available at some web server. The web site is going to be accessed by mobile phones. The idea is that, somehow, the applet communicates with the mobile phone and extract info from the SIM Card for authentication. I still wondering if it is possible and the possible drawbacks or alternatives.
    Thank you in advance,
    Fernando

    Hi,
    you definitely have to sign your applet to do that.
    Check in the forum "Security -> Signed applet". You'll find the information you need to sign an applet.
    For example check at: http://forum.java.sun.com/thread.jsp?forum=63&thread=174214

  • Applet & standard form attachments doubt

    Hello everybody,
    I would really appreciate it if somebody can confirm if it is possible to set the value from a input type field on an standard html form through an applet.
    Basically the applet would let the users browse images hosted on a remote application to finally
    let them attach it to the form
    I can't use a standard file input because of the need of querying the remote application, also the form is processed for a third application that just accepts standard
    forms.
    Any help would be really appreciated.
    Edited by: user7768929 on Sep 27, 2010 5:59 AM

    Hi Baftos,
    Thanks for your prompt response.
    I'm afraid I've been trying to figure out this myself and it seems that javascript its specifically not allowed to [modify input type fields for security reasons.|http://www.codingforums.com/archive/index.php/t-97159.html]
    I'm starting to think that my approach is not possible and I should start considering other options.
    Thanks a lot, Javier.

  • Doubts about applet triggering

    Hello guys,
    I was wondering, when I have my applet assigned to be triggered by a EVENT_UNFORMATTED_SMS_PP_ENV or even a EVENT_FORMATTED_SMS_PP_ENV, I mean, the applet being triggered by a SMS-PP message, what happens when I send two consecutive messages, i.e., when I send the second message and the applet is still processing the first one, what happens to the second message? is it lost by the ME or it is kept in some sort of buffer and re-sent to the applet when the applet finishes the process?
    As there are no threads on Java Card so both messages can't be processed at the same time...
    Thank you,
    Helri

    This is too broad a question.
    Toad can fire random sql.
    sql*plus can fire random sql.
    Why would Toad be the problem?
    You would need to gather statspack data to demonstrate this.
    Sybrand,
    Agreed on it and its a relevant point.But I guess he is not worried about the db performance.Anyways lets see what OP says.
    Inner join and left join will always use CBO (Cost Based Optimizer) instead of RBO.
    I am not sure that I have read that anywhere. They came into Oracle in 9i where optimizer mode was choose as the default one. Just by the syntax, oracle would push them to use CBO as the default one,I am not sure about this. Even if we are having + symbol and have the stats,Oracle wold go for CBO right?Can you please point me to some where in the docs where it is mentioned that using this keywords,Oracle would use only CBO?
    Aman....

  • Is correct? Application (JFrame) to Applet (JApplet)

    I need to convert a java application (JFrame) into an applet (JApplet), and I have seen a few "big steps":
    1�: make the class extends to JApplet instead of a JFrame
    2�: To replace the construction method by init ()
    3�: To comment the main method
    Is correct?, because I have some doubts that later I�ll explain
    Thanks

    I think in the init method (in a JApplet) I cannot call the super method. but my problem is how to change this? if in others files (in Files.java) I have calls to super metod, because thus it constructs a dialog box, asking for a file.
    In file Files.java I have a class called "Abort" (extends to JDialog) in whitch:
    /* class Files.java */
    class Abort extends JDialog
              boolean abort = true;
              JTextArea mensage = null;
              JButton acept = new JButton("Acept");
              JButton cancel = new JButton("Cancel");
              Abort(String nanemFile)
                   super(MainClassFile.mainWindow, " Attention!", true);
    /* clas Files.java */Please help

  • Java Control Panel wont open at all and any Java Applets crash web browsers

    Hello,
    I recently installed a fresh fully updated copy of Windows 7 Home Premium 64 bit, and I have not for the life of me been able to get Java working at all. Java version is the latest JRE 6U31. I only have Internet Explorer 9 installed but I doubt it is a browser issue since I cannot even open the Java control panel. I have tried using the 32 bit version of Java, and the 64 bit. Anytime I try to open the Java control panel with either 32 bit or 64 bit, I get an error message (click link below to view error message):
    http://i65.photobucket.com/albums/h204/gobigjeff/Java%20Error/javaerror.png
    I can only bring up the Java Control Panel using the command “javaws –viewer” . Anytime I try to load a web page with a Java applet in either 64 bit or 32 bit, it freezes and crashes. I am running Internet Explorer 9 and have tried both the 32 bit and 64 bit browser versions. I saw Java’s recommendation to only use the 32 bit version so I have mainly been trying to get the 32 bit version working 1st, with no success. I have tried ALL of the following steps, and have done some exhaustive research on this problem. It seems others have had this issue as well, with no solution to be found:
    •     Uninstalled and reinstalled only Java 32 bit JRE 6u31 multiple times (Used Javara and reg cleaner to remove all old Java traces)
    •     Uninstalled and reinstalled only Java 64 bit JRE 6u31 (Used Javara and reg cleaner to remove all old Java traces)
    •     Uninstalled and reinstalled bit JRE 7 (Used Javara and reg cleaner to remove all old Java traces)
    •     Used SFC /scannow in safe mode to verify Windows files
    •     Ran spyware and virus scan with no issues detected
    •     Added all java processes to windows firewall
    I am out of solutions here. If anyone has had this problem with Java or knows what I need to do to fix the problem your advice would be greatly appreciated. I don’t think reinstalling windows is the solution because this is a fresh install.
    Edited by: 918650 on Mar 4, 2012 1:16 PM

    I figured it out. I changed the installation folder to C:/Java and it finally worked!

  • How do I integrate Java Applet and JavaScript?

    Hi:
    This has been asked before, I have read the archives, yet I'm still left with some doubts, and some posts are VERY old and may not apply today. (sorry, some questions might seem stupid, this is my first applet). The purpose is to create a light weight application for managing certificates stored on a smart card, requesting certificate renewal from a server and installing the issued certificate on the card.
    I need to create an applet (signed) to bridge the gab caused by the security limitations of JavaScript in order to access the smart card on the client. The applet will manage certificates on the card and do client-card interaction, while all client-server and user interaction is done by AJAX/JavaScript.
    So, the applet is actually supposed to be an invisible object embedded on the page that is accessed by the JavaScript. How do I go about this?
    - is there any reason to prefer JApplet over Applet?
    - do the JavaScript need to invoke start() or init() or is this done on page load?
    - are there limitations on data exchange with the applet (ie. only string types)?
    - how do I throw exceptions from the applet to the calling script?
    and: will is it better to let JavaScript do all http to keep the applet light, or to let the applet fetch files given a URL (to fetch the new certificate)?
    If the applet is stored in a jar-file, how do I indicate which class/method to invoke? Do the JavaScript have access to public methods only?
    Thanks for your advice and suggestions,
    Erik

    Hi,
    Are you still interested?
    I can work with you over this.
    Adil

  • The final solution to greek characters in AWT applets(????)

    OK. I have searched the whole web and asked whoever I knew. The question was simple: How do I show greek characters in a TextField in an AWT Applet? Some people said that I should change the font properties inside MY jre/lib installation but then I want EVERYONE and not just ME seeing the greek characters! Adding a greek font into the applet's jar was another "solution" but who wants to have an applet of about 2MBs? So I think I have come up to the answer ... ONLY with jre > 1.4.0 somebody could handle greek characters in AWT Applets without trooble! If somebody has managed to show and handle greek characters in a TextField inside an AWT Applet (which I doubt), I would like to know EXACTLY HOW as I am tired of non-working "solutions"! I hope this post saves you from a lot of time searching for the HolyGrail

    I haven't worked with a TextField but I worked with a JTextField. My solution wasn't very straightforward but it did the job.
    I used this solution in order to work with linux, but you must add an if
    statement to check the OS.
    If your problem was how to view Greek characters in a non internation version of
    Java, then as far as I know, you cannot! Also JDK 1.3.1_01 and j2re 1.4.0_01
    use a different way of loading system fonts, so with the latter you cannot use system fonts unless you put them in you java directory.
    (I use linux so don't be surprissed if these work different in windows)
    import java.io.*;
    public class JTextFieldGr extends javax.swing.JTextField {
    public JTextFieldGr() {
    super();
    myInit();
    public JTextFieldGr(String text) {
    super(text);
    myInit();
    public void myInit() {
    addKeyListener(new java.awt.event.KeyListener() {
    public void keyTyped(java.awt.event.KeyEvent evt){
    try{
    String tmp=""+evt.getKeyChar();
    String uk=new String(tmp.getBytes(),"ISO-8859-7");
    evt.setKeyChar(uk.charAt(0));
    }catch(UnsupportedEncodingException e){
    e.printStackTrace();
    public void keyPressed(java.awt.event.KeyEvent evt){
    public void keyReleased(java.awt.event.KeyEvent evt){
    }

  • Problem in loading an applet using JRE 1.5

    Hi,
    I have an applet which is working fine under JRE 1.4, but the same applet failing to load by using JRE 1.5
    Problem Description:
    1. The images in the applet fails to load using JRE 1.5
    2. The Username and Password text box are also failing to initialize.
    Can anyone help me out in this.
    Is there any code changes required ?

    I wonder if you have the same problem as me... Maybe we can find a solution for us both, no need for me to open a new thread for this topic then...
    I wrote an applet using Swing and compiled it using JavaSDK 1.4.x. I also installed the 1.4.x JRE for both of my test browsers. In Mozilla 1.1 the applet displays properly all the time. In IE6 SP1 it sometimes works as intended but sometimes the applet simply stops working, as per my Java Console somewhere after invoking the "start" method. Parts of the applet simply become gray and when I resize it - I have a JFrame in my applet - the whole JFrame becomes gray and does not respond to input nor it redraws itself. Shutting down IE does not close the JFrame(although the java console reports normal program termination and cleanup) and the only way to close it is through the task manager. I am using Windows 98SE btw.
    Does it sound similiar to your problem? It happens ONLY with IE, not with Mozilla. Anybody has an idea on what it could be? I doubt there's an error in my code...

  • Help need in Signed Applets.....Urgent

    Hi,
    I am stuck with a problem. Please help me out.
    The requirement is :
    I have an applet which has to run an executable which produces a .txt. The applet should use this .txt to produce its output.
    I made the applet into a signed jar and ran the executable to produce the .txt . But the .txt is outside the jar file and I am not able to use it to create the result.
    How do I use the .txt now?? Is the method that I am trying proper or should I use some other method?
    Another doubt is, when I run the .html of the applet code (which is in the server), is it cached in the client???

    I made the applet into a signed jar and ran the
    executable to produce the .txt . But the .txt is
    outside the jar file and I am not able to use it to
    create the result.
    How do I use the .txt now??Hand the user a JFileChooser and let him tell you where the file is, or loook at the exe to see whether you can specify an output directory as a parameter.
    Is the method that I am
    trying proper or should I use some other method?It's highly ugly, but I can't think of anything else.
    Another doubt is, when I run the .html of the applet
    code (which is in the server), is it cached in the
    client???Yes. No need to download the same stuff each time. The details are browser-specific.

  • Help need in Applets.....Urgent

    Hi,
    I am stuck with a problem. Please help me out.
    The requirement is :
    I have an applet which has to run an executable which produces a .txt. The applet should use this .txt to produce its output.
    I made the applet into a signed jar and ran the executable to produce the .txt . But the .txt is outside the jar file and I am not able to use it to create the result.
    How do I use the .txt now?? Is the method that I am trying proper or should I use some other method?
    Another doubt is, when I run the .html of the applet code (which is in the server), is it cached in the client???

    Cross post:
    http://forum.java.sun.com/thread.jspa?threadID=790801&messageID=4494066#4494066

  • Applet works in applet viewer but not in website.

    I am an experienced programmer, but new to java (second week). I have made working client/server chatroom in java that works when I use the applet viewer, but when trying to run the applet in an html file, I get this error.
    java.security.AccessControlException: access denied (java.net.SocketPermission 192.168.1.3:5136 connect,resolve)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkConnect(Unknown Source)
         at sun.plugin2.applet.Applet2SecurityManager.checkConnect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at client.Client.init(Client.java:34)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception: java.security.AccessControlException: access denied (java.net.SocketPermission 192.168.1.3:5136 connect,resolvI am unsure how to fix this. My first guess is that it is a security issue. Do I need some certificate or something?

    I am trying to connect an applet to a server application run on my computer. The server application is run in the eclipse ide, but I doubt that makes a difference.
    When connecting to the server from the client run through the eclipse ide with the app viewer, everything works fine. When making an html file for the app and running it also on that computer it fails.
    I tried using localhost instead of my internal ip address, and it gave the same errors. I will try signing next, but there must be a way to get this to work without that.

  • Suppressing Applet alerts when using java mail api

    Hi,
    Im using the following code to send email from my application. Im using JSF (tomahawk), Spring and hibernate in my application. I'm using spring email API classes to send email. This code works perfectly fine in the sense its parsing template and sending emails to the configured email id.
    I have defined this class as a managed bean and i have a commanButton is UI which is bound to this sendEmail() method
    <t:commandButton value="Send email" action= #{email.sendEmail}/>
    import java.io.StringWriter;
    import java.util.ArrayList;
    import java.util.Date;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Properties;
    import javax.mail.MessagingException;
    import javax.mail.internet.MimeMessage;
    import org.apache.velocity.Template;
    import org.apache.velocity.VelocityContext;
    import org.apache.velocity.app.VelocityEngine;
    import org.apache.velocity.exception.ParseErrorException;
    import org.apache.velocity.runtime.resource.loader.StringResourceLoader;
    import org.apache.velocity.runtime.resource.util.StringResourceRepository;
    import org.springframework.mail.MailException;
    import org.springframework.mail.SimpleMailMessage;
    import org.springframework.mail.javamail.JavaMailSenderImpl;
    import org.springframework.mail.javamail.MimeMessageHelper;
    import au.gov.nsw.railcorp.onlineticketing.external.model.request.ServiceFees;
    public class EmailService {
         JavaMailSenderImpl sender;
         VelocityEngine engine;
         public EmailService(){
         sender = new JavaMailSenderImpl();
             sender.setHost("<smtp ip>");
             sender.setPort(25);
             sender.setUsername("<user id>");
             sender.setPassword("<password>");
             engine = new VelocityEngine();
             Properties p = new Properties();
             p.setProperty("resource.loader", "string");
             p.setProperty("string.resource.loader.class",
                  "org.apache.velocity.runtime.resource.loader.StringResourceLoader");
             try {
                   engine.init(p);
              } catch (Exception e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         public VelocityEngine getEngine() {
              return engine;
         public void setEngine(VelocityEngine engine) {
              this.engine = engine;
         public JavaMailSenderImpl getSender() {
              return sender;
         public void setSender(JavaMailSenderImpl sender) {
              this.sender = sender;
         public static void main(String args[]){
              EmailService emailService=new EmailService();
              emailService.sendEmail();
         public boolean sendEmail(){
         try{
                 MimeMessage message = sender.createMimeMessage();
                 MimeMessageHelper helper = new MimeMessageHelper(message);
                 helper.setTo("<to email id>");
                 helper.setFrom("<from email id>");
                 helper.setSubject("Teting velocity");
                 VelocityContext context = new VelocityContext();
                 StringWriter writer =  new StringWriter();
                 Template template =new Template();
                    StringResourceRepository repository =StringResourceLoader.getRepository();
                    String tempText="<html><body>Hi, ${username}...<p> this is a some template!</p></body></html>";
                 repository.putStringResource("myTemplate",tempText );
                 context.put("username", "Marc");
                 template = engine.getTemplate("myTemplate");
                  template.merge(context, writer);
                  System.out.println("VM Template:\n" + tempText);
                  System.out.println("Output:\n" + writer);
                  String body=writer.toString();
                  helper.setText(body,true);
                  sender.send(message);
            catch (MessagingException ex) {
                // simply log it and go on...
                System.err.println(ex.getMessage());           
            catch (MailException ex) {
                // simply log it and go on...
                System.err.println(ex.getMessage());           
            } catch (ParseErrorException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         } catch (Exception e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
         return true;
    }The problem i have is when i try to invoke the function sendEmail() from my UI it is throwing a series of applet alerts (some 10 of them) . The following are the alerts that i get
    1. The applet is attempting to invoke the java/lang/System.getProperty() operation on java.home
    2. The applet is attempting to perform a read operation on the file C:\Program Files\java\jre1.5.0_14\javamail.providers
    3. The applet is attempting to perform a read operation on the file C:\Program Files\java\jre1.5.0_14\javamail.address.map etc....
    For ever applet alert i had to click on 'allow' for it to proceed. But there is no problem in sending mail after that. One more interesting this is i DONT get this alert when i try to execute this java class directly instead of calling the method from another class or from UI.
    Can someone please let me know the reason for this applet alert and the way to suppress it?
    Its really urgent .. please help
    Thank you..

    Hi Subhadip,
    Thanks for the quick response :)
    Please help me understand this.. Im not explicitly using applet anywhere .I guess it should be used internally by one or many of the API classes i have used . In this scenario how can self sign the applet and which one?
    I have included some jars like activation.jar,mail-1.4.2.jar,velocity-1.6.2.jar in my webapp lib . Is there a means to sign these jars and use? Is this what you are suggesting me to do?
    One more doubt i have is how come the same method runs without any problem when executed as a standalone java class (with main() method)
    Will be really helpful if you could help me understand this...
    Thanks,
    Swami

  • JDBC in applet URGENT

    Hi,
    I have created an application by using JDBC,now i would like to convert this application into applet and put it online. So i register a domain name, create a jar file for this application and use browser to load it. But so far from what i know, online features have to be done by using JSP,so is it possible to use JDBC to connect to database and do functions online?If not,it means i have to replace JDBC by JSP?
    Thanks for any help.

    Hi
    Please make note of some points:
    1. You can very well create your application as an Applet and then connect to a database through JDBC.
    2. If you think you can make use of the server resources properly you can go ahead with your applet. Otherwise you can switch to JSP, but you may not get any useful resources like Swing, JFC and other stuff through plain jsp, for all these you need an applet as a container for these.
    The problems you are facing is because applets are not secure, you need to sign your applet so as to make use of the system resources available and the applet to interact with your client machines. when you create your jar file you have to sign it using the jarsigner bound to a security certificate installed. Through java you can create your own self signed certificate with the keytool option available in your jdk. Then you have to use the HTMLConverter and pass the HTML file containing the applet tags pointing to your class file, this will convert the applet into browser readable format. Then you are all set, open the applet through your browser and <b>BINGO</b> you are up and moving.
    If you have any more doubts please feel free to ask me.
    Thanks
    Swaraj

Maybe you are looking for

  • Power Not Charging 100%

    Dear Support Tech Team, My computer is using: Lenovol G480. After My Lap had finished updating windows, My Adater not charging 100%. Ussually, Power charged at 50 ~ 60%. Plz check & feedback for me the way to Repair its. Tks & Best Regard. Huu Thuan

  • Deployment of Application

    Is there a manual on how to deploy application?? Any body can me a an idea. Thanks Dany

  • XML Import - Adding a page

    Hi! i have one xml file with two tables in it and one template designed in indesign. So when i import the file there is only room for one table. Is it possible to duplicate the page with indesign scripting to have the second table on the second page

  • Which connection is faster for Mac-iPod syncing?

    I have recently been reading about the switch from power adapter/usb/firewire bundle to usb only for iPods and after reading a couple of reviews i've come across quite a few people saying the the Firewire connection from a mac to an iPod is actually

  • Motion Tracking An Object That Goes Out Of The Sceen?

    Hi i am quite new to after effects i have only been using it for a few months im using after effects cs4,here is my problem i am trying to track a picture frame but when the picture goes out of the scene,the motion tracking path just goes crazy. It w