JBuilder vs. J2SDK?

Hello All,
I use J2SDK 1.4.0-beta3 (active) on my PC and have 1.3.1 (inactive) in a separate directory. The I/O window is the DOS command window.
A board requires that I download something called JBuilder IDE (38MB). The board is a TINI (DS80C390-based) microcontroller eval. board.
Can I use my existing J2SDK instead of JBuilder? Does it work the same way? What is the difference? Also if I install JBuilder, would it overwrite or disable my existing J2SDK (if so, how can I still keep the existing J2SDK program)?
Thanks in advance.

Jbuilder IDE, a tool which employs jdk to do a great part of the things he does, but does it without the need of typying tedious console comands, just by clicking butons you can compile, run, create clases, desing user interface, and much more without typing a key.
Ofcouse after the the IDE has generated for you some code you'll have to edit it and continue working on it to meke it suit your proposes, but is better that stare with a blank sheet.
Abraham.

Similar Messages

  • J2SDK1.4 conflict with JBuilder6 on XP

    Hi!
    I have installed JBuilder6 and J2SDK 1.4 and now
    my DOS prompt on my XP will use the JDK1.3.1 that
    comes with JBuilder6 no matter how I set to J2SDK1.4 all the
    JAVA environment variables in the XP's advanced system
    environement variables. I also changed the default SDK
    in the JBuilder to J2SDK 1.4. That works when compiling
    in the JBuilder, but the DOS prompt will still insist on using
    the JDK1.3.1. Anybody knows how I can fix this please?

    >
    Edit the file jdk.config that is available under
    JBuilder6\bin directory and change the location of the
    JDK from jdk1.3.1 to jdk1.4.
    as below
    javapath D:\jdk1.4.0/bin/java
    addpath D:\jdk1.4.0/lib/tools.jar
    NO. Do not do this - it will make your JBuilder quite unstable.
    It's likely that the JBuilder installation has put the JDK 1.3.1 paths on your system Path (check your environment). If this is the case, fix up your Path to point to the JDK 1.4 directory. Also check to see if you have an environment variable called JAVA_HOME in either the System or User environment, and fix it up to point to the JVM that you want to use.
    If you're talking about the JVM loaded by the Java Plug-In (into IE or Netscape), you need to bring up the Java Plug-in Control Panel (from your Control Panel folder), and see what JVMs it sees, and set it to point to the 1.4VM.
    If all else, fails, just uninstall and re-install the 1.4 JDK - it'll fix up everything nicely. JBuilder will continue to use 1.3.1 for itself (remember: JBuilder is a pure java program!).
    If you want JBuilder to use the 1.4 to run your program, go to JBuilder's Tools menu and select the Configure JDK... menu item, and point it at your 1.4 JDK. This info is now saved as part of the project.

  • Deploy web application in jbuilder 9 with weblogic 7 problem

    when i create a web application and a servlet, and deploy it in jbuilder 9 with weblogic 7.0 ,jbuilder 9 showed me the error,please tell me why, when i choose "redeploy" ,it can be normally work..
    E:\bea\jdk131_02\bin\javaw -classpath E:\bea\weblogic700\server\lib\weblogic.jar;E:\bea\weblogic700\server\lib\webservices.jar;E:\bea\weblogic700\server\lib\weblogic_sp.jar; weblogic.Deployer -user system -adminurl http://localhost:7001 -password 12345678 -deploy -name firstWebApp -upload -source E:/J2EE/servlet/firstWebApp.war -targets myserver
    WebLogic Application Deployment Utility
    Usage: java weblogic.Deployer [options] [-activate|-deactivate|-remove|-unprepare|-cancel|-list] [files]
    where options include:
    -help Print this help message.
    -version Print version information.
    -adminurl <https://<server>:<port>> The URL of the administration server: default
    http://localhost:7001
    -user <user> A user other than the default of
    "installadministrator"
    -password <password> Specifies the password on the command line.
    If this option is absent the user is
    prompted.
    -verbose Displays additional status during the
    deployment process, including notifications
    when the application is prepared and
    activated on each target.
    -debug Displays debug level messages to the standard
    output.
    -examples Display example usage of this tool.
    -upload Causes the specified source file(s) to be
    transferred to the adminstration server. This
    is used when the Deployer tools is not being
    used on the same machine as the adminstration
    server and the user does not otherwise have
    access to place the targeted files on the
    adminstration server.
    -delete_files Causes the server to remove the files that
    are specified in the file list and leave the
    application activated. This option is valid
    only for unarchived web applications.
    -remote Signals that the tools is not runnning on the
    same machine as the adminstration server and
    that the source path should be made passed
    through unchanged as it represents the path
    on the remote server.
    -nostage Sets the stagingMethod attribute on the
    application mbean when it is created so that
    the application will not be staged and the
    original source is be used.
    -external_stage Sets the stagingMethod attribute on the
    application mbean when it is created so that
    the application will not be staged but the
    value of the staging path will be used when
    preparing the application.
    -stage Sets the stagingMethod staging attribute on
    the application when it is created so that
    the application will always be staged. This
    value will override the stagingMethod
    attribute on any targeted servers.
    -nowait Once the action is initiated the tool will
    print the task id and exit. This is used to
    initiate multiple tasks and then monitor them
    later using the -list action.
    -timeout <seconds> The maximum time in seconds to wait for the
    completion of the deployment task. When the
    time expires the current status is printed
    and the program exits.
    -source <archive file or directory> Location of the file or directory that
    represents the enterprise component or
    application tha is being (re)activated. If
    the source file is relative it is relative to
    the current directory, unless the -remote
    option is used. To specify individual files
    within an application for reployment or
    addition list them at the end of the command
    line.
    -name <application name> The name of the application being deployed.
    -targets <<server 1>,...<component>@<server N>> A comma separated list of the server and/or
    cluster names. Each target may be qualified
    with a J2EE component name. This enables
    different components of the archive to
    deployed on different servers.
    -id <task identifier> Optional client supplied unique identifier
    for the deployment task. The id is first
    specified to -activate, -deactivate,
    -unprepare or -remove. It is then used later
    as an argument to -cancel or -list.
    -activate (Re)activates the <source> application on the
    <targets> with the <name>.
    -deactivate Deactivates the application <name> on the
    <targets> leaving an staged application files
    in a state where the may be quickly
    reactivated.
    -unprepare Deactivates and unloads classes for the
    application <name> on the <targets> leaving
    an staged application files in a state where
    the may be quickly reloaded.
    -remove Deactivates the application <name> on the
    <target> and removes any files that were
    staged for this application. If there are no
    longer any targets for the application, the
    associated configuration is completely
    removed.
    -cancel Atempts to cancel the task <id> if it is has
    not yet completed.
    -list Lists the target status of each task <id>
    -deploy a convenient alias for activate.
    -undeploy a convenient alias for unprepare.
    Optionally a list of the specific files in the archive that are to be
    redeployed may be specified. If a directory is specified the entire subtree is
    redeployed.
    Full documentation on this tool is available at:
    http://edocs.beasys.com/wls/docs70/adminguide/utils.html#1138475
    No actions was specified. Please specify one and only one of:
    -activate, -deactivate, -cancel, -remove, -unprepare, or -list.
    Type java weblogic.Deployer -examples for example usage.

    you use "deploy" under DOS-Mode to deploy your web application?
    i found some differences between "deploy" and "redeploy" function in jbuilder 9.
    when i choose "deploy" ,jbuilder shows me the commond below:
    E:\bea\jdk131_02\bin\javaw -classpath E:\bea\weblogic700\server\lib\weblogic.jar;E:\bea\weblogic700\server\lib\webservices.jar;E:\bea\weblogic700\server\lib\weblogic_sp.jar; weblogic.Deployer -user system -adminurl http://localhost:7001 -password 12345678 -deploy -name firstWebApp -upload -source E:/J2EE/servlet/firstWebApp.war -targets myserver
    WebLogic Application Deployment Utility
    when i choose redeploy,it shows me: (the -deploy parameter has changed to -activate) ,maybe it's a bug.
    E:\bea\jdk131_02\bin\javaw -classpath E:\bea\weblogic700\server\lib\weblogic.jar;E:\bea\weblogic700\server\lib\webservices.jar;E:\bea\weblogic700\server\lib\weblogic_sp.jar; weblogic.Deployer -user system -adminurl http://localhost:7001 -password 12345678 -activate -name firstWebApp -upload -source E:/J2EE/servlet/firstWebApp.war -targets myserver
    WebLogic Application Deployment Utility

  • Prints in JBuilder; but not as application

    I am using the 1.4 PrinterJob for Graphics2D with PrintServices. This is very similar to the example from Sun. It prints just fine when I run the program inside JBuilder7. When I run it as an application under Windows, the print() method is called, but nothing ever appears on the printer. There is a job qued in the print manager, but it never prints. I am trying to print to an hp 750. If anyone sees what I am missing I would greatly appreciate your response.
    thanks,
    tim

    I checked carefully; I am starting java with a shortcut pointing to same path as jre set in JBuilder C:\...java.exe -cp etc.
    Occasionally the program WILL print stand alone, but most often will not. Always generates a print request in print manager but it never processes. Any other thoughts?
    thanks,tim

  • Little Mailprogramm works in JBuilder but do not work with a JAR File

    Hallo !
    The application works in JBuilder, but if I make an archive it dont work. If have included "JavaMail" and "JavaBeans Activation Framework". (same as in the JBuilderProject)
    The Error Message is:
    class javax.mail.MessegingException: IOException while sending message; nested exception is:
    javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed;
    at javax.mail.Transport.send0
    at javax.mail.Transport.send
    I have other applications which work on JBuilder an as Jar-File, but why this application not ?
    I have JBuilderProfessional in use.
    Are there some licenceproblems with "JavaBeans Activation Framework".
    Please help me.
    Thank you !
    Wolfgang

    I think I have found a solution here:
    http://forum.java.sun.com/thread.jsp?thread=74127&forum=43&message=519108

  • Problems with installation J2SDK on a GLIB 2.2.4

    Hi,
    everyone say that Microsoft's products have a lot of bugs,.... but I�m trying (and tired) to install J2SDK 1.4.0_01 and the installer showed me repetitively the error "glibc >= 2.1.2-11" is need to j2sdk-1.4.0_01.fcs. So what was the problem ? My glibc version is 2.2.4!
    Sun lies when says 'write once, run anywhere"!!!
    Best wishes,
    Fl�vio Queiroz
    Sun Certified Programmer
    [email protected]

    Hi,
    everyone say that Microsoft's products have a lot of
    bugs,Never mind people who complain about bugs... if you develop software,
    you are paid to deal with it. :)
    .... but I�m trying (and tired) to install J2SDK
    1.4.0_01 and the installer showed me repetitively the
    error "glibc >= 2.1.2-11" is need to
    j2sdk-1.4.0_01.fcs. So what was the problem ? My
    glibc version is 2.2.4! Me too- it is frustrating, but Linux has been in the SUN-shine only recently. :)
    >
    Sun lies when says 'write once, run anywhere"!!!Now, now. There is some truth behind this marketing slogan, but no reason to use such strong words. Or you could conclude that all and everyone lies.
    I'll let you know when I resolve the issue. Patience is a virtue. :)
    ivaylo
    >
    Best wishes,
    Fl�vio Queiroz
    Sun Certified Programmer
    [email protected]

  • J2sdk  installation problem on 64 bit linux machine

    Hi
    when i install the j2sdk then it gives the following error.:
    /j2sdk-1_4_2_13-linux-ia64.bin: line 425: ./install.sfx.8624: cannot
    execute binary file
    PLEASE SUGGEST ANY SOLUTION
    Thanks
    dev

    IA64 is the Itanium architecture. You probably don't have such a machine (if you did, you'd definitely know it).
    If indeed you are running Linux on a 64bit machine chances are pretty high, that you are using a processor that's running the the AMD64 architecture (also called EM64T, x86-64, IA32e, ...). AFAIK only 1.5 is available for that architecture.

  • J2SDK 1.3 on Linux RH 7.1

    Hi... does anyone can give a hand installing J2SDK 1.3. on Linux RH 7.1?
    I've already installed Java using the rpm file and it seems to have no problems...
    everything looks fine...I've got no error messages...
    but when I try to run: java -version
    there is not answer!..just nothing!
    this is the second installation and I don't know what else to do...
    what I'm missing?
    I hope anyone can help me!
    Thanks in advance!
    ciao!
    JC.

    i got the same problem too.
    not only is there no output from java -version, but also the command hangs there, never exits.
    the following is the output of java -verbose
    [Opened /usr/java/jdk1.3/jre/lib/rt.jar]
    [Opened /usr/java/jdk1.3/jre/lib/i18n.jar]
    [Opened /usr/java/jdk1.3/jre/lib/sunrsasign.jar]
    [Loaded java.lang.Object from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.io.Serializable from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Comparable from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.String from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Class from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Cloneable from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ClassLoader from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Throwable from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Error from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ThreadDeath from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Exception from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.RuntimeException from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.security.ProtectionDomain from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.security.AccessControlContext from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ClassNotFoundException from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.LinkageError from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.NoClassDefFoundError from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ClassCastException from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ArrayStoreException from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.VirtualMachineError from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.OutOfMemoryError from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.StackOverflowError from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ref.Reference from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ref.SoftReference from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ref.WeakReference from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ref.FinalReference from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ref.PhantomReference from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ref.Finalizer from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Runnable from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Thread from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ThreadGroup from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Dictionary from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Map from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Hashtable from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Properties from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.reflect.AccessibleObject from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.reflect.Member from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.reflect.Method from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.reflect.Constructor from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Collection from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.AbstractCollection from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.List from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.AbstractList from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Vector from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.StringBuffer from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Boolean from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Character from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Number from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Float from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Double from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Byte from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Short from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Integer from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Long from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.NullPointerException from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ArithmeticException from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Shutdown from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.StrictMath from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.io.ObjectStreamField from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Comparator from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.String$CaseInsensitiveComparator from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.System from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.security.AccessController from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Collections from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Random from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Set from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.AbstractSet from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Collections$EmptySet from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Collections$EmptyList from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.AbstractMap from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Collections$EmptyMap from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Collections$ReverseComparator from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ThreadLocal from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.InheritableThreadLocal from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.security.Guard from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.security.Permission from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.security.BasicPermission from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.reflect.ReflectPermission from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ref.Reference$Lock from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ref.Reference$ReferenceHandler from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ref.ReferenceQueue from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ref.ReferenceQueue$Null from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ref.ReferenceQueue$Lock from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ref.Finalizer$FinalizerThread from /usr/java/jdk1.3/jre/lib/rt.jar]
    then the output stops, and the command hangs here.

  • Korean Fonts from inside JBuilder fine, outside not?

    Hi guys, thanks for taking a look at my problem.
    I have an applet that builds and runs successfully within JBuilder. I can choose
    either Korean or English and, via a C++ server, load the correct resource
    strings from a given unicode text file and display them correctly.
    ( I've previously loaded the korean win2000 language pack, and renamed my font.properties.ko file to font.properties. )
    I then create a .jar archive & accompanying html page and place them on a webserver.
    When I then access the applet using IE I only see square boxes where my wonderful Korean used to be!?
    I've tried manually setting the encoding to be Korean within IE, alas to no avail. Anyone got any ideas? I had hoped that providing a user had installed the correct language pack, the applet would be able to display things correctly..
    Any tips would be greatly appreciated.
    Thanks in Advance,
    Grant Appleyard

    Dear i found a different thing.
    i used IBM Java and Urdu fonts for develope the urdu software.
    using sun Java i too had same problem.
    i am just telling u, u may try it.

  • Applet working on JBuilder but not on appletviewer!!!!!

    I ve made a keybord.Here some buttons are missing. The user presses the buttons and shapes a word!When the jButton22 is pressed(Comparison button) the applet tells him if the result is true or false and displays an image(imageIcon foruser in jlabel forusers) with the correct result!!The jlabel for users is setVisible(false) and setVisible(true) when the comparison button is pressed and the result is wrong.My problem is that the jlabel works fine in JBuilder but when i run the applet in appletviewer the jlabel forusers isnt showing!!If i minimize and maximize the window then the label appears and from that point is working properly!Any suggestions would be appreciated!Thank you!!
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import javax.swing.*;
    public class Applet5 extends Applet {
    JLabel frase = new JLabel();
    JLabel forusers = new JLabel();
    JLabel string = new JLabel();
    JLabel message = new JLabel();
    JLabel plikt = new JLabel();
    JLabel gram = new JLabel();
    JLabel sint = new JLabel();
    JLabel vrah = new JLabel();
    JLabel end = new JLabel();
    JLabel dior = new JLabel();
    JLabel befforusers = new JLabel();
    JLabel[] jLabel = new JLabel[6];
    ImageIcon myIcon1 = new ImageIcon((Applet5.class.getResource("drawing/1.jpg")));
    ImageIcon myIcon2 = new ImageIcon((Applet5.class.getResource("drawing/2.jpg")));
    ImageIcon myIcon3 = new ImageIcon((Applet5.class.getResource("drawing/3.jpg")));
    ImageIcon myIcon4 = new ImageIcon((Applet5.class.getResource("drawing/4.jpg")));
    ImageIcon myIcon5 = new ImageIcon((Applet5.class.getResource("drawing/5.jpg")));
         ImageIcon foruser1 = new ImageIcon((Applet5.class.getResource("foruser/foruser1.jpg")));
         ImageIcon foruser2 = new ImageIcon((Applet5.class.getResource("foruser/foruser2.jpg")));
         ImageIcon foruser3 = new ImageIcon((Applet5.class.getResource("foruser/foruser3.jpg")));
         ImageIcon foruser4 = new ImageIcon((Applet5.class.getResource("foruser/foruser4.jpg")));
         ImageIcon foruser5 = new ImageIcon((Applet5.class.getResource("foruser/foruser5.jpg")));
        ImageIcon frases1= new ImageIcon((Applet5.class.getResource("frase/frase1.jpg")));
        ImageIcon frases2= new ImageIcon((Applet5.class.getResource("frase/frase2.jpg")));
        ImageIcon frases3= new ImageIcon((Applet5.class.getResource("frase/frase3.jpg")));
        ImageIcon frases4= new ImageIcon((Applet5.class.getResource("frase/frase4.jpg")));
        ImageIcon frases5= new ImageIcon((Applet5.class.getResource("frase/frase5.jpg")));
    ImageIcon telos = new ImageIcon((Applet5.class.getResource("end/telos.jpg")));
    ImageIcon diorth = new ImageIcon((Applet5.class.getResource("dior/dior.jpg")));
    String[] user= new String[6];
    JButton jButton1 = new JButton("1..");
    JButton jButton2 = new JButton("2..");
    JButton jButton3 = new JButton("3..");
    JButton jButton4 = new JButton("4..");
    JButton jButton5 = new JButton("5..");
    JButton jButton21 = new JButton("��������");
    JButton jButton22 = new JButton("��������");
    JButton jButton23 = new JButton("����������");
    JButton jButton24 = new JButton("������� ������");
    JButton jButton25 = new JButton("������");
    Font f = new Font("Palatino LinoType", Font.PLAIN, 18);
    Font g = new Font("TimesRoman", Font.PLAIN, 0);
    Font c = new Font("Palatino Linotype",Font.PLAIN, 14);
    Font p = new Font("Palatino Linotype",Font.PLAIN, 14);
    String s = new String();
    int nextLabelToShowIcon = 1;
    int l=0;
    int current = 0;
    int cur = 0;
    int str = 1;
    FlowLayout flowLayout1 = new FlowLayout();
        public void init() {
          try {
                    jbInit();
                  catch(Exception e) {
                    e.printStackTrace();
         user[1]=new String("82."+"ken"+"62."+"82."+"59."+"77."+"82."+"94."+"ken"+"107"+"127"+"77."+"ken"
             +"151"+"ken"+"1.."+"69."+"107"+"53."+"93."+"59."+"82."+"94."+"ken"+"30."+"1.."+"13."+"82."+"114"
             +"82."+"94.");
          user[2]=new String("1.."+"66."+"23."+"ken"+"74."+"31."+"77."+"ken"+"82."+"ken"+"30."+"62."+"1.."
           +"59."+"82."+"94."+"ken"+"62."+"1.."+"59."+"ken"+"82."+"114"+"62."+"ken"+"1.."+"77."+"ken"+"107"+"59."+"94."
           +"ken"+"1.."+"93."+"77."+"53."+"99."+"82.");
          user[3]=new String("59."+"77."+"2.."+"ken"+"107"+"59."+"ken"+"30."+"ken"+"31."+"74."+"31."+"ken"+"29."
           +"46."+"82."+"107"+"2.."+"ken"+"107"+"82."+"ken"+"82."+"77."+"82."+"74."+"1.."+"ken"+"94."+"82."+"114"
           +"ken"+"13."+"65."+"1.."+"94."+"123"+"53."+"74."+"38."+"107"+"1.."+"59.");
          user[4]=new String("74."+"35."+"1.."+"65."+"127"+"94."+"ken"+"82."+"ken"+"159"+"ken"+"109"+"120"
           +"ken"+"82."+"59."+"62."+"38."+"82."+"120"+"ken"+"107"+"59."+"74."+"2.."+"ken"+"56."+"31."+"93."+"1.."
           +"85."+"82."+"77."+"107"+"2.."+"94.");
    jLabel[1] = new JLabel();
    jLabel[2] = new JLabel();
    jLabel[3] = new JLabel();
    jLabel[4] = new JLabel();
    jLabel[5] = new JLabel();
    jButton1.setPreferredSize(new Dimension(32, 30));
    jButton1.setIcon(myIcon1);
    jButton1.setFont(g);
    jButton1.setVerticalTextPosition(SwingConstants.CENTER);
    jButton1.setHorizontalTextPosition(SwingConstants.CENTER);
    jButton1.addActionListener(new Applet5_jButton1_actionAdapter(this));
    jButton2.setPreferredSize(new Dimension(32, 30));
    jButton2.setIcon(myIcon2);
    jButton2.setFont(g);
    jButton2.setVerticalTextPosition(SwingConstants.CENTER);
    jButton2.setHorizontalTextPosition(SwingConstants.CENTER);
    jButton2.addActionListener(new Applet5_jButton2_actionAdapter(this));
    jButton3.setPreferredSize(new Dimension(32, 30));
    jButton3.setIcon(myIcon3);
    jButton3.setFont(g);
    jButton3.setVerticalTextPosition(SwingConstants.CENTER);
    jButton3.setHorizontalTextPosition(SwingConstants.CENTER);
    jButton3.addActionListener(new Applet5_jButton3_actionAdapter(this));
    jButton4.setPreferredSize(new Dimension(36, 30));
    jButton4.setIcon(myIcon4);
    jButton4.setFont(g);
    jButton4.setVerticalTextPosition(SwingConstants.CENTER);
    jButton4.setHorizontalTextPosition(SwingConstants.CENTER);
    jButton4.addActionListener(new Applet5_jButton4_actionAdapter(this));
    jButton5.setPreferredSize(new Dimension(37, 30));
    jButton5.setIcon(myIcon5);
    jButton5.setVerticalTextPosition(SwingConstants.CENTER);
    jButton5.setHorizontalTextPosition(SwingConstants.CENTER);
    jButton5.setFont(g);
    jButton5.addActionListener(new Applet5_jButton5_actionAdapter(this));
    jButton21.addActionListener(new Applet5_jButton21_actionAdapter(this));
    jButton22.addActionListener(new Applet5_jButton22_actionAdapter(this));
    jButton23.addActionListener(new Applet5_jButton23_actionAdapter(this));
    jButton24.addActionListener(new Applet5_jButton24_actionAdapter(this));
    jButton25.addActionListener(new Applet5_jButton25_actionAdapter(this));
    frase.setIcon(frases1);
    frase.setPreferredSize(new Dimension(750,40));
    message.setPreferredSize(new Dimension(220, 30));
    befforusers.setPreferredSize(new Dimension(1000,50));
    forusers.setIcon(foruser1);
    forusers.setPreferredSize(new Dimension(1000,50));
    forusers.setVisible(false);
    end.setPreferredSize(new Dimension(210,30));
    end.setVisible(false);
    dior.setIcon(diorth);
    dior.setPreferredSize(new Dimension(81,30));
    dior.setVisible(false);
    plikt.setText("������������");
    gram.setText("�������� & ���������� ���������");
    sint.setText("����������");
    vrah.setText("������������");
    message.setFont(p);
    plikt.setFont(f);
    gram.setFont(c);
    sint.setFont(c);
    vrah.setFont(c);
    string.setVisible(false);
    this.setLayout(flowLayout1);
    jLabel[1].setPreferredSize(new Dimension(50, 50));
    jLabel[2].setPreferredSize(new Dimension(50, 50));
    jLabel[3].setPreferredSize(new Dimension(50, 50));
    jLabel[4].setPreferredSize(new Dimension(50, 50));
    jLabel[5].setPreferredSize(new Dimension(50, 50));
    this.add(plikt);
    this.add(gram);
    this.add(jButton1);
    this.add(jButton2);
    this.add(jButton3);
    this.add(jButton4);
    this.add(jButton5);
    this.add(dior);
    this.add(jButton21);
    this.add(jButton22);
    this.add(jButton23);
    this.add(jButton24);
    this.add(jButton25);
    this.add(end);
    this.add(frase);
    this.add(message);
    this.add(befforusers);
    this.add(forusers);
    this.add(jLabel[1]);
    this.add(jLabel[2]);
    this.add(jLabel[3]);
    this.add(jLabel[4]);
    this.add(jLabel[5]);
    this.add(string);
    private void next2(){
    if(str==0);
    string.setText(user[1]);
    if(str==1)
       string.setText(user[2]);
    if(str==2)
       string.setText(user[3]);
    if(str==3);
    string.setText(user[4]);
    if(str==4)
       string.setText(user[5]);
    str++;
      private void next1(){
        if(cur==0)
      forusers.setIcon(foruser2);
      else if(cur==1)
      forusers.setIcon(foruser3);
      else if(cur==2)
      forusers.setIcon(foruser4);
      else if(cur==3)
      forusers.setIcon(foruser5);
      else if(cur==4)
      forusers.setIcon(foruser6);
        cur++;
      private void next(){
        if(current==0)
    frase.setIcon(frases2);
    else if(current==1)
    frase.setIcon(frases3);
    else if(current==2)
    frase.setIcon(frases4);
    else if(current==3)
    frase.setIcon(frases5);
    current++;
    void jButton1_actionPerformed(ActionEvent e)  {
    if (nextLabelToShowIcon == 1)
    jLabel[1].setIcon(myIcon1);
    else if (nextLabelToShowIcon == 2)
    jLabel[2].setIcon(myIcon1);
    else if (nextLabelToShowIcon == 3)
    jLabel[3].setIcon(myIcon1);
    else if (nextLabelToShowIcon == 4)
    jLabel[4].setIcon(myIcon1);
    else if (nextLabelToShowIcon == 5)
    jLabel[5].setIcon(myIcon1);
    s = s + jButton1.getText();
    nextLabelToShowIcon++;l++; jButton21.setVisible(true); dior.setVisible(false);
    void jButton2_actionPerformed(ActionEvent e)  {
    if (nextLabelToShowIcon == 1)
    jLabel[1].setIcon(myIcon2);
    else if (nextLabelToShowIcon == 2)
    jLabel[2].setIcon(myIcon2);
    else if (nextLabelToShowIcon == 3)
    jLabel[3].setIcon(myIcon2);
    else if (nextLabelToShowIcon == 4)
    jLabel[4].setIcon(myIcon2);
    else if (nextLabelToShowIcon == 5)
    jLabel[5].setIcon(myIcon2);
    s = s + jButton2.getText();
    nextLabelToShowIcon++;l++; jButton21.setVisible(true); dior.setVisible(false);}
    void jButton3_actionPerformed(ActionEvent e)  {
    if (nextLabelToShowIcon == 1)
    jLabel[1].setIcon(myIcon3);
    else if (nextLabelToShowIcon == 2)
    jLabel[2].setIcon(myIcon3);
    else if (nextLabelToShowIcon == 3)
    jLabel[3].setIcon(myIcon3);
    else if (nextLabelToShowIcon == 4)
    jLabel[4].setIcon(myIcon3);
    else if (nextLabelToShowIcon == 5)
    jLabel[5].setIcon(myIcon3);
    s = s + jButton3.getText();
    nextLabelToShowIcon++;l++; jButton21.setVisible(true); dior.setVisible(false);}
    void jButton4_actionPerformed(ActionEvent e)  {
    if (nextLabelToShowIcon == 1)
    jLabel[1].setIcon(myIcon4);
    else if (nextLabelToShowIcon == 2)
    jLabel[2].setIcon(myIcon4);
    else if (nextLabelToShowIcon == 3)
    jLabel[3].setIcon(myIcon4);
    else if (nextLabelToShowIcon == 4)
    jLabel[4].setIcon(myIcon4);
    else if (nextLabelToShowIcon == 5)
    jLabel[5].setIcon(myIcon4);
    s = s + jButton4.getText();
    nextLabelToShowIcon++;l++; jButton21.setVisible(true); dior.setVisible(false);}
    void jButton5_actionPerformed(ActionEvent e)  {
    if (nextLabelToShowIcon == 1)
    jLabel[1].setIcon(myIcon5);
    else if (nextLabelToShowIcon == 2)
    jLabel[2].setIcon(myIcon5);
    else if (nextLabelToShowIcon == 3)
    jLabel[3].setIcon(myIcon5);
    else if (nextLabelToShowIcon == 4)
    jLabel[4].setIcon(myIcon5);
    else if (nextLabelToShowIcon == 5)
    jLabel[5].setIcon(myIcon5);
    s = s + jButton5.getText();
    nextLabelToShowIcon++;l++; jButton21.setVisible(true); dior.setVisible(false);}
    void jButton21_actionPerformed(ActionEvent e) {
    if(nextLabelToShowIcon>1){
    jLabel[l].setIcon(null);
    s = s.substring(0, s.length()-3);
    l = l - 1;
    nextLabelToShowIcon = nextLabelToShowIcon - 1;}
    else{
    jButton21.setVisible(false);
    dior.setVisible(true);
    l=0;
    s="";
    nextLabelToShowIcon=1;}
    void jButton22_actionPerformed(ActionEvent e) {
    if(s.length()>0){
        if (s.equals(user[str])) {
          message.setText("������ ����� �����");
        else {
          forusers.getIcon();
          forusers.setVisible(true);
          befforusers.setVisible(false);
          message.setText("�����. � ����� ������� ����� : ");
    repaint();
    jButton1.setDisabledIcon(myIcon1);
    jButton2.setDisabledIcon(myIcon2);
    jButton3.setDisabledIcon(myIcon3);
    jButton4.setDisabledIcon(myIcon4);
    jButton5.setDisabledIcon(myIcon5);
    jButton1.setEnabled(false);
    jButton2.setEnabled(false);
    jButton3.setEnabled(false);
    jButton4.setEnabled(false);
    jButton5.setEnabled(false);
    jButton21.setEnabled(false);
    void jButton23_actionPerformed(ActionEvent e) {
    dior.setVisible(false);
    jButton21.setEnabled(true);
    jButton21.setVisible(true);
    s="";
    l=0;
    nextLabelToShowIcon=1;
    message.setText("");
    befforusers.setVisible(true);
    forusers.setVisible(false);
    jLabel[1].setIcon(null);
    jLabel[2].setIcon(null);
    jLabel[3].setIcon(null);
    jLabel[4].setIcon(null);
    jLabel[5].setIcon(null);
      jButton1.setEnabled(true);
      jButton2.setEnabled(true);
      jButton3.setEnabled(true);
      jButton4.setEnabled(true);
      jButton5.setEnabled(true);
    void jButton24_actionPerformed(ActionEvent e) {
    jButton21.setVisible(true);
    jButton21.setEnabled(true);
    dior.setVisible(false);
    nextLabelToShowIcon=1;
      jButton1.setEnabled(true);
      jButton2.setEnabled(true);
      jButton3.setEnabled(true);
      jButton4.setEnabled(true);
      jButton5.setEnabled(true);
      jButton6.setEnabled(true);
    l=0;
    befforusers.setVisible(true);
    forusers.setVisible(false);
    next1();
    next();
    next2();
    s="";
    message.setText("");
    jLabel[1].setIcon(null);
    jLabel[2].setIcon(null);
    jLabel[3].setIcon(null);
    jLabel[4].setIcon(null);
    jLabel[5].setIcon(null);
    void jButton25_actionPerformed(ActionEvent e) {
    public void paint(Graphics g) {
    super.paint(g);}
    private boolean isStandalone = false;
    public String getParameter(String key, String def) {
      return isStandalone ? System.getProperty(key, def) :
      (getParameter(key) != null ? getParameter(key) : def);
    private void jbInit() throws Exception {
        public String getAppletInfo() {
          return "Applet Information";
      public String[][] getParameterInfo() {
        return null;
      public static void main(String[] args) {
        Applet5 applet = new Applet5();
        applet.isStandalone = true;
        Frame frame = new Frame();
        frame.add(applet, BorderLayout.CENTER);
        applet.init();
        applet.start();
        frame.setSize(450,400);
        Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
        frame.setLocation((d.width - frame.getSize().width) / 2, (d.height - frame.getSize().height) / 2);
        frame.setVisible(true);
        frame.setResizable(false);
    class Applet5_jButton1_actionAdapter
    implements java.awt.event.ActionListener {
    Applet5 adaptee;
    Applet5_jButton1_actionAdapter(Applet5 adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.jButton1_actionPerformed(e);
    class Applet5_jButton2_actionAdapter
    implements java.awt.event.ActionListener {
    Applet5 adaptee;
    Applet5_jButton2_actionAdapter(Applet5 adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.jButton2_actionPerformed(e);
    class Applet5_jButton3_actionAdapter
    implements java.awt.event.ActionListener {
    Applet5 adaptee;
    Applet5_jButton3_actionAdapter(Applet5 adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.jButton3_actionPerformed(e);
    class Applet5_jButton4_actionAdapter
    implements java.awt.event.ActionListener {
    Applet5 adaptee;
    Applet5_jButton4_actionAdapter(Applet5 adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.jButton4_actionPerformed(e);
    class Applet5_jButton5_actionAdapter
    implements java.awt.event.ActionListener {
    Applet5 adaptee;
    Applet5_jButton5_actionAdapter(Applet5 adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.jButton5_actionPerformed(e);
    class Applet5_jButton21_actionAdapter
    implements java.awt.event.ActionListener {
    Applet5 adaptee;
    Applet5_jButton21_actionAdapter(Applet5 adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.jButton21_actionPerformed(e);
    class Applet5_jButton22_actionAdapter
    implements java.awt.event.ActionListener {
    Applet5 adaptee;
    Applet5_jButton22_actionAdapter(Applet5 adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.jButton22_actionPerformed(e);
    class Applet5_jButton23_actionAdapter
    implements java.awt.event.ActionListener {
    Applet5 adaptee;
    Applet5_jButton23_actionAdapter(Applet5 adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.jButton23_actionPerformed(e);
    class Applet5_jButton24_actionAdapter
    implements java.awt.event.ActionListener {
    Applet5 adaptee;
    Applet5_jButton24_actionAdapter(Applet5 adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.jButton24_actionPerformed(e);
    class Applet5_jButton25_actionAdapter
    implements java.awt.event.ActionListener {
    Applet5 adaptee;
    Applet5_jButton25_actionAdapter(Applet5 adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.jButton25_actionPerformed(e);
    }

    I performed some testing on your program, and get an ArrayIndexOutOfBoundsException on one of the buttons. So, I guess there have to be some implementation logic error.
    Since I have no idea what your program is trying to achieve, here's what you can do:
    1. Try to shorten your program.
    2. Add your code piece by piece.
    3. Perform some logic testing.
    4. Repeat steps 2 & 3.

  • How to upgrade jdk used in jbuilder 5.0?????

    Hi all
    i have jbuilder 5.0 Enterprise which use jdk1.3
    each time i change the jdk configuration and use jdk 6
    it gave me when i compile an error that the file version is incorrect
    and the design window doesnt parsing the components....so plz
    how would i solve this damm problem
    if i cant
    plz provide me with jbuilder 9 or 10x
    but not with jbuilder 2007 because it is soooo complex to me
    thnx all

    Please ask this question at another site, as these forums support Java language questions, not jBuilder (or other IDEe.)

  • How do I set project paths in JBuilder 4?

    Hello,
    I am trying to create a new project in JBuilder 4.
    I used the project wizard and set my paths to the following folders:
    C:\OU2007\TM427\mysolution
    However when the project and all files are getting saved to these folders:
    C:\Documents and Settings\Jason\jbproject
    Have you any idea why this is? I�m a bit confused on what I should enter for each of the paths in the project wizard, any help would be appreciated.
    thanks,
    Jason.

    It's difficult to set a single font size without wrecking the display of most web sites. One alternative would be to store your preferred zoom level and apply that to all sites. This requires an add-on such as:
    * [https://addons.mozilla.org/en-US/firefox/addon/6965/ Default FullZoom Level]
    * [https://addons.mozilla.org/en-US/firefox/addon/2592/ NoSquint]
    Does that work for you?

  • How can I generate a component array using JBuilder?

    Now I'm using JBuilder to design my program's GUI. I wanted a JTextField array like this:nums[0]~nums[2].So I draged three JTextFields into the container at JBuilder's design view. But when I set the names of them as nums[x](x=0,1,2). I got a Error Message. It told me that I used a illegal name. How should I do, please?
    thank you a million!

    The DIO ports on a MIO will not satisfy your needs (unless you move to LV RT).
    They do not support buffered outputs.
    Your update rate (how often you can set the port and clear it) is going to be limited by how fast (a-hem slow) windows will let you iterate,
    and,
    be non-determinstic.
    You could use,
    1) LV RT with the existing board, or
    2) FieldPoint PWM module, or
    3) Arbitrary waveform generators, or
    4) HS DIO board, or
    5) use the analog output of your baord where you que-up a 0 -5V waveform of the proper shape (i.e. make sure that the duty cylce fraction of the update values are high, the rest low).
    This is just to get a PWM signal out.
    Now there is another issue. Determinism. How often do you plan on reading your inputs and making a change to you
    r PWM? If you plan on doing more often that 10/second, write your code to handle windows going out to la-la land when you expect it to be working.
    Can you tell I like LV-RT.
    I hope my ramblings have helped.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How can i open Jbuilder project in Eclipse

    Hi All
    Can anyone tell me that how can i open Jbuilder 2006 project(.jpx)
    in Eclipse 3.2.2
    Regards

    Hello, perhaps this will be helpful : http://www-128.ibm.com/developerworks/library/os-ecidea/.
    *Edit - This link will be much more useful : http://www.bleb.org/software/jpx2eclipse/
    Laginimianeb
    Message was edited by:
    laginimaineb

  • How to run a jar file in JBuilder

    Hi there
    I need to know how to run a jar file using JBuilder. Thanks :)
    Countess

    well i have a german version of jbuilder and there it is under
    experten Archiv-builder
    look at something that has a similar name

Maybe you are looking for

  • [Solved]Gnome 3.6: cannot login

    I cannot login to Gnome 3.6 anymore since a couple of days. The "oh no" window appears and kicks me out. I am using gdm, with which I can login to E17 perfectly. Here's part of my journal: Nov 27 09:50:16 PC_NMG systemd[1]: Starting Cleanup of Tempor

  • Flex and Java on Desktop

    Hi We are having this requirement , we want to develop a application using flex for adobe AIR runtime which will communicate with java in the desktop, we are not having any servers here, so flex application want to communicate with java classes with

  • LR 4 - image does not appear in Preview and will not print`

    The selected image appears on the main/center panel but not in the preview screen.  Printing results in a white sheet of paper with no image at all.  The image has been updated to LR 4 - but made no difference.  I've served help and the forums (where

  • Is there an example of populating a tabular form by selecting node in tree

    Hi, I am using apex 4.1. I have created a tree region, and would like to click on a child node and have it populate a tabular form. My tree attribute has the following query: select case when connect_by_isleaf = 1 then 0 when level = 1 then 1 else -1

  • Post script indesign

    hello forumers. today i printed out a document,and when i had gone to the print house,the printer told me my pdf file was huge,so he recomended next time that i should save my document as a post script,and then use adobe distiller which shrinks the f