How to get main method running in JavaApplet?

We're currently building a Java Applet with JBuilder5. We can get the event handlers to work, but the we can't get the main method running. What is the problem? Any suggestions?
Thanks for any helps!
Miska

I've searched the tutorials, but they don't say anything to me. Here's the code, it's a bit long but anyway... Could you tell what I should do next? How to use the threads and so on...
Here's the code:
package simu;
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
import javax.swing.*;
public class Simulaattori extends Applet {
boolean isStandalone = false;
Button SIMtilaButton = new Button();
Button VNStilaButton = new Button();
Button kaasuButton = new Button();
Button jarruButton = new Button();
Label asetuslabel = new Label();
TextField asetusarvoTextField = new TextField();
Button asetusplusButton = new Button();
Button asetusmiinusButton = new Button();
Label nollaatrippilabel = new Label();
Label trippilabel = new Label();
Label matkalabel = new Label();
Button ClrButton = new Button();
TextField trippimatkaTextField = new TextField();
TextField kokomatkaTextField = new TextField();
Label nopeuslabel = new Label();
TextField nopeusTextField = new TextField();
Label KaasuJaJarrulabel = new Label();
TextField kaasujajarruTextField = new TextField();
/**Get a parameter value*/
public String getParameter(String key, String def) {
return isStandalone ? System.getProperty(key, def) :
(getParameter(key) != null ? getParameter(key) : def);
//Muuttujat
boolean isSIM_ON;
boolean isVNS_ON;
boolean OnkoPoljettu;
double asetusarvo;
double voima;
/**Construct the applet*/
public Simulaattori() {
isSIM_ON = false;
isVNS_ON = false;
OnkoPoljettu = false;
voima = 0;
asetusarvo = 0;
DisableButtons_SimOff();
/**Initialize the applet*/
public void init() {
try {
jbInit();
catch(Exception e) {
e.printStackTrace();
/**Component initialization*/
private void jbInit() throws Exception {
SIMtilaButton.setLabel("Sim ON/OFF");
SIMtilaButton.setBounds(new Rectangle(12, 8, 112, 27));
SIMtilaButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(ActionEvent e) {
SIMtilaButton_actionPerformed(e);
this.setBackground(new Color(20, 197, 230));
this.setLayout(null);
VNStilaButton.setLabel("VNS ON/OFF");
VNStilaButton.setBounds(new Rectangle(12, 46, 112, 29));
VNStilaButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(ActionEvent e) {
VNStilaButton_actionPerformed(e);
asetuslabel.setFont(new java.awt.Font("Serif", 1, 18));
asetuslabel.setText("Asetusarvo:");
asetuslabel.setBounds(new Rectangle(20, 99, 93, 17));
asetusarvoTextField.setBounds(new Rectangle(19, 123, 94, 26));
asetusplusButton.setLabel("+");
asetusplusButton.setBounds(new Rectangle(19, 164, 44, 27));
asetusplusButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(ActionEvent e) {
asetusplusButton_actionPerformed(e);
asetusmiinusButton.setLabel("-");
asetusmiinusButton.setBounds(new Rectangle(71, 164, 42, 27));
asetusmiinusButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(ActionEvent e) {
asetusmiinusButton_actionPerformed(e);
nollaatrippilabel.setFont(new java.awt.Font("Serif", 1, 18));
nollaatrippilabel.setText("Nollaa trippi:");
nollaatrippilabel.setBounds(new Rectangle(170, 10, 112, 22));
trippilabel.setBounds(new Rectangle(170, 43, 112, 22));
trippilabel.setText("Trippimittari");
trippilabel.setFont(new java.awt.Font("Serif", 1, 18));
matkalabel.setBounds(new Rectangle(170, 113, 112, 22));
matkalabel.setText("Matkamittari");
matkalabel.setFont(new java.awt.Font("Serif", 1, 18));
ClrButton.setCursor(null);
ClrButton.setFont(new java.awt.Font("Dialog", 0, 8));
ClrButton.setLabel("CLR");
ClrButton.setBounds(new Rectangle(282, 7, 52, 28));
ClrButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(ActionEvent e) {
ClrButton_actionPerformed(e);
trippimatkaTextField.setBounds(new Rectangle(170, 71, 102, 26));
kokomatkaTextField.setBounds(new Rectangle(170, 140, 102, 26));
nopeuslabel.setFont(new java.awt.Font("Serif", 1, 18));
nopeuslabel.setText("Nopeusmittari");
nopeuslabel.setBounds(new Rectangle(170, 188, 112, 22));
nopeusTextField.setBounds(new Rectangle(170, 220, 102, 26));
KaasuJaJarrulabel.setFont(new java.awt.Font("Serif", 1, 20));
KaasuJaJarrulabel.setText("Kaasu & Jarru");
KaasuJaJarrulabel.setBounds(new Rectangle(95, 285, 136, 26));
kaasujajarruTextField.setBounds(new Rectangle(97, 317, 125, 27));
kaasuButton.setLabel("Kaasu");
kaasuButton.setBounds(new Rectangle(256, 282, 105, 29));
kaasuButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(ActionEvent e) {
kaasuButton_actionPerformed(e);
jarruButton.setBounds(new Rectangle(255, 317, 105, 29));
jarruButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(ActionEvent e) {
jarruButton_actionPerformed(e);
jarruButton.setLabel("Jarru");
this.add(SIMtilaButton, null);
this.add(VNStilaButton, null);
this.add(asetuslabel, null);
this.add(asetusarvoTextField, null);
this.add(asetusplusButton, null);
this.add(asetusmiinusButton, null);
this.add(nollaatrippilabel, null);
this.add(trippilabel, null);
this.add(ClrButton, null);
this.add(trippimatkaTextField, null);
this.add(matkalabel, null);
this.add(kokomatkaTextField, null);
this.add(nopeuslabel, null);
this.add(nopeusTextField, null);
this.add(KaasuJaJarrulabel, null);
this.add(kaasujajarruTextField, null);
this.add(kaasuButton, null);
this.add(jarruButton, null);
/**Get Applet information*/
public String getAppletInfo() {
return "Applet Information";
/**Get parameter info*/
public String[][] getParameterInfo() {
return null;
void SIMtilaButton_actionPerformed(ActionEvent e) {
if (isSIM_ON) {
DisableButtons_SimOff();
isSIM_ON = false;
else {
EnableButtons_SimOn();
isSIM_ON = true;
void VNStilaButton_actionPerformed(ActionEvent e) {
if (isVNS_ON) {
isVNS_ON = false;
DisableButtons_VNSOff();
else {
isVNS_ON = true;
EnableButtons_VNSOn();
//asetusarvoksi nykyinen nopeus
asetusarvo = Nopeusmittari.AnnaNopeus();
void ClrButton_actionPerformed(ActionEvent e) {
//tripin nollaus
Trippimittari.NollaaMittari();
void asetusplusButton_actionPerformed(ActionEvent e) {
asetusarvo = asetusarvo + 1;
void asetusmiinusButton_actionPerformed(ActionEvent e) {
asetusarvo = asetusarvo - 1;
void kaasuButton_actionPerformed(ActionEvent e) {
if (voima >= 0 && voima <= 90) {
voima = voima + 10;
else if (voima < 0) {
voima = 0;
//kaasun painaminen lopetaa vakionopeuden s��d�n
isVNS_ON = false;
void jarruButton_actionPerformed(ActionEvent e) {
if (voima >= -90 && voima <= 0) {
voima = voima - 10;
//kaasujajarruTextField.setText(Double.toString(voima));
else if (voima > 0) {
voima = 0;
//kaasujajarruTextField.setText(Double.toString(voima));
//jarrun painaminen lopettaa vakionopeuden s��d�n
isVNS_ON = false;
void DisableButtons_SimOff() {
SIMtilaButton.setEnabled(true);
VNStilaButton.setEnabled(false);
ClrButton.setEnabled(false);
asetusplusButton.setEnabled(false);
asetusmiinusButton.setEnabled(false);
kaasuButton.setEnabled(false);
jarruButton.setEnabled(false);
void EnableButtons_SimOn() {
SIMtilaButton.setEnabled(true);
VNStilaButton.setEnabled(true);
ClrButton.setEnabled(true);
asetusplusButton.setEnabled(false);
asetusmiinusButton.setEnabled(false);
jarruButton.setEnabled(true);
kaasuButton.setEnabled(true);
void DisableButtons_VNSOff() {
asetusmiinusButton.setEnabled(false);
asetusplusButton.setEnabled(false);
void EnableButtons_VNSOn() {
asetusmiinusButton.setEnabled(true);
asetusplusButton.setEnabled(true);
public double AnnaVoima() {
return voima;
public boolean CheckPolkimet() {
return OnkoPoljettu;
public double AnnaAsetusarvo() {
return asetusarvo;
public boolean OnkoSIM_ON() {
return isSIM_ON;
public boolean OnkoVNS_ON() {
return isVNS_ON;
public void Alkutilaan() {
isSIM_ON = false;
isVNS_ON = false;
OnkoPoljettu = false;
voima = 0;
asetusarvo = 0;
DisableButtons_SimOff();
public void NaytaNopeus(double nopeus) {
nopeusTextField.setText(Double.toString(nopeus));
public void NaytaKokoMatka(double matka) {
kokomatkaTextField.setText(Double.toString(matka));
public void NaytaTrippiMatka(double trippimatka) {
trippimatkaTextField.setText(Double.toString(trippimatka));
public void NaytaVoima() {
kaasujajarruTextField.setText(Double.toString(voima));
//P��OHJELMA
public static void main(String[] args) {
//Luodaan oliot
Simulaattori simulaattori = new Simulaattori();
Saadin saadin = new Saadin();
Matkamittari matkamittari = new Matkamittari();
Trippimittari trippimittari = new Trippimittari();
Nopeusmittari nopeusmittari = new Nopeusmittari();
Malli malli = new Malli();
simulaattori.asetusmiinusButton.setEnabled(true);
while (true) {
simulaattori.Alkutilaan();
while (simulaattori.OnkoSIM_ON()) {
long alkuaika = System.currentTimeMillis();
simulaattori.trippimatkaTextField.setText("TESTI");
if (simulaattori.OnkoVNS_ON()) {
//v�litet��n voima mallille, s��din laskee voiman
malli.laske_nopeus( Saadin.LaskeVoima() );
nopeusmittari.LaskeNopeus();
matkamittari.LaskeMatka();
trippimittari.LaskeMatka();
simulaattori.NaytaNopeus(nopeusmittari.AnnaNopeus());
simulaattori.NaytaKokoMatka(matkamittari.AnnaMatka());
simulaattori.NaytaTrippiMatka(trippimittari.AnnaMatka());
simulaattori.NaytaVoima();
}else {
//v�litet��n voima mallille
malli.laske_nopeus((int) (simulaattori.AnnaVoima()) );
nopeusmittari.LaskeNopeus();
matkamittari.LaskeMatka();
trippimittari.LaskeMatka();
simulaattori.NaytaNopeus(nopeusmittari.AnnaNopeus());
simulaattori.NaytaKokoMatka(matkamittari.AnnaMatka());
simulaattori.NaytaTrippiMatka(trippimittari.AnnaMatka());
long loppuaika = System.currentTimeMillis();
long suoritusaika = loppuaika - alkuaika;
while (suoritusaika < 100) {
loppuaika = System.currentTimeMillis();
suoritusaika = loppuaika - alkuaika;
} //end while (simulaattori.OnkoSIM_ON())
} //end while(1)
A MAJOR THANK YOU if you can bear me with this...
Miska

Similar Messages

  • How to call main method in one class from another class

    Suppose i have a code like this
    class Demo
    public static void main(String args[])
    System.out.println("We are in First class");
    class Demo1
    public static void main(String args[])
    System.out.println("We are in second class");
    In the above program how to call main method in demo calss from Demo1 class......???????

    No, i dont know how to call other than main methods from other classes
    And one more doubt i have i.e. Like in C can we see the execution of the program like how the code is being compiled step by step and how the value of the variable changes from step to step like(Add Watch).........

  • How to get main class name in running program?

    How can I get classname, which main method is executed? Of course in running program?
    Please help,
    Chris

    Something like (not tested this)StackTraceElement[] foo = new Throwable().getStackTrace();
    String whichClass = foo[foo.length-1].getClassName();

  • How to get protected method ?

    I thought i can get protected method of my class when calling a Class.getMethod(String, Class []) in another class which inside the same package. However, it seem that i can't do that because it throw me a NoSuchMethodException when the method was protected. I thought all classes in same package can access the protected methods or fields of each other ??? Why ?
    So, how i'm able to get the protected method in runtime ? (Hopefully no need to do anything with the SecurityManager)

    It is working
    Pls try the following program ...
    public class p1 {
    public static void main(String as[]) {
    p2 ps2 = new p2();
    ps2.abc();
    class p2 {
    protected void abc() {
    System.out.println("Hello");
    regards,
    namanc

  • Question of the day: In which Thread context does the main method run ?

    let's say, you create a JFrame in the main method:
    public static void main(String[] args)
    new MyJFrame();
    let's suppose, you construct the whole JFrame
    inside the constructor, which contains a lot
    of other Swing components, like JTree's and more.
    AND the JFrame calls setVisible(true) in its
    constructor.
    -> According to my knowledge, this won't work
    properly - it will function, BUT you will get one
    or two quite big exceptions (which usually start
    with a nullpointer exception, produced by the
    PLAF, but the whole stacktrace shows, that the
    the exception was thrown AND catched inside
    the Swing objects.
    Reason for this would be, that all operations
    after the "setVisible(true)" statement must be
    carried out in the eventdispatch thread, according
    to Swing rules.
    Now, as you can see by running the source below,
    the main() method always is processed in special thread,
    NOT the event dispatch thread - which produces the above behaviour.
    My Question:
    Wouldn't it have been easier to let the JVM
    process the main() methods right in the
    event dispatch thread ?
    Or:
    Why is the JVM designed to process the
    main() method in a special thread and not
    the Swing event dispatch thread ?
    opinions?
    Regards
    JPlaz / SnowRaver
    package Test1;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Frame1 extends JFrame
    public Frame1( final String title, int position )
    this.setSize(400,300);
    this.setLocation(position,position);
    this.setVisible(true);
    if( SwingUtilities.isEventDispatchThread() )
    System.out.println("Constructor of "+title+" is processed IN the event dispatch thread.");
    else
    System.out.println("Constructor of "+title+" is processed in ANOTHER than the event dispatch thread.");
    public static void main(String[] args)
    // First creation just from the startup thread context :
    new Frame1("first Frame", 60);
    // Now we let the second creation be done in the
    // eventdispatch thread context for sure :
    SwingUtilities.invokeLater( new Runnable()
    public void run()
    new Frame1("second Frame",120);

    Matt,
    it's been so long, I don't have the full answer in my head.
    This page on Adobe.com has an example that shows Flash 4
    mouse stuff (I'm Mr
    Vague today) when you scroll down. Your timelinme reference
    will be
    something like
    TellTarget(_Root, gotoAndPlay(50))
    Hopefully from that vagueness you can locate the right
    answer.
    Steve
    Adobe Community Expert: Authorware, Flash Mobile and Devices
    My blog -
    http://stevehoward.blogspot.com/
    Authorware tips -
    http://www.tomorrows-key.com

  • Need step by step instructions on how to get Lightroom to run in Windows

    First I downloaded Lightroom successfully using newest version of Creative Cloud. It would not run. Literally, nothing happens.
    Then I found some info online that says when Lightroom CC doesn't run, you must uninstall it and download it from the Adobe website instead of using Creative Cloud.
    When I try to download it in either Firefox or Chrome, I get this error message "Firefox/Chrome doesn't know how to open this address, because one of the following protocols (aam) isn't associated with any program or is not allowed in this context."
    After a lot of searching around, I discovered that I needed to download the Adobe Application Manger. I did so but it calls itself the Adobe Update Management Tool. Very confusing.
    Then I went back to the Adobe website and tried to download Lightroom again and got the same error message.
    Next, I ran the Adobe Update Management Tool and clicked on Get and Install Online Updates which seemed to be the only relevant choice. In the dropdown box under Select Product Type, there are many Adobe programs listed but Lightroom isn't one of them. I gave up on trying to download Lightroom directly from the Adobe website.
    I then re-downloaded Lightroom successfully using Creative Cloud. It still would not run.
    Next I found some info online that says you have to go into Appdata > Adobe > Local and rename the OOBE file to OOBE.old, so I did that. Lightroom still would not run. I rebooted. This time when I tried to run Lightroom, I got the screen where you have to accept Adobe's terms and conditions. I did so. Lightroom but still would not run.
    Is there anyone who has been through this and knows exactly what steps in what order I need to take to get Lightroom to run? I have Photoshop CC and it runs without any problems.

    You might reboot and try the other Solution #1/2 items, again.  Since you did so much hacking which may not have been related to the issue, there may be something else not right because of it. 
    You also might try uninstalling and reinstalling LR 5.5 from the cloud, again, or installing the LR 5.5 standalone update from the Adobe updates page:  http://www.adobe.com/downloads/updates/
    You also might try uninstalling your all Adobe software, running the CS Cleaner and installing, again:
    http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html
    You haven't said what other Adobe software you're running.
    Is this the very first time you've tried to run LR on this computer or have you upgraded from previous versions that worked ok?

  • How to initialized main method in a deployed application

    Hello,
    I am trying to deploy a simple java application to OC4J, I created a jar file as my deployment profile and then I created EAR file and finally delpoyed succesfully, but I'm wondering how can I start my main method in deployed application, note that my application requires some input arguments as well. Any ideas how can I do that ?
    Regards,
    Hussam Galal

    I might be missing the point of this post, but you can't 'start your main method' in any type of deployed application.
    You must expose your methods via some mechanism. You could call your method via a JSP, wrap in an EJB and create a client to call it remotely etc.
    What is in your JAR file? Just POJOs? If so you will have to wrap them in EJBs so they can be called, that or deploy a web application with some servlets or JSPs so they are accessible via some URL.

  • How to get the initdefault run level in Solaris 10

    Hi All,
    In Solaris 9 and below
    I will get the init run-level by checking the /etc/inittab entry
    is:3:initdefault:
    But in Solaris 10 we are using the smf functionality.
    Here how I can get the init default run level.
    Please help me in this problem.
    Regards,
    Kalai

    Init levels no longer form a 1:1 mapping with how SMF will run things.
    The default milestone is 'all'. You can override this on the boot line. I'm not sure how you might change it within the filesystem.
    Darren

  • How to get Adobe programs running?

    I am running Adobe CC on a Windows 7 machine, 64bit. The machine has registry software (PC Mechanic) and McAfee antivirus. I have 8 gigs of RAM and a dual core CPU. When I run Adobe, I tend to also have a web browser like Opera running in the background. Windows is used exclusively for Adobe software. I have frequent issues with Adobe programs, like Dreamweaver or Photoshop not being able to launch. Or getting errors like "internal signature error". I have called Adobe technical support, who logged onto my computer several times, but their technicians are consistently stumped. Collegues suggested I simply uninstall and reinstall the software. That worked at first, now the programs will no longer launch---even if reinstalled.
    Adobe seems unable (or perhaps just unwilling to help). It is suggested that Adobe simply cannot work on the Windows operating system. Rather, the programs are made for MAC computers, not Windows.
    Does anyone have suggestions on how to get Adobe CC to run on Windows 7?

    Hi Ikhider,
    I am running Adobe CC products on a Windows 7 64-bit system too. I also use McAfee anti-virus software as well.
    For troubleshooting I would try first shutting down everything running in the background not required by right-clicking on the icons in the system tray and choosing quit or exit.
    When launching the Adobe apps try right clicking on the icons and choosing Run As Administrator and see if that makes any difference
    The Resolve product launch freezes or problems section of this document might help:
    http://helpx.adobe.com/creative-suite/kb/troubleshoot-launch-issues-problems-cs5.html
    -Dave

  • How to get 'clover.cmd' running as Windows service?

    Right now I have the InDesign instances all running great as services so on a server reboot they start up fine. The clover/lbq part is  just the .cmd script and it's not running as a service. I looked in the documentation but haven't found any info on getting clover to run as a Windows service.
    Anyone know how to set it to do this? I'm on InDesign CS6 (server).
    thanks.

    This information is in the Install Guide that comes with EAS.Running EAS as a Windows service is an option you can select when you install it. If you did not do that, you can set it up to run as service by doing the following: (From the EAS Install Guide)----------------------------------------Adding Administration Server as a Windows ServiceYou can add Administration Server as a Windows service, even if it was not installed as a Windows service.?To add Administration Server to the list of Windows services:1. From a command prompt, navigate to the following directory: EASPATH\eas\server\bin2. Run the following command: install_service.batAdministration Services installs the Windows service as Hyperion-Essbase_Administration_Server Windows service. A message displayed in the command prompt window indicates that the service is installed.3. Start the Hyperion-Essbase_Administration_Server Windows service. See ?Starting the Administration Server Windows Service? on page 49.The Hyperion-Essbase_Administration_Server Windows service is set to start automatically each time you reboot.

  • How to get value by running  in code behind?

    Hi all,
    i am running one stored procedure which return value.
    i am calling that stored procedure like this.
    Dim retvalue As Integer
    dtformat.ShortDatePattern = "MM/dd/yyyy"
    Dim YourDate As DateTime = Convert.ToDateTime(dt, dtformat).ToString("MMM/dd/yyyy")
    Dim hsh As New Hashtable
    objDataTier.OpenDbConnection()
    con1.Open()
    Dim oc As New OracleCommand("spSelectStartDay")
    oc.CommandType = CommandType.StoredProcedure
    oc.Parameters.Add("v_pidate", OracleType.DateTime).Value = dt
    retvalue = oc.Parameters("v_poRetval").Value.ToString()
    but not getting value in retvalue variable?
    how to get the value in that.
    my stored procedure is here.
    create or replace
    Procedure spSelectStartDay
    v_pidate IN DATE DEFAULT NULL ,
    v_poRetVal OUT NUMBER
    AS
    v_dpart NUMBER(10,0);
    v_date DATE;
    v_startweek NUMBER(10,0);
    BEGIN
    v_dpart := TO_Char(v_pidate,'DD') ;
    v_dpart := v_dpart - 1 ;
    v_date := Trunc(Trunc(v_pidate, 'MM')+1,'MM');
    v_startweek := TO_CHAR(to_date(v_date, 'dd-MM-yy'), 'd');
    v_poRetVal := v_startweek ;
    RETURN;
    END;
    thanks

    You need to add both parameters. You should create the parameter, then specify a direction. In C# (taken from a script that executes an anonymous block, but will work for your purposes)
                    using (OracleConnection oCon = new OracleConnection(_connectionString))
                        oCon.Open();
                        using (OracleCommand oCmd = new OracleCommand())
                            oCmd.Connection = oCon;
                            oCmd.CommandType = CommandType.Text;
                            oCmd.CommandText = sql;
                            oCmd.BindByName = true;
                            OracleParameter opS = new OracleParameter("p_s", OracleDbType.Varchar2, 100, s, ParameterDirection.Input);
                            OracleParameter opC = new OracleParameter("p_c", OracleDbType.Int32, c, ParameterDirection.Input);
                            OracleParameter opA = new OracleParameter("v_a", OracleDbType.BinaryDouble, ParameterDirection.InputOutput);
                            oCmd.Parameters.Add(opS);
                            oCmd.Parameters.Add(opC);
                            oCmd.Parameters.Add(opA);
                            oCmd.ExecuteNonQuery();
                            a = double.Parse(oCmd.Parameters["v_a"].Value.ToString()); // note there are better ways to do this... it's quick and dirty to parse the string value.

  • How to get a loop run for 1 instance every time a button is pressed

    I need to get a loop run only once everytime a button is pressed.
    Please help me.

    Read the help built into LabVIEW
    Here's online version of the help: http://zone.ni.com/reference/en-XX/help/371361L-01/glang/event_structure/
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How to get an Applet running in IE??

    Dear All,
    Can I know the way to get my applet runs in Internet Explorer?
    I heard about Java Plug-In and Java HTML Converter. Pls advise.
    I am using JDK1.3.1 and Win98.
    Which version of Java Plug-In and HTML Converter should I use?
    Thanks,
    Daniel

    Which Mac OS version is the applet going to run on? Java in Mac OS X will support jre1.3, but earlier versions of the Mac OS only support jre1.1.2. You need to go to www.apple.com and do a search for Java. There you will find all the information about Java on the Mac platform.

  • How do get gnome to run on Lion?

    I am attempting to get Gnome to run on Lion.  I cannot find the system level .xinitrc.  Any suggestions?

    I'm not sure. Are we talking about different things? It seems the original poster just wants to run gnome. You are be talking about swapping out the entire windoing system.
    I still haven't downloaded and installed gnome. I find X11 crude and ugly and I have no intention of running gnome. Running an X11 window manager other than XQuartz seems very easy - even easier than I suggested above. Just create a ~/.MacoSX/environment.plist file and create an environment variable named USERWM. Set its value to be the path to whatever window manager you want to use. I used /usr/X11/bin/twm because I don't want to work too hard at X11. Log out and back in. Run an X program. Voila!
    I also ran in fullscreen but I couldn't do a screen capture from that. I was impressed that it ran in windowed mode too.
    Message was edited by: etresoft to replace a bad screen shot

  • How to get LIS Extraction run on SD/ERP

    Hi,
    what steps to take to get LIS Extraction run on SD/ERP
    for 2LIS_11_VAITM, 2LIS_11_VAHDR, 2LIS_11_VASTI, 2LIS_11_VAKON, 2LIS_11_VASTH ?
    ThanXs
    Martin

    Hi,
    take a look at
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/50326ace-bac2-2b10-76bb-bd1a20ed2b57

Maybe you are looking for