Applet development price

Hi:
There is this guy who is remodeling his company web page, and wants some new applets. He's asked me to do them and wants to know how much I wanna be paid.
The applets are suposed to be "calculators" related to financial topics, not complex at all, except for some charts and the fact that compatibility with Java 1.1 must be granted.
Here is an example of what the applets could look like (it belongs to another company):
http://www.inversis.com/utilidad/calc_acciones.html
So, I know that anyone could make the applets, but anyway it would be a tiring job (+20 applets). My question is: if he asked a real java development company, how much would they ask for them?
And how much would you ask, having in mind that you probably couldn't provide technical support nor future updates?
And no, I'm no way close to be a professional, though I feel quite capable of doing them...
Thanks!!

How much did you want to charge?I have no idea. I couldn't tell how much it would take me; for instance, I've already programmed the pie chart by hand... Also, I haven't the faintest idea about how much value gives the guy to the applets.
That's why I'm asking.

Similar Messages

  • Applet development problem

    hi...this is my first post in this forum....
    my problem is very strange...im a newbie at applet development.....when i wrote the following program:
    import java.applet.*;
    import java.awt.*;
    public class Display extends Applet
    Image img1;
    Image img2;
    public void init()
    img1=getImage(getCodeBase(),"Images/Duke.gif");
    img2=getImage(getCodeBase(),"Images/Sctonly2.gif");
    public void paint(Graphics grph)
    grph.drawImage(img1,10,20,this);
    grph.drawImage(img2,10,20,this);
    now on compiling this program, the compiler gives the following error...
    illegal start of expression: public void init()
    im completely stumped....why is it giving this error and what to do to correct this.
    thank you

    Remove the { before the method declaration public void init(){}
    and a } after grph.drawImage() method call.

  • Looking for proper SIM card for applet development

    Hi,
    I would like to develop some applet on the SIM card. And does anyone know where I can get the proper SIM card?
    I have a bit search for test SIM card and blank SIM card, but I am not sure which one can be used for applet development. It seems that Gemalto provides some development suit that includes some sample cards. But the suit is too expensive and maybe I don't need the tools they provide. I don't want to buy the wrong one, so it would be very helpful if any of you has some provider information or links!!
    Thanks in advance!!
    regards,

    934624 wrote:
    I would like to develop some applet on the SIM card. And does anyone know where I can get the proper SIM card?You should over the internet and should contact different vendors. There are many Chinese companies which can provide you sample cards.
    I have a bit search for test SIM card and blank SIM card, but I am not sure which one can be used for applet development. Any Java SIM card can be used for applet development.
    maybe I don't need the tools they provide. You do as you will need a tool to install your applet on the SIM card
    I don't want to buy the wrong one, so it would be very helpful if any of you has some provider information or links!!Are you just want to write applications or wanna be able to install them too on real cards ? If the purpose is just writing of apps then oracle and ETSI have provided everything, you don't need to buy any additional tool. But yes for dubuging you will need some third party tool or write your own one : -)

  • Applet development

    hi guys
    i am new to the java card technology.
    can i use neat beans 6.0 to develop java card applets?
    are all the required packages available?
    please help me
    thank you in advance

    hi lexdabear
    thank you for your reply.
    can i develop a host side application that communicates with a java card using neat beans 6.0.
    i tried to "import javax.smartcardio" but it says the package javax does not exist.
    please help me
    thank you in advance

  • Applet development in Internet Explorer Vs AppletViewer

    hello, i have build rmi chatting applet.
    when i test my applet with appletviewer, it work finely
    but when i try it in internet explorer 6 it can do properly
    like in appletviewer. what's wrong with it?
    for information, i build my applet with jbuilder 5 and i have
    setting my html file so ie6 can recognize my applet with <object>
    </object> tag. what's problem exactly with my development?

    If you look in the Plug-in console (right click on the icon on your task bar in Windows) you will probably see that you have a Security Exception because unsigned applets are not allowed to connect to other hosts.
    Solutions
    1. buy a certificate and sign the applet
    2. for testing, use PolicyTool to grant the required SocketPermission(s)
    Search the archives for details of how to do either.
    Regards
    Matthew

  • JPDK java applet development

    Hi,
    I've been trying to develop a java applet application and deploy it on a portal page. I managed to use a HTML portlet to link the java applet through an URL. So far so good. But then I wonder is that a good way for this implementation? Can anyone share their experience.
    Furthermore, I'm trying to use the portal SSO for login. Is there any Java api to retrieve the SSO user id, so that I can past it to my Java applet application. I'm very interested for any sample code.
    Thanks!

    Hi Kevin,
    It is possible to develop a JPDK portlet and use it for deploying an applet on the client end. I have developed a simple example of a telnet portlet which is basically an applet which has been embedded into the portlet. The sample is available on Knowledge Exchange. You will need to sign-up for it, if you havent yet.
    http://portalstudio.oracle.com/pls/ops/community.comm_folder_download.get_item?p_folderid=538287&p_itemid=569449&p_caid=233
    Secondly, if your applet intends on accessing system resources on the client end, then you will have to sign your applet jar file.
    You can use the JPDK APIs to retrieve the userID (provided you only need the user id).
    PortletRenderRequest pReq = (PortletRenderRequest) request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    pReq.getUser().getName();
    Hope that helps,
    thanks,
    Harsha

  • Java Card Applet Development, Testing, Loading in Eclipse 3.2.0

    Dear friends,
    1.
    we have installed Eclipse 3.2.0, activated JCOP Tools 3.1.2, installed Java Card 2.2.1 devepment tools..
    2.
    How we can start testing and loading the java applet into JCOP31 chip ??
    3.
    It's said that we should use Java Card Workstation Development Environment (JCWDE), but we can not find it in the eclipse .
    4.
    Where we can find Eclipse menu for the
    -Converter tool
    -APDU Tool Utility
    -Java Card Workstation Development Environment (JCWDE)
    5.
    is there any resource/web/link that contains Eclipse tutorial on this Java Card Development ???
    Tks,
    hendy

    1. Good.
    2. I suggest you start testing using the simulator, however if you want to test directly on the card at once, select your card reader using the /term command and use the commands as described in help to start sending APDUs to the card.
    3. This is not a part of the JCOP tools for eclipse (which is developed by IBM and maintained by NXP), but part of the JavaCard development toolkit developed and maintained by Sun. See http://java.sun.com/products/javacard/dev_kit.html.
    4. Read the above. None of this is part of JCOP tools for eclipse.
    5. As far as I know, there is no independent newbie guide for JCOP tools, but I would check out the help function included in the tools themselves if I were you.
    Good luck!

  • Java Card Applet Development

    Please I am doing my final year project on secure mobile application using Java Card Technology.
    I need to write and an application that can send SMS on a SIM card to another SIM card with the same application. The application will have a server side which manage the storage of messages and at the same time communicate information to the client on the SIM remotely. I am suppose to use wi-fi (TCP/IP) for transmission.
    Can anybody please give me ideas and possible working codes and simulators.
    I mean step by step procedure of how to start.
    THANK YOU.

    1. Good.
    2. I suggest you start testing using the simulator, however if you want to test directly on the card at once, select your card reader using the /term command and use the commands as described in help to start sending APDUs to the card.
    3. This is not a part of the JCOP tools for eclipse (which is developed by IBM and maintained by NXP), but part of the JavaCard development toolkit developed and maintained by Sun. See http://java.sun.com/products/javacard/dev_kit.html.
    4. Read the above. None of this is part of JCOP tools for eclipse.
    5. As far as I know, there is no independent newbie guide for JCOP tools, but I would check out the help function included in the tools themselves if I were you.
    Good luck!

  • Applet development with JDeveloper

    Hi,
    After many years of not being on the Java bandwagon, I am now faced with having to learn Java for some small projects that I will be working on later this year.
    I have been working through the newest Core Java book. I am currently at chapter x, Applets.
    My question is, How do I run applets from within JDeveloper?
    For example, given the following code:
    package myapplet;
    <applet code="MyApplet.class" width="300" height="300">
    </applet>
    import javax.swing.*;
    public classMyApplet extends JApplet
    public void init()
    JLabel label = new JLabel("Not a \"Hello, world\" applet", SwingConstants.CENTER);
    add(label);
    How can I run it from within JDev or how can I run it in a applet viewer or regular web browser? I tried to execute it in a Firefox browser, but it does not work.
    Thanks for any help you can give me.
    Ron Reidy

    Try this:
    In JDeveloper from the new->web tier->applet create a new applet (check the "can run stand alone").
    Add your 2 lines of code to the jbinit method.
    Then you can just run the applet directly.
    The other option is if you don't check the "run stand alone", you'll go into the new->web tier->applet and create an Applet HTML. The wizard will guide you to selecting your applet. then you run the HTML page.

  • Applet development and embedding in browser

    Can someone point me to a tutorial or docs that show me how to make a small applet in Java and then the actual tags to embed it in the browser (IE or Firefox)?
    Specifically I a looking to make an applet that can be controlled by Javascript to open a socket on the server (same computer the web page and applet will be on) and do some back and forth communications with an application that runs there.
    Thanks

    If you want to incorporate an applet in a JSC project, see this resource:
    Adding Applets to Web Applications Built with Sun Java Studio Creator 2
    (A link to it is at the top of this forum's topic listing.)
    If you want to create an applet to run in a web browser (that is, not related to a JSC project) see here:
    http://java.sun.com/docs/books/tutorial/deployment/applet/index.html

  • Developing an "signed applet"

    Hello!!
    I'm developing an applet that in the end should be an signed applet.
    But now as I'm in the developing process how do I test my applet and the functions like writing to a file, print etc. during the development process.
    It must be an easier way than signing the applet over and over again??
    So what I wonder is what development considerations should you do under the development process for an applet development project. To test things like writing to a file etc. without having to sign the applet all the time???

    Just write a simple batch file.
    This can make a jar from your class files, sign it and place it directly in your web directory. One click and you can test it over and over again! ;)
    @ECHO off
    echo ******************************************
    echo * BramH                                  *
    echo * Script: Creating a Signed JAR file     *               
    echo ******************************************
    PAUSE
    echo [Adding the files to test.jar]
    jar cvf e:\dir\Projects\Jar\test.jar -C e:\dir\Projects\JARClasses .
    echo [Signing the Jar-file, be patient...]
    jarsigner -verbose e:\dir\Projects\Jar\test.jar keystoreAlias
    echo [Signed Jar file created...]
    PAUSE

  • Print HTML doument without open it from an applet

    I need to know how I can print an HTML document from an applet developed with Jbuilder 4. I'm not a very expert developer and I need a detailed information about this problem. Important is that the HTML document is printed without open it.
    I use: win 2000 pro
    J2RE 1.4.0
    thanks in advance for your help
    Mauro Losa

    Thanks for your help but my problem is that i want print the document without display it.
    I think to have find a solution using Java Print Service API (JDK 1.4) but when i run the example the system display this error refered to this instruction
    "PrintService[] pservices = PrintServiceLookup.lookupPrintServices(flavor, aset);":
    java.lang.UnsatisfiedLinkError: getDefaultPrinterName
    at sun.print.Win32PrintServiceLookup.getDefaultPrinterName(Native Method)
    at sun.print.Win32PrintServiceLookup.getDefaultPrintService(Unknown Source)
    at sun.print.Win32PrintServiceLookup.getPrintServices(Unknown Source)
    at sun.print.Win32PrintServiceLookup.getPrintServices(Unknown Source)
    at javax.print.PrintServiceLookup.getServices(Unknown Source)
    at javax.print.PrintServiceLookup.lookupPrintServices(Unknown Source)
    at untitled4.applet1.main(Applet1.java:32)

  • Can't run JRE 1.2.2 applets once 1.4.1 installed

    I have an applet developed with JDK 1.2.2 (uses 3rd-party jars) which was working perfectly with the 1.2.2 plug-in
    that comes with the JDK.
    The OBJECT tag specifies the dynamic versioning clsid clsid:8AD9C840-044E-11D1-B3E9-00805F499D93 (which is the
    only possibility for 1.2.2?).
    However, when users who have downloaded the 1.4.1 plug-in run the applet (quite apart from the fact that I have had
    to solve a problem where plug-in 1.2.2 accepts PARAMs with initail _ but plug-in 1.4.1 does not!) they are
    getting an ExceptionInInitializerError inside one of the 3rd-party libraries. I have reproduced this
    error on my Windows XP PC (IE 6). The stack trace is as follows :
    (this has been reproduced outside of the browser using JRE 1.4.1 because the 1.4.1 plug-in console won't display,
    even after manually running the Console and setting the Show Console checkbox,
    and the icon doesn't appear on the System menu, presumably all because I have JDK 1.2.2 + plug-in installed)
    java.lang.ExceptionInInitializerError
    at javax.crypto.Mac.getInstance(DashoA6275)
    at com.baltimore.jpkiplus.pkcs12.PFX.fromASN1Object([DashoPro-V1.3-01300
    0])
    at com.baltimore.jpkiplus.pkcs12.PFX.fromBER([DashoPro-V1.3-013000])
    at com.baltimore.jpkiplus.pkcs12.PFX.<init>([DashoPro-V1.3-013000])
    at com.baltimore.jpkiplus.pkidevice.PKCS12Provider.openFile([DashoPro-V1
    .3-013000])
    at com.baltimore.jpkiplus.pkidevice.PKCS12Provider.openFile([DashoPro-V1
    .3-013000])
    at com.baltimore.jpkiplus.pkidevice.PKCS12Device.initInstance([DashoPro-
    V1.3-013000])
    at com.baltimore.jpkiplus.pkidevice.PKIDeviceManager.getPKIDevice([Dasho
    Pro-V1.3-013000])
    at com.baltimore.jpkiplus.vaults.Vault.a([DashoPro-V1.3-013000])
    at com.baltimore.jpkiplus.vaults.Vault.openVault([DashoPro-V1.3-013000])
    at mailsign.signer.signAndSend(signer.java:262)
    at mailsign.AppletSigner.signAndSend(AppletSigner.java:329)
    at mailsign.AppletSigner.action(AppletSigner.java:521)
    at java.awt.Component.handleEvent(Unknown Source)
    at java.awt.Component.postEvent(Unknown Source)
    at java.awt.Component.postEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs
    at javax.crypto.SunJCE_b.<clinit>(DashoA6275)
    ... 24 more
    Caused by: java.lang.UnsupportedOperationException
    at java.security.cert.CertificateFactorySpi.engineGenerateCertPath(Unkno
    wn Source)
    at java.security.cert.CertificateFactory.generateCertPath(Unknown Source
    at javax.crypto.SunJCE_d.a(DashoA6275)
    at javax.crypto.SunJCE_d.a(DashoA6275)
    at javax.crypto.SunJCE_b.i(DashoA6275)
    at javax.crypto.SunJCE_b.h(DashoA6275)
    at javax.crypto.SunJCE_v.run(DashoA6275)
    at java.security.AccessController.doPrivileged(Native Method)
    ... 25 more
    In my opinion, this has something to do with the way service providers are handled. The 3rd party jar requires
    a Security.insertProviderAt () call. My suspicion is that there is some kind of conflict with the JCE stuff
    that comes bundled with JRE 1.4.1 to handle RSA signed applets. I found a similar conflict with the 1.2.2 JRE
    when I tried to jarsign the 3rd-party libraries - I was getting, at runtime, either some kind of infinite loop hanging or
    a stack overflow due to recursive function calls.
    The fact that I can run the applet as a main and that I get the exact same error running the app from the DOS
    prompt would indicate that this is a JRE 1.4.1 problem (surely the JREs are supposed to be downwardly-
    compatible??!!! - i.e. the JRE 1.4 should run apps compiled with JDK 1.2.2 without any problem). Yes, I have
    run the app as a main with JRE 1.2.2 and all works fine.
    However, I could get around this if I could force the 1.2.2 plug-in to run instead of the 1.4.1 plug-in (quite
    how the users are going to be able to get the 1.2.2 plug-in if they have plug-in 1.4.1 installed
    without being Java experts is a problem I will leave
    till later when I try to figure out how to make my applet an RSA signed applet (which if the documentation is
    correct are only available from 1.3 onwards, hence solving this 1.4.1 problem would be VERY nice)).
    But the problem is that once the 1.4.1 plug-in is installed, it always takes precedence over lower versions.
    It's not obvious from the documentation whether older plug-in versions get executed when static versioning
    is used for the clsid in the OBJECT tag. I can't be bothered to download a 1.3 plug-in and try.
    However, unless I am mistaken, there is not a static versioning clsid for plug-in 1.2.2 ?????
    In summary, once users download a plug-in version greater than 1.2.2 (presumably by running another applet from some
    other site that requires eg 1.4.1 - I guess Sun's aim is to make the Plug-In as prevalent as possible, hence
    this is not a far-fetched scenario), it is no longer possible for my applet to be run by a 1.2.2 JRE !!!!!!!
    Because the 1.4.1 JRE is not downwardly-compatible, it can't run my 1.2.2-developed applet and my deployed
    application is broke.
    Unless I am missing something somewhere (which is possible because I am getting fed up of solving problem after
    problem with the Plug-In - eg the mess of setting the right codebase to get different plug-ins to be downloaded
    automatically - the HTML converter doesn't always set up the codebase correctly), this seems like a nightmare
    for applet developers - from one day to the next your applications will break because of Sun's plug-in upgrading.
    Please tell me there is a way to force the 1.2.2 JRE/plug-in to execute instead of 1.4.1 and that there is a
    way for the 1.2.2 plug-in to be downloaded automatically by users even when they have 1.4.1 already installed.

    Are you using signtool? I had a problem where applets stopped working when I went from JRE 1.3.1_01a to 1.3.1_07. I updated the signtool from 1.1 to 1.3 and now my applets run.
    Mark

  • Price difference-when process change

    Hi,
    Presently in costing sheet there are two continuous processes, both are considered as SFG (semi finished goods). The SFG 1 material in first process is the BOM part of the second process SFG 3 material. Both process has different cost centres, overheads and cost elements.
    Now the second process of SFG material takes more than 9 months. So want to show this WIP under maturation stock, as separate stock under new SFG 2 material, with some value addition (considered as activity). This new process related SFG 2 material BOM will contains the first process SFG 1 material. And this new SFG 2 material code will be the part of BOM of the last process SFG 3 material.
    Now there are 2 issues we are facing.
    1st query:
    In quality server after transporting the request from Development, Price difference account is generated while production of the 3rd Process SFG 3 material.
    Production made for 1000 AL Qty (Base Qty of BOM 1000 AL and Costing lot size 1000 AL ) and in the entry we are getting the Price difference entry as shown below.
    Dr. Inventory SFG3 - 105,897.43
    Cr. Incr/Decr/Cons SFG 3 - 105,900.00
    Cr. Price difference - 2.57
    Cr. Inventory SFG2 - 94,550.00
    Dr. Incr/Decr/Cons SFG2 - 94,550.00
    Standard cost of SFG 3 for 1000 AL is 105,897.43 and Standard cost of SFG 2 for 1000 AL is 94,550.00
    May i know why the price difference account is picked up while doing the production of existing material SFG 3, when there is no such difference in development server. And no Price difference account in Quality server before introducing the new process?
    Regards
    Vinu.

    hi

  • Applet Event Handler

    Would someone please help me. I am new to applet development and I get a compile error associated with the event handling in my first ever applet code as follows:
    C:\j2sdk1.4.2_01\bin>javac trajectory_j.java
    trajectory_j.java:248: illegal start of expression
    private class Handler implements ActionListener {
    ^
    trajectory_j.java:248: ';' expected
    private class Handler implements ActionListener {
    ^
    2 errors
    de.
    This is the code:
    // trajectory Analysis Program: trajectory_j.java
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class trajectory_j extends JApplet implements ActionListener {
         private JTextArea introductionArea, resultsArea;
         private JLabel spanLabel, chordLabel,
              thicknessLabel, massLabel, altitudeLabel, velocityLabel,
              trajectory_angleLabel, time_incrementLabel, rotation_factorLabel,
              calculationLabel, resultsLabel;
         private JTextField spanField, chordField, thicknessField,
              massField, altitudeField, velocityField, trajectory_angleField,
              time_incrementField, rotation_factorField;
         private JButton startButton, resetButton, contButton, termButton;
         String introduction_string, span_string, chord_string, thickness_string, mass_string,
              altitude_string, velocity_string, trajectory_angle_string,
              time_increment_string, rotation_factor_string, results_string;
         double span, chord, thickness, mass, altitude, velocity, trajectory_angle, time_increment,
              rotation_factor, distance, velocity_fps, elapsed_time;
         int status_a;
         int status_b;
         int status_c;
    /* deletion of code segment a
              span = 0;
              chord = 0;
              thickness = 0;
              mass = 0;
              altitude = 0;
              velocity = 0;
              trajectory_angle = 0;
              time_increment = 0;
              rotation_factor = 0;
              distance = 0;
              velocity_fps = 0;
              elapsed_time = 0;
              velocity_fps = 0;
              elapsed_time = 0;
         // create objects
         public void init()
              status_a = 0;
              status_b = 0;
              status_c = 0;
              // create container & panel
              Container container = getContentPane();     
              Panel panel = new Panel( new FlowLayout( FlowLayout.LEFT));
              container.add( panel );
              // set up vertical boxlayout
              Box box = Box.createVerticalBox();
              Box inputbox1 = Box.createHorizontalBox();
              Box inputbox2 = Box.createHorizontalBox();
              Box inputbox3 = Box.createHorizontalBox();
              Box buttonbox = Box.createHorizontalBox();
              introduction_string = "This is the introduction";
              // set up introduction
              introductionArea = new JTextArea( introduction_string, 10, 50 );
              introductionArea.setEditable( false );
              box.add( new JScrollPane( introductionArea ) );
              box.add( Box.createVerticalStrut (10) );
              box.add( inputbox1);
              // set up span
              spanLabel = new JLabel( "span (feet)" );
              spanField = new JTextField(5 );
              inputbox1.add( spanLabel );
              inputbox1.add( spanField );
              Dimension minSize = new Dimension(5, 15);
              Dimension prefSize = new Dimension(5, 15);
              Dimension maxSize = new Dimension(Short.MAX_VALUE, 15);
              inputbox1.add(new Box.Filler(minSize, prefSize, maxSize));
              // set up chord
              chordLabel = new JLabel( "chord (feet)" );
              chordField = new JTextField(5 );
              inputbox1.add( chordLabel );
              inputbox1.add( chordField );
              inputbox1.add(new Box.Filler(minSize, prefSize, maxSize));
              // set up thickness
              thicknessLabel = new JLabel( "thickness (feet)" );
              thicknessField = new JTextField(5 );
              inputbox1.add( thicknessLabel );
              inputbox1.add( thicknessField );
              inputbox1.add(new Box.Filler(minSize, prefSize, maxSize));
              // set up mass
              massLabel = new JLabel( "mass (slugs)" );
              massField = new JTextField(5);
              inputbox1.add( massLabel );
              inputbox1.add( massField );
              box.add( Box.createVerticalStrut (10) );
              box.add( inputbox2);
              // set up altitude
              altitudeLabel = new JLabel( "altitude (feet)");
              altitudeField = new JTextField(5 );
              inputbox2.add( altitudeLabel );
              inputbox2.add( altitudeField );
              inputbox2.add(new Box.Filler(minSize, prefSize, maxSize));
              // set up velocity
              velocityLabel = new JLabel( "velocity (Mach Number)");
              velocityField = new JTextField(5);
              inputbox2.add( velocityLabel );
              inputbox2.add( velocityField );
              inputbox2.add(new Box.Filler(minSize, prefSize, maxSize));
              // set up trajectory_angle
              trajectory_angleLabel = new JLabel( "trajectory angle ( -90 degrees <= trajectory angle <= 90 degrees )");
              trajectory_angleField = new JTextField(5);
              inputbox2.add( trajectory_angleLabel );
              inputbox2.add( trajectory_angleField );
              box.add( Box.createVerticalStrut (10) );
              box.add( inputbox3);
              Dimension minSizeF = new Dimension(70, 15);
              Dimension prefSizeF = new Dimension(70, 15);
              Dimension maxSizeF = new Dimension(Short.MAX_VALUE, 15);
              inputbox3.add(new Box.Filler(minSizeF, prefSizeF, maxSizeF));
              // set up time_increment
              time_incrementLabel = new JLabel( "time increment (seconds)" );
              time_incrementField = new JTextField(5);
              inputbox3.add( time_incrementLabel );
              inputbox3.add( time_incrementField );
              inputbox3.add(new Box.Filler(minSizeF, prefSizeF, maxSizeF));
              // set up rotation_factor
              rotation_factorLabel = new JLabel( "rotation factor ( non-negative number)" );
              rotation_factorField = new JTextField(5);
              inputbox3.add( rotation_factorLabel );
              inputbox3.add( rotation_factorField );
              inputbox3.add(new Box.Filler(minSizeF, prefSizeF, maxSizeF));
              box.add( Box.createVerticalStrut (10) );
              box.add( buttonbox);
              // set up start
              startButton = new JButton( "START" );
              buttonbox.add( startButton );
              Dimension minSizeB = new Dimension(10, 30);
              Dimension prefSizeB = new Dimension(10, 30);
              Dimension maxSizeB = new Dimension(Short.MAX_VALUE, 30);
              buttonbox.add(new Box.Filler(minSizeB, prefSizeB, maxSizeB));
              // set up reset
              resetButton = new JButton( "RESET" );
              buttonbox.add( resetButton );
              buttonbox.add(new Box.Filler(minSizeB, prefSizeB, maxSizeB));
              // set up cont
              contButton = new JButton( "CONTINUE" );
              buttonbox.add( contButton );
              buttonbox.add(new Box.Filler(minSizeB, prefSizeB, maxSizeB));
              // set up term
              termButton = new JButton( "END" );
              buttonbox.add( termButton );
              box.add( Box.createVerticalStrut (10) );          
              // set up results
              resultsArea = new JTextArea( results_string, 10, 50 );
              resultsArea.setEditable( false );
              box.add( new JScrollPane( resultsArea ) );
              // add box to panel
              panel.add( box );
              // register event handlers
              Handler handler = new Handler();
              spanField.addActionListener( handler );
              chordField.addActionListener( handler );          
              thicknessField.addActionListener( handler );
              massField.addActionListener( handler );
              altitudeField.addActionListener( handler );
              velocityField.addActionListener( handler );          
              trajectory_angleField.addActionListener( handler );
              time_incrementField.addActionListener( handler );
              rotation_factorField.addActionListener( handler );
              startButton.addActionListener( handler );
              resetButton.addActionListener( handler );
              contButton.addActionListener( handler );
              termButton.addActionListener( handler );
    // private inner class for event handling
    private class Handler implements ActionListener {
         // process handler events
         public void actionPerformed( ActionEvent event )
              // process resetButton event
              if ( event.getSource() == resetButton )
                   reset();
              // process contButton event
              if ( event.getSource() == contButton )
                   cont();
              // process endButton event
              if ( event.getSource() == termButton )
              // process span event
              if( event.getSource() == spanField ) {
                   span = Double.parseDouble( event.getActionCommand() );
                   spanField.setText( span_string );
                   status_b++;
              // process chord event
              if( event.getSource() == spanField ) {
                   span = Double.parseDouble( event.getActionCommand() );
                   spanField.setText( chord_string );
                   status_b++;     
              // process thickness event
              if( event.getSource() == thicknessField ) {
                   thickness = Double.parseDouble( event.getActionCommand() );
                   spanField.setText( thickness_string );     
                   status_b++;
              // process mass event
              if( event.getSource() == massField ) {
                   mass = Double.parseDouble( event.getActionCommand() );
                   spanField.setText( mass_string );
                   status_b++;     
              // process altitude event
              if( event.getSource() == altitudeField ) {
                   altitude = Double.parseDouble( event.getActionCommand() );
                   spanField.setText( altitude_string );     
                   status_b++;
              // process velocity event
              if( event.getSource() == velocityField ) {
                   velocity = Double.parseDouble( event.getActionCommand() );
                   spanField.setText( velocity_string );
                   status_b++;
              // process trajectory_angle event
              if( event.getSource() == trajectory_angleField ) {
                   trajectory_angle = Double.parseDouble( event.getActionCommand() );
                   spanField.setText( trajectory_angle_string );
                   status_b++;
              // process time_increment event
              if( event.getSource() == time_incrementField ) {
                   time_increment = Double.parseDouble( event.getActionCommand() );
                   spanField.setText( time_increment_string );
                   status_b++;
              // process rotation_factor event
              if( event.getSource() == rotation_factorField ) {
                   rotation_factor = Double.parseDouble( event.getActionCommand() );
                   spanField.setText( rotation_factor_string );
                   status_b++;
              // process startButton event
              if ( event.getSource() == startButton && status_b == 9 ) {
                   status_c = 1;
         } // end method event handler
    } // end Handler class
         } // end method init
         public void strtb()
    /* deletion of code segment 1
              startButton.addActionListener(
                   new ActionListener() {  // anonymous inner class
                        // set text in resultsArea
                        public void actionPerformed( ActionEvent event )
                        if( status_c == 1 ){
                        calculate();
                        results();
                        resultsArea.setText( results() );
    /* deletion of code segment 2                    
                        }// end method actionPerformed1
                   } // end anonymous inner class1
              ); // end call to addActionlistener1
         } // end method strtb
         public void reset()
    /* deletion of code segment 3
              resetButton.addActionListener(
                   new ActionListener() {  // anonymous inner class
                        // set text in resultsArea
                        public void actionPerformed( ActionEvent event )
                        span_string = "";
                        chord_string = "";
                        thickness_string = "";
                        mass_string = "";
                        altitude_string = "";
                        velocity_string = "";
                        trajectory_angle_string = "";
                        time_increment_string = "";
                        rotation_factor_string = "";
                        results_string = "";
                        spanField.setText( span_string );
                        chordField.setText( chord_string );
                        thicknessField.setText( thickness_string );
                        massField.setText( mass_string );
                        altitudeField.setText( altitude_string );
                        velocityField.setText( velocity_string );
                        trajectory_angleField.setText( trajectory_angle_string );
                        time_incrementField.setText( time_increment_string );
                        rotation_factorField.setText( rotation_factor_string );
    resultsArea.setEditable( true );
                        resultsArea.setText( results_string );
    resultsArea.setEditable( false );
                        span = 0;
                        chord = 0;
                        thickness = 0;
                        mass = 0;
                        altitude = 0;
                        velocity = 0;
                        trajectory_angle = 0;
                        time_increment = 0;
                        rotation_factor = 0;
                        distance = 0;
                        velocity_fps = 0;
                        elapsed_time = 0;
    /* deletion of code segment 4               
                        } // end method actionPerformed2
                   } // end anonymous inner class2
              ); // end call to addActionlistener2
         } // end method reset
         public void cont()
         //later
         public void calculate()
         distance = 1;
         altitude = 2;
         trajectory_angle = 3;
         velocity_fps = 4;
         elapsed_time = 5;
         public String results()
         results_string =
         "Distance =\t\t" + distance + " miles\n"
         + "Altitude =\t\t" + altitude + " feet\n"
         + "Trajectory Angle =\t" + trajectory_angle + " degrees\n"
         + "Velocity =\t\t" + velocity_fps + " feet per second\n"
         + "Elapsed Time =\t\t" + elapsed_time + " seconds\n"
         + "\nstatus_a = " + status_a + "\nstatus_b = "
         + status_b + "\nstatus_c = " + status_c;
         return results_string;
    public void start()
    if(status_a == 0 )
    strtb();
    if (status_b == 0)
    reset();
    }// end method start
    } //end class trajectory_a

    The following are copies of html and java source code files for a prior runnable version ( trajectory_b ) of this program which can enlighten some functionality intended by the program.
    (trajectory_b.html):
    <html>
    <appletcode = "trajectory_b.class" width = "800" height = "600">
    </applet>
    </html>
    (trajectory_b.java):
    // trajectory Analysis Program: trajectory_b.java
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class trajectory_b extends JApplet implements ActionListener {
         private JTextArea introductionArea, resultsArea;
         private JLabel spanLabel, chordLabel,
              thicknessLabel, massLabel, altitudeLabel, velocityLabel,
              trajectory_angleLabel, time_incrementLabel, rotation_factorLabel,
              calculationLabel, resultsLabel;
         private JTextField spanField, chordField, thicknessField,
              massField, altitudeField, velocityField, trajectory_angleField,
              time_incrementField, rotation_factorField;
         private JButton startButton, resetButton, contButton, termButton;
         String introduction_string, span_string, chord_string, thickness_string, mass_string,
              altitude_string, velocity_string, trajectory_angle_string,
              time_increment_string, rotation_factor_string, results_string;
         double span, chord, thickness, mass, altitude, velocity, trajectory_angle, time_increment,
              rotation_factor, distance, velocity_fps, elapsed_time;
         int status_a;
         int status_b;
         int status_c;
    /* deletion of code segment a
              span = 0;
              chord = 0;
              thickness = 0;
              mass = 0;
              altitude = 0;
              velocity = 0;
              trajectory_angle = 0;
              time_increment = 0;
              rotation_factor = 0;
              distance = 0;
              velocity_fps = 0;
              elapsed_time = 0;
              velocity_fps = 0;
              elapsed_time = 0;
         // create objects
         public void init()
              status_a = 0;
              status_b = 0;
              status_c = 0;
              // create container & panel
              Container container = getContentPane();     
              Panel panel = new Panel( new FlowLayout( FlowLayout.LEFT));
              container.add( panel );
              // set up vertical boxlayout
              Box box = Box.createVerticalBox();
              Box inputbox1 = Box.createHorizontalBox();
              Box inputbox2 = Box.createHorizontalBox();
              Box inputbox3 = Box.createHorizontalBox();
              Box buttonbox = Box.createHorizontalBox();
              introduction_string = "This is the introduction";
              // set up introduction
              introductionArea = new JTextArea( introduction_string, 10, 50 );
              introductionArea.setEditable( false );
              box.add( new JScrollPane( introductionArea ) );
              box.add( Box.createVerticalStrut (10) );
              box.add( inputbox1);
              // set up span
              spanLabel = new JLabel( "span (feet)" );
              spanField = new JTextField(5 );
              inputbox1.add( spanLabel );
              inputbox1.add( spanField );
              Dimension minSize = new Dimension(5, 15);
              Dimension prefSize = new Dimension(5, 15);
              Dimension maxSize = new Dimension(Short.MAX_VALUE, 15);
              inputbox1.add(new Box.Filler(minSize, prefSize, maxSize));
              // set up chord
              chordLabel = new JLabel( "chord (feet)" );
              chordField = new JTextField(5 );
              inputbox1.add( chordLabel );
              inputbox1.add( chordField );
              inputbox1.add(new Box.Filler(minSize, prefSize, maxSize));
              // set up thickness
              thicknessLabel = new JLabel( "thickness (feet)" );
              thicknessField = new JTextField(5 );
              inputbox1.add( thicknessLabel );
              inputbox1.add( thicknessField );
              inputbox1.add(new Box.Filler(minSize, prefSize, maxSize));
              // set up mass
              massLabel = new JLabel( "mass (slugs)" );
              massField = new JTextField(5);
              inputbox1.add( massLabel );
              inputbox1.add( massField );
              box.add( Box.createVerticalStrut (10) );
              box.add( inputbox2);
              // set up altitude
              altitudeLabel = new JLabel( "altitude (feet)");
              altitudeField = new JTextField(5 );
              inputbox2.add( altitudeLabel );
              inputbox2.add( altitudeField );
              inputbox2.add(new Box.Filler(minSize, prefSize, maxSize));
              // set up velocity
              velocityLabel = new JLabel( "velocity (Mach Number)");
              velocityField = new JTextField(5);
              inputbox2.add( velocityLabel );
              inputbox2.add( velocityField );
              inputbox2.add(new Box.Filler(minSize, prefSize, maxSize));
              // set up trajectory_angle
              trajectory_angleLabel = new JLabel( "trajectory angle ( -90 degrees <= trajectory angle <= 90 degrees )");
              trajectory_angleField = new JTextField(5);
              inputbox2.add( trajectory_angleLabel );
              inputbox2.add( trajectory_angleField );
              box.add( Box.createVerticalStrut (10) );
              box.add( inputbox3);
              Dimension minSizeF = new Dimension(70, 15);
              Dimension prefSizeF = new Dimension(70, 15);
              Dimension maxSizeF = new Dimension(Short.MAX_VALUE, 15);
              inputbox3.add(new Box.Filler(minSizeF, prefSizeF, maxSizeF));
              // set up time_increment
              time_incrementLabel = new JLabel( "time increment (seconds)" );
              time_incrementField = new JTextField(5);
              inputbox3.add( time_incrementLabel );
              inputbox3.add( time_incrementField );
              inputbox3.add(new Box.Filler(minSizeF, prefSizeF, maxSizeF));
              // set up rotation_factor
              rotation_factorLabel = new JLabel( "rotation factor ( non-negative number)" );
              rotation_factorField = new JTextField(5);
              inputbox3.add( rotation_factorLabel );
              inputbox3.add( rotation_factorField );
              inputbox3.add(new Box.Filler(minSizeF, prefSizeF, maxSizeF));
              box.add( Box.createVerticalStrut (10) );
              box.add( buttonbox);
              // set up start
              startButton = new JButton( "START" );
              buttonbox.add( startButton );
              Dimension minSizeB = new Dimension(10, 30);
              Dimension prefSizeB = new Dimension(10, 30);
              Dimension maxSizeB = new Dimension(Short.MAX_VALUE, 30);
              buttonbox.add(new Box.Filler(minSizeB, prefSizeB, maxSizeB));
              // set up reset
              resetButton = new JButton( "RESET" );
              buttonbox.add( resetButton );
              buttonbox.add(new Box.Filler(minSizeB, prefSizeB, maxSizeB));
              // set up cont
              contButton = new JButton( "CONTINUE" );
              buttonbox.add( contButton );
              buttonbox.add(new Box.Filler(minSizeB, prefSizeB, maxSizeB));
              // set up term
              termButton = new JButton( "END" );
              buttonbox.add( termButton );
              box.add( Box.createVerticalStrut (10) );          
              // set up results
              resultsArea = new JTextArea( results_string, 10, 50 );
              resultsArea.setEditable( false );
              box.add( new JScrollPane( resultsArea ) );
              // add box to panel
              panel.add( box );
              // register event handlers
              Handler handler = new Handler();
              spanField.addActionListener( handler );
              chordField.addActionListener( handler );          
              thicknessField.addActionListener( handler );
              massField.addActionListener( handler );
              altitudeField.addActionListener( handler );
              velocityField.addActionListener( handler );          
              trajectory_angleField.addActionListener( handler );
              time_incrementField.addActionListener( handler );
              rotation_factorField.addActionListener( handler );
              startButton.addActionListener( handler );
              resetButton.addActionListener( handler );
              contButton.addActionListener( handler );
              termButton.addActionListener( handler );
    } // end method init
         // process handler events
         public void actionPerformed( ActionEvent event )
              // process resetButton event
              if ( event.getSource() == resetButton )
                   reset();
              // process contButton event
              if ( event.getSource() == contButton )
                   cont();
              // process endButton event
              if ( event.getSource() == termButton )
              // process span event
              if( event.getSource() == spanField ) {
                   span = Double.parseDouble( event.getActionCommand() );
                   spanField.setText( span_string );
                   status_b++;
              // process chord event
              if( event.getSource() == spanField ) {
                   span = Double.parseDouble( event.getActionCommand() );
                   spanField.setText( chord_string );
                   status_b++;     
              // process thickness event
              if( event.getSource() == thicknessField ) {
                   thickness = Double.parseDouble( event.getActionCommand() );
                   spanField.setText( thickness_string );     
                   status_b++;
              // process mass event
              if( event.getSource() == massField ) {
                   mass = Double.parseDouble( event.getActionCommand() );
                   spanField.setText( mass_string );
                   status_b++;     
              // process altitude event
              if( event.getSource() == altitudeField ) {
                   altitude = Double.parseDouble( event.getActionCommand() );
                   spanField.setText( altitude_string );     
                   status_b++;
              // process velocity event
              if( event.getSource() == velocityField ) {
                   velocity = Double.parseDouble( event.getActionCommand() );
                   spanField.setText( velocity_string );
                   status_b++;
              // process trajectory_angle event
              if( event.getSource() == trajectory_angleField ) {
                   trajectory_angle = Double.parseDouble( event.getActionCommand() );
                   spanField.setText( trajectory_angle_string );
                   status_b++;
              // process time_increment event
              if( event.getSource() == time_incrementField ) {
                   time_increment = Double.parseDouble( event.getActionCommand() );
                   spanField.setText( time_increment_string );
                   status_b++;
              // process rotation_factor event
              if( event.getSource() == rotation_factorField ) {
                   rotation_factor = Double.parseDouble( event.getActionCommand() );
                   spanField.setText( rotation_factor_string );
                   status_b++;
              // process startButton event
              if ( event.getSource() == startButton && status_b == 9 ) {
                   strtb();
         } // end method event handler
         public void strtb()
              startButton.addActionListener(
                   new ActionListener() {  // anonymous inner class
                        // set text in resultsArea
                        public void actionPerformed( ActionEvent event )
                        calculate();
                        results();
                        resultsArea.setText( results() );
                        }// end method actionPerformed1
                   } // end anonymous inner class1
              ); // end call to addActionlistener1
         } // end method strtb
         public void reset()
              resetButton.addActionListener(
                   new ActionListener() {  // anonymous inner class
                        // set text in resultsArea
                        public void actionPerformed( ActionEvent event )
                        span_string = "";
                        chord_string = "";
                        thickness_string = "";
                        mass_string = "";
                        altitude_string = "";
                        velocity_string = "";
                        trajectory_angle_string = "";
                        time_increment_string = "";
                        rotation_factor_string = "";
                        results_string = "";
                        spanField.setText( span_string );
                        chordField.setText( chord_string );
                        thicknessField.setText( thickness_string );
                        massField.setText( mass_string );
                        altitudeField.setText( altitude_string );
                        velocityField.setText( velocity_string );
                        trajectory_angleField.setText( trajectory_angle_string );
                        time_incrementField.setText( time_increment_string );
                        rotation_factorField.setText( rotation_factor_string );
    resultsArea.setEditable( true );
                        resultsArea.setText( results_string );
    resultsArea.setEditable( false );
                        span = 0;
                        chord = 0;
                        thickness = 0;
                        mass = 0;
                        altitude = 0;
                        velocity = 0;
                        trajectory_angle = 0;
                        time_increment = 0;
                        rotation_factor = 0;
                        distance = 0;
                        velocity_fps = 0;
                        elapsed_time = 0;
                        } // end method actionPerformed2
                   } // end anonymous inner class2
              ); // end call to addActionlistener2
         } // end method reset
         public void cont()
         //later
         public void calculate()
         distance = 1;
         altitude = 2;
         trajectory_angle = 3;
         velocity_fps = 4;
         elapsed_time = 5;
         public String results()
         results_string =
         "Distance =\t\t" + distance + " miles\n"
         + "Altitude =\t\t" + altitude + " feet\n"
         + "Trajectory Angle =\t" + trajectory_angle + " degrees\n"
         + "Velocity =\t\t" + velocity_fps + " feet per second\n"
         + "Elapsed Time =\t\t" + elapsed_time + " seconds\n"
         + "\nstatus_a = " + status_a + "\nstatus_b = "
         + status_b + "\nstatus_c = " + status_c;
         return results_string;
    public void start()
    if(status_a == 0 )
    strtb();
    if (status_b == 0)
    reset();
    }// end method start
    } //end class trajectory_b

Maybe you are looking for