Best IDE and how-to create HTML for a swing Applet

Can you help me out? I've been using, and teaching with the old Symantec VisualCafe product from long, long, ago. It still works fine & I can even use it to build JFC/Swing Applets etc. But a few things have occurred. For one, a way back, Symantec sold VisualCafe to WEBGAIN - who now has gone out of business and sold it to a company called TOGETHERSOFT - who doesn't support it any longer.
This isn't really a big deal to me, because I can still build and deploy applets that are pre-swing easily enough. (as can my students)
HOWEVER... I'd like to be running with the LATEST Java (I think it's 1.4.01) and I'd LIKE to use whatever is the best development environment I can use - especially one I can recommend to my students. Do you know what that should be?
What's more, I'd still like to take some JFC/Swing created applets (even if compiled with the older VisualCafe IDE) and generate the HTML to allow 1.4 enabled browsers to run them (this is the case for the schools versions of Explorer and Netscape). Now, the HTML I have INSTALLED for the students used the HTML converter - back in 1.2 to produce the HTML at the bottom of this. This code no longer works now with current browsers. Do you know HOW one makes a jfc/swing compiled applet run on the latest browsers?
Any help or direction you can give would be appreciated.
thanks,
Bobby Berns
[email protected]
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
WIDTH = 756 HEIGHT = 396 codebase="http://java.sun.com/products/plugin/1.2/jinstall-12-win32.cab#Version=1,2,0,0">
<PARAM NAME = CODE VALUE = "lottery.class" >
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.2">
<COMMENT>
<EMBED type="application/x-java-applet;version=1.2" java_CODE = "lottery.class" WIDTH = 756 HEIGHT = 396 pluginspage="http://java.sun.com/products/plugin/1.2/plugin-install.html"><NOEMBED></COMMENT>
</NOEMBED></EMBED>
</OBJECT>
<!--
<APPLET CODE = "lottery.class" WIDTH = 756 HEIGHT = 396 >
</APPLET>
-->
<!--"END_CONVERTED_APPLET"-->

Bobby,
It's been a while since I've used the HTML Converter, but if I had to guess I'd say you need a newer version than what you have. Also, doesn't the converter allow you to choose which JDK you want to use (in which case you could select 1.4)? Again it's been a while so bear with me. Another option would be to put all the Swing classes into a .jar file (typically called swingall.jar) on your server and include that file as an attribute in your applet tag like this:
<APPLET CODE="yourApplet.class" ARCHIVE="swingall.jar">
This way you don't have to use the Java Plug-in, however the initial download time of the .jar file can be significant.
As for an IDE, I've always been happy using a text editor like UltraEdit. However, I've heard good things about Forte, and hey, it's free!
Regarding Christina's post, that solution will only work if the Applet does not use Swing components (and Bobby specifically said it does). By using the <OBJECT> and <EMBED> tags, rather than the <APPLET> tag, you force the browser to use the Java Plug-in (rather than the browser's default JVM).
Hope that helps,
- Sheepy

Similar Messages

  • What are the uses of MVC, Extension and how to create it for begineers pls

    what are the uses of MVC, Extension and how to create it for begineers pls
    dont give link for tutorials please explain ,
    thank you,
    Regards,
    Jagrut BahratKumar Shukla

    Hi,
    Check out this link :
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/0f/ab3a3c9ca75402e10000000a114084/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/0f/ab3a3c9ca75402e10000000a114084/content.htm</a>
    It is the best possible explanation and documentation that you'll get.
    Thanks,
    Tatvagna.

  • What is authorization object and how to create it for a table

    Hi All,
    What is authorization object and how to create it for a table?
    Thanks

    Hi
    Authorization
    For authorization checks, there are many ways of linking authorization objects with user actions in an SAP system. The following discusses three possibilities in the context of ABAP programming.
    Authorization Check for Transactions
    You can directly link authorization objects with transaction codes. You can enter values for the fields of an authorization object in the transaction maintenance. Before the transaction is executed, the system compares these values with the values in the user master record and only starts the transaction if the appropriate authorization exists.
    Authorization Check for ABAP Programs
    For ABAP programs, the two objects S_DEVELOP (program development and program execution) and S_PROGRAM (program maintenance) exist. They contains a field P_GROUP that is connected with the program attribute authorization group. Thus, you can assign users program-specific authorizations for individual ABAP programs.
    Authorization Check in ABAP Programs
    A more sophisticated, user-programmed authorization check is possible using the Authority-Check statement. It allows you to check the entries in the user master record for specific authorization objects against any other values. Therefore, if a transaction or program is not sufficiently protected or not every user that is authorized to use the program can also execute all the actions, this statement must be used.
    AUTHORITY-CHECK OBJECT object
                            ID name1 FIELD f1
                            ID name2 FIELD f2
                            ID namen FIELD fn.
    object is the name of an authorization object. With name1, name2 ... , and so on, you must list all fields of the authorization object object. With  f1, f2 ... , and so on, you must specify the values that the system is to check against the entries in the relevant authorization of the user master record. The AUTHORITY-CHECK statement searches for the specified object in the user profile and checks the useru2019s authorizations for all values of f1, f2 ... . You can avoid checking a field name1, name2 ... by replacing FIELD f1  FIELD f2 with DUMMY.
    After the FIELD addition, you can only specify an elementary field, not a selection table. However, there are function modules available that execute the AUTHORITY-CHECK statement for all values of selection tables. The AUTHORITY-CHECK statement is supported by a statement pattern.
    Only if the user has all authorizations, is the return value sy-subrc of the AUTHORITY-CHECK statement set to 0. The most important return values are:
    ·        0: The user has an authorization for all specified values.
    ·        4: The user does not have the authorization.
    ·        8: The number of specified fields is incorrect.
    ·        12: The specified authorization object does not exist.
    A list of all possible return values is available in the ABAP keyword documentation. The content of sy-subrc has to be closely examined to ascertain the result of the authorization check and react accordingly.
    REPORT demo_authorithy_check.
    PARAMETERS pa_carr LIKE sflight-carrid.
    DATA wa_flights LIKE demo_focc.
    AT SELECTION-SCREEN.
      AUTHORITY-CHECK OBJECT 'S_CARRID'
                      ID 'CARRID' FIELD pa_carr
                      ID 'ACTVT' FIELD '03'.
      IF sy-subrc = 4.
        MESSAGE e045(sabapdocu) WITH pa_carr.
      ELSEIF sy-subrc <> 0.
        MESSAGE e184(sabapdocu) WITH text-010.
      ENDIF.
    START-OF-SELECTION.
      SELECT  carrid connid fldate seatsmax seatsocc
        FROM  sflight
        INTO  CORRESPONDING FIELDS OF wa_flights
        WHERE carrid = pa_carr.
        WRITE: / wa_flights-carrid,
                 wa_flights-connid,
                 wa_flights-fldate,
                 wa_flights-seatsmax,
                 wa_flights-seatsocc.
      ENDSELECT.
    Regards
    Hitesh

  • How to disable html for whole swing application.

    Hi,
    As we can disable html for individual swing components , for example JLabel
    label.putClientProperty("html.disable",Boolean.TRUE);
    BasicHTML.updateRenderer(label,"html.disable");
    is there any way to disable html rendering in swing components for system wide / whole application?.
    Thanks
    Kiran

    Better use a utility method in the application like this
    public static void disableHtml(JComponent component)
    component.putClientProperty("html.disable",Boolean.TRUE);
    BasicHTML.updateRenderer(component,"html.disable");
    call disableHtml(Component u want to set html disable) for any component in the application.

  • How to create html files using Swing

    I am developing a billing system in java. I want to generate cash memo and other related documents in HTML format. I have explored html package in swing but without result. Please help me.
    Arshad

    Hi,
    I agree with the previous poster. An additional way of generating HTML would be to directly write it. Class SHTMLWriter in package com.lightdev.app.shtm of application SimplyHTML at http://www.lightdev.com/template.php4?id=3 gives this opportunity.
    With this, you can do something such as   /**
       * example of synthesizing HTML code to a Writer using
       * class SHTMLWriter
       * @param fileName the name of the file to write HTML to
      public void writeHTML(String fileName) {
        try {
          FileWriter fw = new FileWriter(fileName);
          SHTMLWriter w = new SHTMLWriter(fw);
          w.startTag(HTML.Tag.HTML.toString(), null);
          w.startTag(HTML.Tag.BODY.toString(), null);
          SimpleAttributeSet set = new SimpleAttributeSet();
          set.addAttribute(CSS.Attribute.FONT_FAMILY, "SansSerif");
          set.addAttribute(CSS.Attribute.FONT_SIZE, "12");
          w.startTag(HTML.Tag.P.toString(), set);
          fw.write("some text");
          w.endTag(HTML.Tag.P.toString());
          w.endTag(HTML.Tag.BODY.toString());
          w.endTag(HTML.Tag.HTML.toString());
        catch(Exception e) {
          e.printStackTrace();
      }The HTML output is hard coded in this example. Certainly any HTML code can be created dynamically/programmatically instead. Class SHTMLWriter is partly meant as a convenience class for writing HTML. One can just through start and end tags as in above example. In the start tag any valid AttributeSet can be given.
    HTH
    Ulrich

  • How to create iView for customized master head war ?

    Hi,
    I deployed customized masterhead war file. But i cant see deployed war in portal application location.
    Anyone help me for customizing and masterhead page and how to create iView for customized master head...

    Hi,
    1. You can see the deployed application under the "Portal Applications"
    2. If you want to create an iView out of it. right click on the application -> copy. than press right click in the folder you want the iView will be created and paste ad pcd object.
    Hope I helped you.
    Ronny.

  • How to create documentation for report programs and how to use it

    how to create documentation for report programs and how to use it in the selection screen by placing an icon in the Applicatin Tool bar. If i click this icon the help documentation has to display.
      Note: Exaple <b>RSTXSCRP</b> programs selection screen

    Hi
    1 goto SE38 transaction, give the program name
    2 Click on documentation radiobutton & then press change
    3 Write your PURPOSE, PREREQUISITES etc details
    4 Save the same & Activae it.
    The icon will come automatically on selection screen
    Thanks
    Sandeep
    Reward if useful

  • What is the best way to make PSD into HTML for emails

    What is the best way to make PSDs into HTML for emails? Will the new feature in Dreamweaver work for emails as well? I am using Cheetah mail, but I need to be able to turn PSDs into HTML so I can use it in Cheetah mail.  I have a general idea of how to do this, but I'm stumped about where to begin.

    Use PShop for images only.  Use DW to create your tables and inline CSS styles.
    Many e-mail clients do not show images for security reasons.  So graphics heavy e-mails are not an optimal way to communicate with your mailing list.
    See Alt-Web Articles, HTML E-mails and Newsletters
    Nancy O.

  • How to create variant for table/view ?

    Hi,
    When I go through SM30, I find a radio button called variant. I don't know the effect.
    Can anyone tell me how to create variant for table / view ?
    I want to know when we need to create variant for table/view.
    Best regards,
    Chris Gu

    hi ,
    Whenever you start a program in which selection screens are defined, the system displays a set of input fields for database-specific and program-specific selections. To select a certain set of data, you enter an appropriate range of values.
    For further information about selection screens, refer to Selection Screens in the ABAP User's Guide.
    If you often run the same program with the same set of selections (for example, to create a monthly statistical report), you can save the values in a selection set called a variant
    Procedure
    To create a new variant:
           1.      On the ABAP Editor initial screen, enter the name of the program for which you want to create a variant, select Variants, and choose Change.
           2.      On the variant maintenance initial screen, enter the name of the variant to be created.
    Note the naming convention for variants (see below).
           3.      Choose Create.
    If the program has more than one selection screen, a dialog box for screen assignment appears. The dialog box does not appear if the program only has one selection screen. The selection screen appears in this case.
           4.      If there is more than one selection screen, select the screens for which you want to create the variant
    5.      Choose Continue.
    The (first) selection screen for the report appears.
    If your program has more than one selection screen, use the scroll buttons in the left-hand corner of the application toolbar to navigate between them and to fill the fields with values. If you keep scrolling forwards, the Continue button appears on the last selection screen.
           6.      Enter the desired selection values, including multiple selection and dynamic selection.
           7.      Choose Continue.

  • How to create Headervariable for File adapter in 11g SOA Suite?

    Hi All
    My process in reading file and I wanted to know the exact name of the File.
    In 10g, we have fileAdapterInboundHeader.wsdl and create HeaderVariable using message type used in this wsdl and can get file and directory name in this variable But in 11g we dont have any wsdl like this.
    Can anybody give me some idea how to create Headervariable for Inbound file adapter to get file name?
    Thanks
    Vibzz

    Hi,
    Look at this document : [Oracle JCA Adapter for Files/FTP|http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10231/adptr_file.htm#CIAFJCCE]
    Romain.

  • How to create infopackage for Cube to Cune to transaction

    HI Experts
    I have performed following steps for cube to cube load.
    1. Created source cube and loaded the data from R3
    2. Created Destination cube
    3. Generated Export Data source for the source cube. Here I'm able to see my datasource Icon(8ZFIGL_C01). When I double click on that it is give details.
    4. Defined the update rules for Destiination cube by assiging the infosource (8ZFIGL_C01) which is created in step3.
    5.Now I'm searching for the infosurce (8ZFIGL_C01) in data modelling -> infosource.  its not showing up any name with 8ZFIGL_C01.
    Kindly let me know how to create infopackage for this to laod the data from cube to cube.
    Additional information:
    I have set the optopn Display Generated Object in Settings.
    Thanks in advance for your help.
    Regards
    NLN

    Hi,
    Right Click on "Infosource" (TA RSA12 Top at the Right side Panel) and choose Insert lost nodes and refresh the screen and now search for your infosource and you will find it.
    See solution from SAT:
    Problems with Infosource Data Marts
    Best regards,
    Frank

  • HOW DB POOLING WORK AND HOW TO CREATA A DB POOLING IN JSP

    HI! I'm new in programming JSP and in web programming. I would like to learn how does the DB pooling work and how to create a DB Pooling. THANKS....

    Thanks for the idea but i need a more detail one...
    Hi,
    Db connections are one of the most expensive
    operations in an application.So at applicatin launch
    only multiple connections to the dbase are opened and
    used and returned/closed after usage.
    You can have a loop running 10 times creating a
    connection every time and putting those in a
    Collection object (say hashtable) marked with a key.
    Then in the application code , take an available
    connection from the hashtable and use it . After use
    return /close the connection (your pool can be
    incremental..creating 5 connections evey 10-15
    minutes).

  • How to create Rfc for EP system in Solution manager

    Dear experts,
    I am doing ChaRM configuration for my EP system ( java only).
    I also configured CTS+ successfully but we want to integrate this with Chram in solman.
    I have done all configuration according to standard doc for ChaRM.
    But when creating project from solar_admin it is giving "   NO RFC for DEP system"
    so please suggest me how to create RFC for java system in Solution manager.
    thanks in advance
    dhiraj

    Hello,
    You need to setup an ABAP communication client and system, that's done through the TMS settings:
    For source system:
    - CTC                                              1
    - CTS_SYSTEM_TYPE                          JAVA  (others for a MDM system)
    - NON_ABAP_SYSTEM                          1
    - COMMUNICATION_SYSTEM:              (SAPSID of the ABAP communication system (e.g. the domain controller))
    - NON_ABAP_WBO_CLIENT                    (Client of the ABAP stack on which the Transport Organizer Web UI (CTS_BROWSER) is activated and will run.)
    - WBO_GET_REQ_STRATEGY                 TAGGED
    - WBO_REL_REQ_STRATEGY                 MANUAL
    For quality and production Java system (target systems):
    - CTC                                              1
    - CTS_SYSTEM_TYPE                          JAVA (others for a MDM system)
    - NON_ABAP_SYSTEM                         1
    - COMMUNICATION_SYSTEM:                 (SAPSID of the ABAP communication system (e.g. the domain controller))
    - DEPLOY_WEB_SERVICE                       CTSDEPLOY
    - DEPLOY_DATA_SHARE:
    When this is done correctly, you will see the fields ABAP communication system and client populated in SMSY.
    When ChaRM needs to operate on the non ABAP systems, it will take the RFCs for the communication system and client.
    Best regards,
    Miguel Ariñ

  • About lock object and how to create it

    Hi ABAP gurus,
    Can any one explain about the Lock Objects and How to create Lock object step by step.
    Rgds,

    Hi Rangamma,
    Check this info.
    Lock objects are use in SAP to avoid the inconsistancy at the time of data is being insert/change into database.
    SAP Provide three type of Lock objects.
    - Read Lock(Shared Locked)
    protects read access to an object. The read lock allows other transactions read access but not write access to
    the locked area of the table
    - Write Lock(exclusive lock)
    protects write access to an object. The write lock allows other transactions neither read nor write access to
    the locked area of the table.
    - Enhanced write lock (exclusive lock without cumulating)
    works like a write lock except that the enhanced write lock also protects from further accesses from the
    same transaction.
    You can create a lock on a object of SAP thorugh transaction SE11 and enter any meaningful name start with EZ Example EZTEST_LOCK.
    Use: you can see in almost all transaction when you are open an object in Change mode SAP could not allow to any other user to open the same object in change mode.
    Example: in HR when we are enter a personal number in master data maintainance screen SAP can't allow to any other user to use same personal number for changes.
    Technicaly:
    When you create a lock object System automatically creat two function module.
    1. ENQUEUE_<Lockobject name>. to insert the object in a queue.
    2. DEQUEUE_<Lockobject name>. To remove the object is being queued through above FM.
    Lock objects are use in SAP to avoid the inconsistancy at the time of data is being insert/change into database.
    SAP Provide three type of Lock objects.
    - Read Lock(Shared Locked)
    protects read access to an object. The read lock allows other transactions read access but not write access to
    the locked area of the table
    - Write Lock(exclusive lock)
    protects write access to an object. The write lock allows other transactions neither read nor write access to
    the locked area of the table.
    - Enhanced write lock (exclusive lock without cumulating)
    works like a write lock except that the enhanced write lock also protects from further accesses from the
    same transaction.
    You can create a lock on a object of SAP thorugh transaction SE11 and enter any meaningful name start with EZ Example EZTEST_LOCK.
    Use: you can see in almost all transaction when you are open an object in Change mode SAP could not allow to any other user to open the same object in change mode.
    Example: in HR when we are enter a personal number in master data maintainance screen SAP can't allow to any other user to use same personal number for changes.
    Technically:
    When you create a lock object System automatically creat two function module.
    1. ENQUEUE_<Lockobject name>. to insert the object in a queue.
    2. DEQUEUE_<Lockobject name>. To remove the object is being queued through above FM.
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    GO TO SE11
    Select the radio button "Lock object"..
    Give the name starts with EZ or EY..
    Example: EYTEST
    Press Create button..
    Give the short description..
    Example: Lock object for table ZTABLE..
    In the tables tab..Give the table name..
    Example: ZTABLE
    Save and generate..
    Your lock object is now created..You can see the LOCK MODULES..
    In the menu ..GOTO -> LOCK MODULES..There you can see the ENQUEUE and DEQUEUE function
    Lock objects:
    http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    Match Code Objects:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
    http://searchsap.techtarget.com/tip/0,289483,sid21_gci553386,00.html
    See this link:
    http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
    Hope this resolves your query.
    <b>Reward all the helpful answers.</b>
    Regards

  • How to create transaction for a maintenance view, Thank you.

    How to create transaction for a maintenance view,
    Thank you.
    deniz...

    Hi Deniz,
    Go to se93.
    Then create the new T.code.
    Under that select parameter Transaction.
    Then give the sm30 in the t.code in default values tab.
    check the checkbox skip initial screen.
    in classification tab.
    click checkbox inherit gui attributes..
    Now below..
    In the default values..
    select
    viewname and give ur table name.
    UPDATE= Xsave
    view - table name ( Should be upper case
    update X ( should be upper case).
    http://www.sap-basis-abap.com/sapbs011.htm
    Hope this helps you.
    Regards,
    Viveks

Maybe you are looking for

  • How can I deploy only one package out of a big project?

    Does any one know how can I only deploy one package out of a big project? We have a project which includes about 12 differenct packages. Is there a way in Jdeveloper for me to create a deploy profile to only deploy one package to a *.jar file? Do I h

  • Printing to a network printer from a Windows 8 PC.

    I installed an HP printer onto my iMac and then went wireless with it, sharing it so other iMac users could print when logged in.  That all works. I now have a Windows 8 PC as well and want to print to this printer.  The PC is on the network and can

  • IPad messages problem

    My iPad messages and iPhone messages won't sync or can't sync. Messages all come in on the iPhone which is older than the newer iPad. Ideas?

  • How to forbid window title bar to be draged?

    If a top level vi has the window title bar,how to forbid user to drag the title bar to change window's position? P.S. vi's property "Allow user to resize window" has been forbidden. LabVIEW 8.6

  • Email notification icon on taskbar

    I'm fairly certain I already know the answer to this, but I'll ask anyway. Is there an app that will put email, IM and missed call symbols on the taskbar? I have not seen anything at the app store, but the internet is full of jailbreaker software tha