Developing a java applet questions?

I am new to java, I want to write a java applet to do the printing for word document and pdf, is it possible, I hope that one expert can share me a good sample code .
By the way, for developing a java applet , what development environment should I install?
Thanks in advance.

You can certainly generates PDF documents in Java using 3rd party, free libraries, probably .doc documents as well. Google for these and you'll find them.
You should try Eclipse and NetBeans. Both are free and widely used for Java development.

Similar Messages

  • Java Applet Question

    I was wondering how I would go about saving the 'state' of a java applet. For instance if I created a drawing program, how would i create a feature so the user could save their drawing to work on later?

    Most probably it'll have to be persisted on your server. Sandboxing dictates that an applet can't have access to a local filesystem, and although this can be gotten around, ask yourself "would I like to install a piece of software from an unknown source that can access my hard drive through my web browser?". Personally, I wouldn't

  • 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

  • "Class Formatting Error" in a java applet? (Solved)

    (This problem is completely my fault and it would be hard to provide enough information to request and answer. Disregard this message.)
    I've been developing a java applet to go on my website, but when running it tosses a "java.lang.ClassFormatError: rendering/ImageObserverClass" to the console. When I looked into the code I thought of java compliance levels. (Earlier I had to set Eclipse to a higher compliance level to make it accept new ArrayList<Renderable>();)
    Is this not my problem? In my html code I have the following:
    <applet
    code="main/GalacticConflict.class"
    codebase="code/"
    width="640" height="480">
    </applet>In Eclipse the program compiles and runs fine, so it most likely is a deeper issue. Thanks for any help!
    EDIT:
    Heh, that was stupid of me.... Just decided to try removing the <Renderable> from there, but it still doesn't work. The line number the console refers to is commented code, making it even more strange. If you have insight, feel free to post it here, but I'm going to make sure my new code is even being passed to my server properly.
    Edited by: Durnus on Dec 26, 2008 9:45 AM
    EDIT2:
    It appears to be an error with my copying process -- when I view the .html file with Firefox in the workspace folder, it works fine. Sorry for the trouble.
    Edited by: Durnus on Dec 26, 2008 9:54 AM

    Hi,
    Refer the URL :http://help.sap.com/javadocs/pi/SP3/xpi/com/sap/aii/mapping/api/AbstractTransformation.html
    regards,
    ganga

  • Java Applet & JSP

    I'm recently developing a standalone application. I plan to use java applet to develop that application. If I want it to be a web base application, what should I do?
    I'm new to java applet! Some of my seniors told me it's better to develop my application using JSP. What is the difference between JSP and Java applet anyway?
    Which one to be used to develop a web based application? Java applet or JSP? Which one is easier and more efficient?
    What is the server & client concept applied in making an web based application develop with Java applet?
    Thanks!

    If you're really new to java, it's going to be much easier to get something worthwhile done using JSP and J2EE

  • How do i do to register an a  Java Applet using "free" certified

    Hello everyone,
    im developing a Java Applet to run an on Intranet. This applet must write files at hard disk.
    How do i do to register this applet ???
    tnks

    FAQ - Applet Security
    Java Glossary : signed Applets
    Signed Applets, Browsers, and File Access
    JDK 1.2 - Signed Applet Example

  • Keyboard input failure in 2nd java applet

    The (London) Times offers crosswords developed as Java applets. With Mandriva 2007 newly installed on my laptop (Firefox 1.5.0.8, JRE1.5.0_08), I completed one crossword and loaded a second: no keyboard input to cells, no focus shown on cells. Killed the applet, reloaded: same problem. Quit Firefox, restarted crossword: same problem. Quit session, restarted, reloaded Firefox and crossword: same problem.
    Upgraded to Firefox 2.0 and JRE1.5.0_09. Started a crossword with a couple of entries, quit and started a second: same problem - no focus on cell, no input.
    I think this is connected in some way with Mandriva 2007, because the combination Mandriva 2006 with Firefox 1.5.0.7 and JRE 1.4.2-09 works correctly.
    I believe the problem lies initially with Java, because keyboard input to non-Java pages in Firefox worked without problems.

    I have exactly the same problem with opera 9.02 browser, jre1.6, linux debian sarge and the crossword puzzle of "Le Monde" http://www.lemonde.fr/web/article/0,1-0@2-3280,36-139043,0.html
    It worked with jre 1.4 linux FC2, same opera.

  • Temporary files in a Java applet

    Hi to everybody.
    I am developing a Java applet that downloads ZIP files through HTTP, extract the content of these ZIP archives to a temporary folder, than uses the extracted files.
    When the applet is closed (browser closed or change of page in the browser), I would like to delete all the files and directories that have been created during the ZIP extraction.
    I've overridden the "destroy()" method, and I added the code to delete temp files in this method: this code recursively deletes all files and directories that are found under a given "root" directory.
    The entire procedure works fine when the browser unloads the applet since a new page address has been entered in the browser's address bar (i.e., request to load a new web page).
    On the other hand, there are problems when I simply close the browser (Internet Explorer): only some of the temporary files are deleted. It looks like the destroy() method is terminated before it comes to completion. I've also verified this, by trying to create a new file (named "Start.txt") at the beginning of the destroy() method (before the temp files deletion code), and another file (named "End.txt") at the end of the destroy() method (after the temp files deletion code): only the first file ("Start.txt") is created, thus confirming that the destroy() method is terminated before completion.
    Do you see some solution to my problem?
    I've also tried to use the deleteOnExit() method, by calling it immediately after each extracted file has been created, but this approach doesn't seem to work at all: perhaps IE does not terminate the JVM correctly...
    Any suggestion would be greatly appreciated.
    Thank you and best regards,
    Marco.

    Thanks a lot for your suggestion.
    I've tried to move the temp files deletion code in the stop() method, but nothing changes: everything works fine on web page change, but when I simply close the browser the stop() method is terminated before completion (hence, only part of the temp files are actually deleted).
    Any suggestion would be greatly appreciated.
    Regards,
    Marco.

  • How i get hardware info with Java Applet

    Hello Everybody.
    first I am sorry for my english. This my first topic. I am a php developer and learning Java. I am developing a Java Applet.
    Can i get client hardware info with Java Applet
    Ýf i can How i do get hardware info with Java Applet.
    I need sample code or documentation.
    Thanx.

    TrojanMyth wrote:
    Hello;
    Can i get hardware info with Java ?? Have not a know people ?Applets are restricted, unless, as already noted, they are signed and accepted by the user. See
    http://java.sun.com/docs/books/tutorial/deployment/applet/security.html
    http://java.sun.com/docs/books/tutorial/deployment/applet/properties.html
    In general, since Java is designed to run on multiple operating systems and machine architectures it does not provide much access to the underlying hardware. As mentioned, you can access the os via methods in the java.lang.ProcessBuilder and Runtime classes.

  • Question about Java Applet Jar file signing.

    These questions pertain to Java 6 Standard Edition 1.6.0_22-b04 and later.
    I have gone through the Oracle Java Tutorial for generate public and private key information
    to sign a jar file, and how to sign the jar itself, all at
    [http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html|http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html]
    , and seek some clarification on the following related questions:
    -In order to "escape" the java applet sandbox that exists around the client's
    copy of the applet running in their web browser, ie.
    (something forbidden by default), is verification of the signed applet enough, or is a policy file required
    to stipulate these details?
    -using the policytool policy file generator, what do I need to add under "Principals"
    (if anything) when dealing with a Java applet? Are Codebase and SignedBy simply author information?
    -If I choose to use a java.security.Permission subclass object set up in equivalent fashion within the Applet,
    which class within the Applet jar do I instantiate that object in? Does it need to be mentioned
    in the applet's jar Manifest.MF file?
    -Is the "keystore database" a java language service/process which runs in
    the Server's memory and is simply accessed and started by default
    by the client verifier program (appletview/web browser)?
    -The public key certificate file (*.cer) is put in the webserver directory holding
    the Applet jar file (ie. Apache Tomcat, for example).
    -Presumably, the web browser detects the signed jar
    and certificate file, and provides the browser pop up menu asking the user
    about a new, non recognised certificate (initially).
    Is this so?
    -With this being the case, can the applet now escape
    the sandbox, be it with or without the stipulated
    policy permissions?

    848439 wrote:
    -In order to "escape" the java applet sandbox that exists around the client's
    copy of the applet running in their web browser, ie.
    (something forbidden by default), is verification of the signed applet enough, or is a policy file required
    to stipulate these details?Just sign the applet, the policy file is not necessary.
    -Is the "keystore database" a java language service/process which runs in
    the Server's memory and is simply accessed and started by default
    by the client verifier program (appletview/web browser)?No.
    -The public key certificate file (*.cer) is put in the webserver directory holding
    the Applet jar file (ie. Apache Tomcat, for example).No. For a signed Jar, all the information is contained inside the Jar.
    -Presumably, the web browser detects the signed jar
    and certificate file, and provides the browser pop up menu asking the user
    about a new, non recognised certificate (initially).
    Is this so?No. It is the JVM that determines when to pop the confirmation dialog.
    -With this being the case, can the applet now escape
    the sandbox, ..Assuming the end-user OK's the trust prompt, yes.
    ..be it with or without the stipulated
    policy permissions?Huh?

  • So I can update my Oracle Java Applet Plug-in to Development Kit 7, Update 65, can you link me to the correct Oracle download page from your Plugin Update page?

    When I periodically accessed your Plugin Check and Updates web page in the past, I really appreciated you connecting me to the correct Plugin Updates vendor web page when I clicked on your red Update Now button. This time, however, your Java Applet Plug-in "Update Now" button linked me to the Oracle Java "7u65 Updates Release Notes" instead of the usual download page. It seems rather unexpected for me, or any other conscientious user for that matter, to search the appropriate "JDK 7U65" file download from the Oracle website.
    Thank you,

    This is getting way too complicated for normal peop.
    First: the "Update Plugin" does not work, it goes to a page with all sort of computer jargon but no "Update button" anywhere.
    Second: this forum jscher2000 gives a good solution, but I downloaded the incorrect java update, because my computer is 64 bit. how am I supposed to know my browser is what it refers to and that FF is 32 bit.....???$%^&*()??
    Third: some of those "critical update" software are not even on my computer....well at least I don't think it is, I search for "shockwave" and did not find it.
    I love Moz FF but the updating is starting to get out of control. why give us (computer idiot) an auto recommendation update not tailored to our computer? Perhaps in big letters at the top there should be an explanation "this is general suggestion these plugin needs updating, not to tailored with your computer, do your own research"
    and/or add info I need to know like the 32 bit thing, took me forever to download the 64bit update for JAVA and it was the wrong one.
    Now I am just afraid to update anything for FF because it is too darn confusing.

  • Java applet shows basket with ? (question mark) why?

    Hi
    In one of the SRM Business Object . Approval preview shows as Question mark .
    but table wise it seems fine. why ?
    I wanted to know why i am seeing ? mark . i dont want this. i want get rid of this
    any help is appreciated.
    i wanted to recreate. any trick is appreciated.
    Muthu

    Hi Rick
    thanks much
    Are you telling that no agent find for approval ?
    now everything approved. i wanted to clear that applet question mark.
    auditor will ask me waht is this?
    is it possible to clear?
    1 Workflow started
    2. muthu raman (approver name - really approved)
    3. ? (behind cart)
    now every thing is OK. now i need to clear this question mark ( it is unwanted for me)
    appreciate your help.
    i will try to recreate this scenario .
    if i were recreated in dev. and think of to clear. since it happened in production.
    indeed appreciate your help
    worry is that after approval properly. now another applet shows question mark?
    any help is appreciated to recreate this issue. i could realise from technical person that this object was forwarde to many persons and approved. wf is a greek for me.
    n step approval by BADI ..
    muthu

  • Problem Launching Java Applet with Plug-in: Version 1.4.2_01

    Hello out there:
    I recently installed j2re-1.4.2_01 on my home computer but have been unable to access Web sites emmploying JAva applets. The following is an email exchange with Jeff Hall of Lowell Observatory, manager of an educational site hosted by Lowell, trying to resolve my problem. The messages are better understood if read in reverse order.
    I'm hoping that someone will recognize the source of my problem and can recommmend a solution. I would appreciate any help offered.
    Thanks,
    Mike Coucke
    Hi Jeff:
    Well, I guess the problem lies with me somewhere. Here's my answer/status to your questions/suggestions:
    1) I'm using MS Windows Me version 4.90.3000
    2) I do have the directory C:\Windows\.jpi_cache\jar\, but the only thing in it is an empty folder labeled "1.0". The file LP.jar does not exist anywhere on my hard drive.
    3) I tried several game sites that utilized Java applets and got the same results: the Java cup in the upper left corner followed a few seconds later by the red "X". So, evidently the problem is somewhere on my end.
    I'm going to post our email exchanges in a Java Users Forum managed by Sun to see if anyone out there can solve my problem. However, if you have any more suggestions, I'll be glad to try them.
    Thanks for the help.
    Mike Coucke
    [email protected]
    ----- Original Message -----
    From: "Jeffrey Hall" <[email protected]>
    To: "'Mike Coucke'" <[email protected]>
    Sent: Friday, September 05, 2003 1:02 PM
    Subject: RE: Registration with Lowell Education Online
    Mike,
    Rats! What version of Windows are you using? It's a little strange to
    see the user directory set to C:\Windows; if you're using XP, I'd expect
    it to be something like C:\Documents and Settings\Mike Coucke. In any
    event, the output that is of concern is these two lines:
    java.lang.ClassNotFoundException: LPRemote.class
    Caused by: java.net.UnknownHostException: proxy
    It looks like your browser is not finding our server's IP when it comes
    time to download the necessary Java code.
    LPRemote.class is the fundamental code that runs LOPARC, and your
    browser should be downloading it automatically when you click connect.
    LPRemote.class is stored along with a bunch of other classes in a file
    called "LP.jar" that you download from our server. So, if you go to C:
    in Windows Explorer and do a file search for LP.jar, you should find it.
    On my machine, it's stored in a directory called ".jpi_cache\jar\" in my
    user home directory. Let me know if you have this file, or the
    jpi-cache directory.
    One other thing you might try is going to a different site that you know
    uses Java applets -- I think some of the online game rooms at Yahoo use
    Java. See if other sites that use Java load correctly. Then we'll know
    if it's our server specifically, or a more general problem on your end.
    Jeff Hall
    Lowell Observatory
    Hello Jeff:
    I still have the Java "blues". I followed your instructions, but am still unable to launch a LOPARC session. After an initial failure, I uninstalled all three Java versions I had (1.4.0, 1.4.1, 1.4.2), then reinstalled 1.4.2_01 from the Sun website.
    Now, when I try to launch LOPARC, I initially get a blank window with the Java cup in the upper left corner. After about 20 seconds, the cup changes to a red "X". During those 20 seconds, the following appear in the IE message bar at the bottom of the window: "Applet LPRemote notinited" (their spelling) which changes to "Loading Java Applet Failed..." when the red "X" appears.
    Following is a copy of the log from my Java Console during all of this:
    Java(TM) Plug-in: Version 1.4.2_01
    Using JRE version 1.4.2_01 Java HotSpot(TM) Client VM
    User home directory = C:\WINDOWS
    Proxy Configuration: Manual Configuration
    Proxy: http=proxy,https=proxy,ftp=proxy,gopher=proxy
    Proxy Overrides:
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    load: class LPRemote.class not found.
    java.lang.ClassNotFoundException: LPRemote.class
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.net.UnknownHostException: proxy
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.plugin.net.protocol.http.HttpClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.net.www.http.HttpClient.privilegedOpenServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.<init>(Unknown Source)
    at sun.net.www.http.HttpClient.<init>(Unknown Source)
    at sun.plugin.net.protocol.http.HttpClient.<init>(Unknown Source)
    at sun.plugin.net.protocol.http.HttpClient.New(Unknown Source)
    at sun.plugin.net.protocol.http.HttpURLConnection.createConnection(Unknown Source)
    at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source)
    at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    at sun.applet.AppletClassLoader.getBytes(Unknown Source)
    at sun.applet.AppletClassLoader.access$100(Unknown Source)
    at sun.applet.AppletClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    ... 10 more
    I followed this up by executing the following three console commands:
    "dump system properties"
    "dump classholder list"
    "dump thread list"
    and obtained the following listings:
    Dump system properties ...
    acl.read = +
    acl.read.default =
    acl.write = +
    acl.write.default =
    application.home = C:\PROGRA~1\JAVA\J2RE14~1.2_0
    awt.toolkit = sun.awt.windows.WToolkit
    browser = sun.plugin
    browser.vendor = Sun Microsystems, Inc.
    browser.version = 1.1
    deployment.javaws.cache.dir = C:\WINDOWS\.javaws\cache
    deployment.javaws.jre.0.enabled = true
    deployment.javaws.jre.0.location = http://java.sun.com/products/autodl/j2se
    deployment.javaws.jre.0.osarch = x86
    deployment.javaws.jre.0.osname = Windows
    deployment.javaws.jre.0.path = C:\Program Files\Java\j2re1.4.2_01\bin\javaw.exe
    deployment.javaws.jre.0.platform = 1.4
    deployment.javaws.jre.0.product = 1.4.2_01
    deployment.javaws.jre.0.registered = true
    deployment.javaws.version = javaws-1.4.2_01
    deployment.system.cacerts = C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\security\cacerts
    deployment.system.home = C:\WINDOWS\Sun\Java\Deployment
    deployment.system.jssecacerts = C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\security\cacerts
    deployment.system.profile = C:\WINDOWS
    deployment.system.security.policy = file:/C:/WINDOWS/Sun/Java/Deployment/security/java.policy
    deployment.user.cachedir = C:\WINDOWS\Application Data\Sun\Java\Deployment\cache
    deployment.user.certs = C:\WINDOWS\Application Data\Sun\Java\Deployment\security\deployment.certs
    deployment.user.extdir = C:\WINDOWS\Application Data\Sun\Java\Deployment\ext
    deployment.user.home = C:\WINDOWS\Application Data\Sun\Java\Deployment
    deployment.user.jssecerts = C:\WINDOWS\Application Data\Sun\Java\Deployment\security\deployment.jssecerts
    deployment.user.logdir = C:\WINDOWS\Application Data\Sun\Java\Deployment\log
    deployment.user.profile = C:\WINDOWS\Application Data
    deployment.user.security.policy = file:/C:/WINDOWS/Application%20Data/Sun/Java/Deployment/security/java.policy
    deployment.user.tmpdir = C:\WINDOWS\Application Data\Sun\Java\Deployment\cache\tmp
    file.encoding = Cp1252
    file.encoding.pkg = sun.io
    file.separator = \
    file.separator.applet = true
    http.agent = Mozilla/4.0 (Windows Me 4.90)
    http.auth.serializeRequests = true
    https.protocols = SSLv3,SSLv2Hello
    java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob = sun.awt.windows.WPrinterJob
    java.class.path = C:\PROGRA~1\JAVA\J2RE14~1.2_0\classes
    java.class.version = 48.0
    java.class.version.applet = true
    java.endorsed.dirs = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\endorsed
    java.ext.dirs = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\ext
    java.home = C:\PROGRA~1\JAVA\J2RE14~1.2_0
    java.io.tmpdir = C:\WINDOWS\TEMP\
    java.library.path = D:\PROGRAM FILES\INTERNET EXPLORER 6;.;C:\WINDOWS\SYSTEM;C:\WINDOWS;D:\PROGRA~1\INTERN~1;;C:\WINDOWS;C:\WINDOWS\COMMAND
    java.protocol.handler.pkgs = sun.plugin.net.protocol|sun.plugin.net.protocol
    java.runtime.name = Java(TM) 2 Runtime Environment, Standard Edition
    java.runtime.version = 1.4.2_01-b06
    java.specification.name = Java Platform API Specification
    java.specification.vendor = Sun Microsystems Inc.
    java.specification.version = 1.4
    java.util.prefs.PreferencesFactory = java.util.prefs.WindowsPreferencesFactory
    java.vendor = Sun Microsystems Inc.
    java.vendor.applet = true
    java.vendor.url = http://java.sun.com/
    java.vendor.url.applet = true
    java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
    java.version = 1.4.2_01
    java.version.applet = true
    java.vm.info = mixed mode
    java.vm.name = Java HotSpot(TM) Client VM
    java.vm.specification.name = Java Virtual Machine Specification
    java.vm.specification.vendor = Sun Microsystems Inc.
    java.vm.specification.version = 1.0
    java.vm.vendor = Sun Microsystems Inc.
    java.vm.version = 1.4.2_01-b06
    javaplugin.maxHeapSize = 96m
    javaplugin.nodotversion = 142_01
    javaplugin.proxy.config.list = http=proxy,https=proxy,ftp=proxy,gopher=proxy
    javaplugin.proxy.config.type = manual
    javaplugin.version = 1.4.2_01
    javaplugin.vm.options = -Djava.class.path=C:\PROGRA~1\JAVA\J2RE14~1.2_0\classes -Xbootclasspath/a:C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.4.2_01 -Djavaplugin.nodotversion=142_01 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\JAVA\J2RE14~1.2_0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol
    line.separator = \r\n
    line.separator.applet = true
    os.arch = x86
    os.arch.applet = true
    os.name = Windows Me
    os.name.applet = true
    os.version = 4.90
    os.version.applet = true
    package.restrict.access.netscape = false
    package.restrict.access.sun = true
    package.restrict.definition.java = true
    package.restrict.definition.netscape = true
    package.restrict.definition.sun = true
    path.separator = ;
    path.separator.applet = true
    sun.arch.data.model = 32
    sun.boot.class.path = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\rt.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\i18n.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\sunrsasign.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\jsse.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\jce.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\charsets.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\classes;C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\plugin.jar
    sun.boot.library.path = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\bin
    sun.cpu.endian = little
    sun.cpu.isalist = pentium i486 i386
    sun.io.unicode.encoding = UnicodeLittle
    sun.java2d.fontpath =
    sun.net.client.defaultConnectTimeout = 120000
    sun.os.patch.level =
    trustProxy = true
    user.country = US
    user.dir = C:\WINDOWS\Desktop
    user.home = C:\WINDOWS
    user.language = en
    user.name = Michael G. Coucke
    user.timezone =
    user.variant =
    Done.
    Dump classloader list ...
    codebase=http://kraken.lowell.edu/, key=http://kraken.lowell.edu/,IONJava/classes/ion_16.jar,IONJava/classes/LP.jar, zombie=false, cache=true, refcount=1, info=sun.plugin.ClassLoaderInfo@109de5b
    Done.
    Dump thread list ...
    Group main,ac=11,agc=2,pri=10
    main,5,alive
    AWT-Windows,6,alive,dameon
    AWT-Shutdown,5,alive
    Java2D Disposer,10,alive,dameon
    AWT-EventQueue-0,6,alive
    Group Plugin Thread Group,ac=3,agc=0,pri=10
    Main Console Writer,6,alive
    AWT-EventQueue-1,6,alive
    TimerQueue,5,alive,dameon
    Group http://kraken.lowell.edu/-threadGroup,ac=2,agc=0,pri=4
    thread applet-LPRemote.class,4,alive
    AWT-EventQueue-2,4,alive
    Done.
    I'm not a Java expert, so this may be more information than you ever wanted to see.
    Once again, I hope that you can help. My experience has been that I usually have some obscure option set incorrectly and that causes me great grief.
    Thanks fo your help,
    Mike Coucke
    [email protected]
    ----- Original Message -----
    From: "Jeffrey Hall" <[email protected]>
    To: "'Mike Coucke'" <[email protected]>
    Sent: Thursday, September 04, 2003 11:48 AM
    Subject: RE: Registration with Lowell Education Online
    Hi Mike,
    Try it now. I think this problem has arisen because Sun just
    released a new version of the Plug-in (1.4.2), and when we released the
    public beta of LOPARC, only one relevant version (1.4.0) was available
    and the LOPARC code was written to look for that by default. I have
    just recoded the relevant routines so they should now cause your browser
    to simply pick up the latest 1.4 version of the Plug-in you have
    installed, whatever it is. I "broke" Java on my machine to replicate
    your problem, and the code I inserted today did fix it. Hopefully it
    will have the same effect for you. I am running IE 6 and plugin
    1.4.2_01 (as accessed via Tools->Sun Java Console).
    One broader problem: some (non-LOPARC-specific) users on the Sun
    forums have reported the "JRE collision" you are seeing when multiple
    versions of the Plug-in are installed on the same machine. So if the
    fix I made to our code doesn't work, one option would be to uninstall
    all Java components from your computer and do a fresh install of the
    latest runtime environment.
    Let me know how/if this works. Thanks for the feedback and for your
    patience.
    Best regards,
    Jeff Hall
    Lowell Observatory
    -----Original Message-----
    From: Mike Coucke [mailto:[email protected]]
    Sent: Wednesday, September 03, 2003 6:30 PM
    To: [email protected]
    Subject: Re: Registration with Lowell Education Online
    Hello Jeff:
    So far, I have been unable to launch a LOPARC session. I repeatedly
    get the following error message:
    "Exception: java.lang.ClassNotFoundException: LPRemote.class"
    My browser is MS Internet Explorer version 6.0.2800.1106 Initially I was
    using Java Plug-In version 1.4.1 and received the error message. I went
    to the Sun website and downloaded/installed Java Plug-In version 1.4.2
    and still get the message.
    Before I try to launch LOPARC, I can select Tools->Sun Java Console from
    IE's pull down menu to check my Java Plug-In version. When I try to
    launch LOPARC, I get the following message:
    "Applet(s) in this HTML page requires a version of Java different from
    the one the browser is currently using. In order to run the applet(s)
    in this HTML page, a new browser session is required, press 'Yes' to
    start a new browser session." If I select 'No', I get the following
    message: "Java Plug-in detected JRE collission"
    If I select 'Yes', a new browser window opens and then I get the first
    message above.
    Can you help?
    Mike Coucke
    [email protected]
    ----- Original Message -----
    From: <[email protected]>
    To: <[email protected]>
    Sent: Monday, September 01, 2003 5:30 PM
    Subject: Registration with Lowell Education Online
    September 1, 2003
    Dear Michael Coucke:
    Thank you for registering with Lowell Observatory's online education
    site. We hope you enjoy using it and visit regularly as we continue to
    expand its features and capabilities. This is a one-time welcoming
    email.
    For your records, your user ID is xxxxx, and your password is #########.
    You'll need to supply these each time you log in.
    This site gives you access to research-grade equipment including a 16"
    telescope, CCD detector, and image processing software. Our online
    archive of data is now available 24/7. The telescope will be opening to
    our onsite users in May, and on select nights to the Internet at large
    in June.
    We have designed this site so you don't need a huge monitor or a
    supercomputer to use it. All pages are viewable on screens running at
    800x600 resolution or higher. To use LOPARC, you'll need a Java-enabled
    browser with the Java 1.4 plug-in installed. If you don't have the
    plug-in, you'll be prompted to download it the first time you attempt to
    connect. This is an admittedly large (9 MB) but one-time-only download.
    This site works correctly under Internet Explorer version 5 or higher.
    If you use Netscape, you must be running version 6 or higher, and
    display or applet behavior anomalies may occur.
    If at any time you can't connect to our server, simply try again later.
    We do experience several power outages each year, particularly during
    Flagstaff's summer thunderstorm season. Our server is fully protected
    and backed up, and can be quickly brought back on line, but any active
    user sessions will be lost. Thanks for your patience during these
    inevitable downtimes.
    Your questions, comments, suggestions, and bug reports about this site
    are always welcome. On behalf of the LOPARC development team, thanks
    for signing up!
    Jeffrey Hall
    Assistant Research Scientist
    Associate Director, Education and Special Programs
    Lowell Observatory
    Flagstaff, Arizona

    Hi Mike,
    I see this in your logs:
    Java(TM) Plug-in: Version 1.4.2_01
    Using JRE version 1.4.2_01 Java HotSpot(TM) Client VM
    User home directory = C:\WINDOWS
    Proxy Configuration: Manual Configuration
    Proxy: http=proxy,https=proxy,ftp=proxy,gopher=proxy
    Proxy Overrides:
    I just helped my Dad set up his computer with a new
    cable modem, and had the situation where we couldn't
    access any secure Web sites. The cable folks had us
    disable the proxy. It looks like the error message is
    saying it can't find your proxy server, and the logs
    you posted say that you've decided to configure your
    proxy manually, rather than using the settings from
    IE (which is how mine is set up in the plugin
    control panel.)
    Could that be the problem?
    --Steve                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Clickable/Linked Text in Java Applet

    Hi,
    I have always liked this tool http://link-verify.sourceforge.net/index.en.html and have always wanted to modify it to make the "referer" clickable so that I could easily click to link to the page that had the broken link more easily.
    The source code is available and well with the hard economic times I have time to finally modify this to work how I would like.
    Can anyone tell me how I would go about accomplishing this? I am a seasoned ASP.NET programmer and understand the overall logic, etc... It is just the Java syntax that I am missing.
    Basically I can discern that in source code, LinkFrame.java to be exact on line 308 the "referreeP" panel is being populated with a refL=new List(), where refL is a List that is populated as each link is processed as the applet runs.
    How can I make each of those items in the refL list clickable is my primary question for you all. Do I have to use some sort of listener on each item in the list, is that even the right approach to take.
    Any and all thoughts appreciated!
    PS - I want to shout out to Ralf Wiebicke for creating this wonderful tool, it has been a wonderful developer tool for me over the years.

    >
    Basically I can discern that in source code, LinkFrame.java to be exact on line 308 the "referreeP" panel is being populated with a refL=new List(), where refL is a List that is populated as each link is processed as the applet runs.
    How can I make each of those items in the refL list clickable is my primary question for you all. >Questions usually end with a question mark. Where is yours?
    If you check the JavaDocs for List, you will notice it has methods [addActionListener(ActionListener|http://java.sun.com/javase/6/docs/api/java/awt/List.html#addActionListener(java.awt.event.ActionListener)] ) and [addItemListener(ItemListener)|http://java.sun.com/javase/6/docs/api/java/awt/List.html#addItemListener(java.awt.event.ItemListener)]. Either of those listeners will detect actions/selections on the List.
    As for showing the links, look to [AppletContext.showDocument(URL)|http://java.sun.com/javase/6/docs/api/java/applet/AppletContext.html#showDocument(java.net.URL)].
    As an aside, the AWT widgets such as List are very old-hat. If you wanted to take on a bigger upgrade, you might convert the app. to use Swing.

  • Java (applet), getting started ...

    Hi all,
    I am not new to Java programming, I have done some simple projects many years ago, all using simple text editors and cmdline compilers.
    Now I am doing some initial research for a somewhat larger project which requires more/complex GUI interfacing.
    I remember all the hassle I had in the past to make a good GUI using simple text editors, and that just isnt useable for this type of project, so I am looking for Java (Applet) GUI development tools.
    My questions are:
    1) Does someone know of an adequate GUI development tool (or IDE) which allows me to create Applets?
    (I know of several larger IDE's, like Sun's Studio Creator and Studio Enterprise and others, but none of them allow me to create GUI for Applets ...)
    2) The project I am looking at wants to have a webbased application, so users can access all over the world (internet) without any installation hassle. I immediately think of Java applets (because some GUI is involved aswell), but perhaps there are newer/more suiteable solutions nowadays?
    Thanks for your answers,
    Bonny

    Bonny,
    I'm no architecture expert but... for "enquiry only" functionality option 1 is a straight webapp in JSP, judicious beans, and hibernate on MySQL. I'd only go to applets for updates, or complex enquiry requirements.
    IDE's
    NetBeans: http://www.netbeans.org/
    Eclipse: http://www.eclipse.org/downloads/
    Servers
    Sun J2SE standard svr: http://java.sun.com/j2se/1.5.0/index.jsp
    Sun J2EE enterprise svr: http://www.sun.com/software/products/appsrvr/index.xml
    Apache Tomcat: http://tomcat.apache.org/
    BEA Weblogic: http://www.bea.com/framework.jsp?CNT=index.htm&FP=/content/products/weblogic/server/
    See Also
    JBoss: http://labs.jboss.com/portal/ (opensource J2EE server)
    Apache Project: http://www.apache.org/
    and of course http://www.google.com.au/
    Keith.

Maybe you are looking for

  • Performance issue on Date filter

    In my where condition I wanted a date filter on sale date.  I want all sales after 9/1/2014.    CASE1 If I explicitly use date filter like  SaleDate > '2014-09-01 00:00:00:000' I am getting the result in 2 seconds. CASE2 Since I may need to use this

  • Adobe Premier Pro CC has stopped working win 7 64 bit

    I have a Quadro KM3000 Nvidia, in a Dell M6700.  Pre Pro has been working fine until I downloaded the latest version.  I use SSD's.   I have read other threads and already tried the following: Downloaded the latest drivers (26 Sep 2014) Tried to upda

  • Displaying Data Using Selection-screen in Module Pool

    Hi All, Currently I'm working on a module pool program.In that i'm having two screens 9000 and 9001. I want to select a bookrefno using a selection screen and display header & table control data in 9001 screen when the bookrefno is validated. can any

  • How can i give a parameter to user to select the column order in runtime

    Select * from emp  ; in parameter form for i need to create a parameter so the user can select whatever the column order he required. where is should write the order by clause

  • Add link to span in li

    How can i add a link to <span class="text">Print</span> in li below?   <div id="menu4">   <ul>                 <li><a href="index.html">                         <span class="title">About</span>                         <span class="text">Hello, my nam