Swing Japplet and Java Console

Hi there!
I have a japplet which runs fine in the applet viewer.
I used the sun html converter to get the swing
plug in and now it runs fine in IE. But the problem
is that it wont run in netscape 6 unless I start
what is called the java console (also it wont work in netscape communicator 4.61 unless the client downloads 5.1 mg plugin). I wonder what this
is (console) and how can I get my clients java
console to auto start? Is there any javascript that will
do this? Any help would be greatly appreciated!

Hi aether!
I never experienced such problem, but let's consider some hints:
1) You have an Java 2.0 SDK 1.3+ wich is used to deploy applets so you don't need to reinstall any other JRE because it is part of SDK.
2) The JRE is shared between IE, NE, Opera, etc. (in the same machine)
3) Netscape 6.0 comes with JRE 2.0 but anyone can install it via plug-in, specially XP users and others using old browsers (any brand mark, version 4.0+) without Java 2.0 support.
4) All visitors to websites containing Swing applets must to have Java 2.0. It is mandatory and they can download the plug-in as written on previous hint.
5) The Java console is to manage JRE function and to inspect app's "running taks". Don't need to open it before running applets or applications.
6) It isn't a good idea to install a plug-in or to update SDK over an on old version, the right thing is to uninstall old version before because win registers are troublesome.
If any error on above hints, please report us or detail the answer if possible.
Best Regards.

Similar Messages

  • Jarred swing app and getting console output

    Hi,
    I've created a jar app using eclipse that starts a swing application. The jar works fine, but I was curious if there was a way to double-click the file and get console output as well. When I start the program through the command line, I can get my output, but double-clicking the icon doesnt' start up a console. Is there a way to accomplish this?
    Thanks

    Normally in Windows systems the javaw executable is assigned to the jar extension. javaw is a jvm without console. You might want to change that and assign java to jar but be aware, that this affects all jar files.
    If you want to do that just for that jat file I would write a bat file which starts the application using java.

  • JApplet and Java Apps

    I am developing a JApplet thats will also run as a Java Application. In a menu I have an exit button that I want disabled if running as a JApplet and enabled if running as an Application. I disabled the menu item in the init() method of the JApplet. My question is how do I enabled it if it is run as an application????
    Thanx

    public class myAppApplet extends JApplet
    boolean isApplication ; // flag
    public static void main( String[] args ) // for application
      new myAppApplet() ;
    myAppApplet()     // constructor
      isApplication = true ;
      setupStuff() ;
    init() // for applet
           isApplication = false ;
      setupStuff() ;
    setupStuff() // common method
      if( isApplication )
      else
    }

  • Java Console won't go away!

    Hi, I'm having a problem with something called "java console". When ever I use safari or firefox a coffee mug in the menu bar right next to the wireless signal indicator pops up. I then get a weird looking display box that pops up. How to I get rid of this Java console thing, I've already tried searching for "java" and "Java console" with no luck. I previously deleted the "java console" application, still no difference. Please help!

    HI and welcome to Apple Discussions...
    Hold down the Command key and drag the icon off the menu bar.
    If that didn't help, check for Login Items Open System Preferences/Accounts then select the Login Items tab. Delete any files or apps you have listed there.
    And go to /Library/Startup Items. Move any files in the Startup Items folder to the Trash.
    If nothing above has made a difference, try restarting your Mac.
    Caroolyn

  • FATAL error when opening Java Console in IE6.0 ?!

    JDK 1.5.0_04 + JRE 1.5.0_04
    I am experiencing problems with the following issue.
    Java JDK/JRE 1.5.0_04 (the latest distribution)
    I installed Java JDK last night and after installation everything was OK, until my IE6.0 Browser crashed (I had to close all the browser windows)
    After this I wasn't able to load Java Console anymore but I got the following error message.
    TM- FATAL ERROR
    The Java Runtime Environment cannot be loaded from <\bin\server\jvm.dll>
    (I also cannot run any Applets)
    NOTE
    The Java Console worked just fine right the installation.
    I do have two user accounts on the same computer and if I login to the other users account everything is OK; i.e. I am able to run Applets and Java Console I also can open without any problems.
    I have now done the following.
    1) I have reinstalled the JRE
    2) I have reinstalled the JDK
    3) I have reinstalled both again into different directories.
    If I just uninstall JRE then I can gain the previous version of the JRE back into use and then I am able to run Applets normally. ( version JDK 1.4.2_05+JRE 1.4.2_05)
    How could I overcome this problem ??

    User,
    As you did not give any other information other then the stack trace it's heard to help. Does this error show a dialog box which asks you if want to save your work and exit or save and continue?
    Where was the ER diagram created?
    Timo
    Edited by: Timo Hahn on 20.05.2012 17:10

  • Unable to set classpath javax/swing/japplet in Linux

    Hi,
    I have a problem in running an Applet program in Linux. If I run I get the following message.
    "Javax/swing/JApplet error Java.lang.NoClassDefFound Error".
    I have set my .bash_profile as follows:
    CLASSPATH=/usr/java/jdk1.3_0_01/jre/lib
    CLASSPATH=/usr/java/jdk1.3_0_01/lib
    CLASSPATH=/usr/java/jdk1.3_0_01/
    EXPORT
    Please tell me whether I have created the .bash_profile correctly. or anything to be changed. It will be great help if anybody hep in this regard. I am held up in my project.
    Thnaks.
    Mari
    11/09/02

    You don't need to set the CLASSPATH to get javax.swing.JApplet - the JVM "automagically" knows where the rt.jar file is. The only items you need in your CLASSPATH environment are third-party .jar files.
    I'm taking a wild guess based on your subject line, but I'll bet you mis-typed the ClassName - "JApplet," not "japplet." Your code should have
    import javax.swing.JApplet;in it.

  • After installing Java Console 6.0.25, I cannot uninstall Java Console 6.0.24

    I am running XP SP3 with Firefox 4.0.1
    I just installed Java Console 6.0.25 and noticed that Java Console 6.0.24 was not uninstalled. It remains listed in my add-ons as being disabled. There is no button to uninstall it.
    I checked XP's Add/Remove programs and Java Console 6.0.24 is not listed.

    See also:
    * http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions

  • What is difference between C# Gzip and Java swing GZIPOutputStream?

    Hi All,
    I have a Java swing tool where i can compress file inputs and we have C# tool.
    I am using GZIPOutputStream to compress the stream .
    I found the difference between C# and Java Gzip compression while a compressing a file (temp.gif ) -
    After Compression of temp.gif file in C# - compressed file size increased
    while in java i found a 2% percentage of compression of data.
    Could you please tell me , can i achieve same output in Java as compared to C# using GZIPOutputStream ?
    Thank a lot in advance.

    797957 wrote:
    Does java provides a better compression than C#?no idea, i don't do c# programming. and, your question is most likely really: "does java default to a higher compression level than c#".
    Btw what is faster compression vs. better compression?meaning, does the code spend more time/effort trying to compress the data (slower but better compression) or less time/effort trying to compress the data (faster but worse compression). most compression algorithms allow you to control this tradeoff depending on whether you care more about cpu time or disk/memory space.

  • Problem with java swing button and loop

    Problem with java swing button and loop
    I�m using VAJ 4.0. and I�m doing normal GUI application. I have next problem.
    I have in the same class two jswing buttons named start (ivjGStart) and stop (ivjGStop) and private static int field named Status where initial value is 0. This buttons should work something like this:
    When I click on start button it must do next:
    Start button must set disenabled and Stop button must set enabled and selected. Field status is set to 1, because this is a condition in next procedure in some loop. And then procedure named IzvajajNeprekinjeno() is invoked.
    And when I click on stop button it must do next:
    Start button must set enabled and selected and Stop button must set disenabled.
    Field status is set to 0.
    This works everything fine without loop �do .. while� inside the procedure IzvajajNeprekinjeno(). But when used this loop the start button all the time stay (like) pressed. And this means that a can�t stop my loop.
    There is java code, so you can get better picture:
    /** start button */
    public void gStart_ActionEvents() {
    try {
    ivjGStart.setEnabled(false);
    ivjGStop.setEnabled(true);
    ivjGStop.setSelected(true);
    getJTextPane1().setText("Program is running ...");
    Status = 1;
    } catch (Exception e) {}
    /** stop button */
    public void gStop_ActionEvents() {
    try {
    ivjGStart.setEnabled(true);
    ivjGStart.setSelected(true);
    ivjGStop.setEnabled(false);
    getJTextPane1().setText("Program is NOT running ...");
    Status = 0;
    } catch (Exception e) {
    /** procedure IzvajajNeprekinjeno() */
    public void IzvajajNeprekinjeno() {  //RunLoop
    try {
    int zamik = 2000; //delay
    do {
    Thread.sleep(zamik);
    PreberiDat(); //procedure
    } while (Status == 1);
    } catch (Exception e) {
    So, I'm asking what I have to do, that start button will not all the time stay pressed? Or some other aspect of solving this problem.
    Any help will be appreciated.
    Best regards,
    Tomi

    This is a multi thread problem. When you start the gui, it is running in one thread. Lets call that GUI_Thread so we know what we are talking about.
    Since java is task-based this will happen if you do like this:
    1. Button "Start" is pressed. Thread running: GUI_Thread
    2. Event gStart_ActionEvents() called. Thread running: GUI_Thread
    3. Method IzvajajNeprekinjeno() called. Thread running: GUI_Thread
    4. Sleep in method IzvajajNeprekinjeno() on thread GUI_Thread
    5. Call PreberiDat(). Thread running: GUI_Thread
    6. Check status. If == 1, go tho 4. Thread running: GUI_Thread.
    Since the method IzvajajNeprekinjeno() (what does that mean?) and the GUI is running in the same thread and the event that the Start button has thrown isn't done yet, the program will go on in the IzvajajNeprekinjeno() method forever and never let you press the Stop-button.
    What you have to do is do put either the GUI in a thread of its own or start a new thread that will do the task of the IzvajajNeprekinjeno() method.
    http://java.sun.com/docs/books/tutorial/uiswing/index.html
    This tutorial explains how to build a multi threaded gui.
    /Lime

  • I have been getting this (or earlier version) messages every time Firefox updates for at least a year "The Java Console extension is no longer supported and will be automatically removed the next time you restart Firefox. " What should I do?

    For a long time, each time Firefox updates, it invites me to install theJava Console Update. then I get a message that Java Console not supported.

    You can uninstall (remove) the Java Console extensions and disable the Java Quick Starter extension, you do not need them to run Java applets.
    See http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions
    Disable the Java Quick Starter extension (if you have it): Tools -> Add-ons -> Extensions<br />
    Control Panel -> Java -> Advanced tab -> Miscellaneous -> Java Quick Starter (disable)
    See http://www.java.com/en/download/help/quickstarter.xml - What is Java Quick Starter (JQS)? What is the benefit of running JQS? - 6.0

  • Cannot access POGO games.Downloaded 6.0 and it says it is not compatible with Java Console 6.0.22, java console 6.0.23 and Norton Toolbar 2010.9.06. Pogo needs the Java Console to run. What version of Firefox can I download to access the pogo games.

    the following is the error message I receive when accessing pogo games:
    The connection was reset
    The connection to the server was reset while the page was loading.
    The site could be temporarily unavailable or too busy. Try again in a few
    moments.
    If you are unable to load any pages, check your computer's network
    connection.
    If your computer or network is protected by a firewall or proxy, make sure
    that Firefox is permitted to access the Web.

    The Java plugin (Tools > Add-ons > Plugins) is used to run Java applets.<br />
    The Java Console extensions are only needed if you want to check the code for errors and debug Java applets and are not needed for running Java applets as a visitor.
    See also:
    * http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions

  • Java console and forms builder ?

    hi all ,
    i am using developer suite 10g rel2 , db 10g rel2 ,jinitiator 1.3.1.22 .
    every time i run a form , a java console opens on my windows task bar , and does not close when i close my browser or form .
    when i open windows task manager ctrl+alt+del , i see a lot of iexplorer and java processes run .
    sure it is annoying , because i have to close all these processes when i want to turn my pc off ?
    thanks

    To disable the java console,
    goto Settings>control panel> java
    after clicking the java, click on the advanced tab and then expand Java console, the select hide console option.
    Subhash kurni
    Edited by: Subhash Kurni on Mar 6, 2013 10:29 AM

  • Java console not accessible, will not load from FFx tools dropdown menu (had same prob with 3.6.15). Latest Java installed and IS accessible thru control panel

    XP OS, have NoScript installed, disabled, Java console still will not load from FFx.

    I followed your instructions and installed Developer Suite 10G on Windows Vista Home Premium edition. I have Oracle 11G DB running on the same machine.
    Two points, Steve:
    1. When I tried to set the maximum virtual memory to 6110 an error message displayed from Windows and told me that I can't set the maximum virtual memory to more than 4096. I set it to 4090 and it worked and I got nothing wrong during the installation process.
    2. After installing JInitiator and disabling Java on Firefox I called the http://127.0.0.1:8889/forms/frmservlet page and everything seemed to be OK because the Oracle Forms Services logo appeared and then a successful installation message appeared , but as I clicked (ok) to continue a gray screen appeared inside the browser (like the one displayed when you try to run a Java applet inside a browser) and then I wait to death till something appears but sadly nothing. I just get a blank gray screen inside my Firefox browser.
    Do you have any idea what to do to solve the problem?
    Regards

  • Why i can't swtich java console version between Jre1.5.06 and Jre1.3.06??

    Had installed the jre1.3.06 and Jre1.5.06, but i can't switch to load java console of jre1.3.06 after installed jre1.5.06.
    I disable the jre1.5.06 option in IE's advanced option, and enable the jre1.3.06. IE still loading jre1.5.06 even the registry is changed
    HKEY_CLASSES_ROOT\CLSID\{08B0E5C0-4FCB-11CF-AAA5-00401C608501}\TreatAs
    {08B0E5C0-4FCB-11CF-AAA5-00401C608501}
    value: {CAFEEFAC-0013-0001-0006-ABCDEFFEDCBB}
    Can anyone tell me the why and solution? Addition, i cannot have problems between Jre1.3.06 and Jre1.5.02.

    I also had a problem a little bit same as your problem, I'd installed the Jre1.3.06 and 1.5.06, when I uninstall the 1.3.06 version, I still can see when I check "java -version" is 1.3.06. And I can't run any on 1.5.06 version script and class...

  • JDO database and Java Swing

    Was just wundering if it is possible to query a java jdo database with a swing frontend, and if so if anybody can direct me to any helpful websites.
    Cheers

    Sure it is possible.
    Do you know JDO? Googling for "JDO tutorial" should get you well on your way. Ditto for Swing / Swing tutorial.
    Keep the database stuff and the GUI stuff in separate classes. That way you can write quickie command line main() functions to test a database method. Or, as you advance, you may want to learn about jUnit (->google).
    There are application architecture issues that are mucho difficult to guess at without more details. Such as if your application is pretty big, you might want to look into some sort of client/server distributed architecture. But for simpler stuff, a single application should be a fine way to start.

Maybe you are looking for

  • How I fixed my noise problems with iTunes 7

    Firstly my system is an AMD X2 3800+ with a Gigabyte GA-K8N Ultra-9 motherboard and a Creative Soundblaster x-fi xtreme music. I was having two problems with playback itunes, firstly when the volume control in itunes was anything less than 100% there

  • Premiere Pro CC no longer reading embedded captions

    Premiere Pro CC no longer recognizes captions embedded into a Quicktime file using the XDCAM HD 422 50Mbit codec. We created several hundred files using the new Premiere CC - all by attaching .scc data to a Quicktime file using the XDCAM HD 422 50Mbi

  • Running form 6i in IE 5.5

    I am attempting to call a Form written in Forms 6.0.8.8.0 (with supplied Forms Server and webDB) from Internet explorer 5.5 using the html file supplied in appendix A: of the document "Oracle Forms Server, Client Platform Support, Microsoft Internet

  • Outlook hotsync with Desktop

    I am having a problem getting my Palm TX to hotsync with my P.C.  The process goes well until it gets to the calendar. At that pint it stops. JAG Post relates to: Palm TX

  • Trying to sync home imac with another elswhere on cloud when I go to system preferences, icould option not theresb

    trying to sync current home imac with one elsewhere via icloud...latter is synced with iphone etc...on current machine, instructed to access icloud via system preferences but icloud is not an option there...how do I put it there?