IE 5 and java2

Can i use swing components in applets and watch it in ie5 without installing any "running environments" ?

In Java 1.1, Swing was a separate jar file. Is this considered a "running environment"?
In Java 2, Swing is part of the core (rt.jar) release.
But, IE 5 only has a JVM for Java 1.1.
So, if you are targeting Java 1.1, your applet tag would have to include the swing.jar file as part of the "archive list".
If you are targeting Java 2, then you will need to use the Java Plug-In. (http://java.sun.com/products/plugin)
Did this help?
durby

Similar Messages

  • Axis and Web Services

    Hello .. i am new to axis .The problem is that i have created a client message using SAAJ APIs . The request created is of the form
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmln
    s:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSc
    hema-instance"><soapenv:Body><detail xmlns=""><symbol symbol1="rohitjha" symbol2
    ="janarthanan" xmlns=""/><symbol xmlns=""/></detail></soapenv:Body></soapenv:Env
    elope> these attributes have been added by command line while running the following code : :
    public class Client {
    public static void main(String [] args)throws Exception
    try{
    //First create the connection
    SOAPConnectionFactory soapConnFactory = SOAPConnectionFactory.newInstance();
    SOAPConnection connection = soapConnFactory.createConnection();
    //Next, create the actual message
    MessageFactory messageFactory = MessageFactory.newInstance();
    SOAPMessage message = messageFactory.createMessage();
    //Create objects for the message parts
    SOAPPart soapPart = message.getSOAPPart();
    SOAPEnvelope envelope = soapPart.getEnvelope();
    SOAPBody body = envelope.getBody();
    SOAPElement bodyElement =body.addChildElement(envelope.createName("detail"));
    SOAPFactory soapFactory =SOAPFactory.newInstance();
    Name name = soapFactory.createName("symbol");
    SOAPElement symbol1 = bodyElement.addChildElement(name);
    symbol1.addAttribute(soapFactory.createName("symbol1"),args[0]);
              //symbol1.addTextNode(args[0]);
              Name name1 = soapFactory.createName("symbol");
              SOAPElement symbol2 = bodyElement.addChildElement(name1);
              symbol1.addAttribute(soapFactory.createName("symbol2"),args[1]);
              //symbol2.addTextNode(args[1]);
    message.saveChanges();
              System.out.println("\nREQUEST:\n");
    message.writeTo(System.out);
         System.out.println();
    String endpoint = "http://localhost:8080/axis/services/GetIP";
         //Send the message
         System.out.println("RESPONSE\n");
    SOAPMessage reply = connection.call(message, endpoint);
    reply.writeTo(System.out);
         }catch(Exception e){
              System.out.println("The exception is : "+e);
    I have used wsdl3java tool and java2 wsdl tool to create the varios bindings . My service name is detail .
    this program works fine if i pass only one parameter from server to client .But on passing more than one parameter its responds that it cannot find the operation .
    the response is :
    <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://sc
    hemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" x
    mlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Faul
    t><faultcode>Server.userException</faultcode><faultstring>No such operation 'det
    ail'</faultstring><detail><ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">
    rohitjha</ns1:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelop
    e>Please suggest how to pass more than one parameter from the client to the service ..

    Hi I have got a few queries...thanks for all ur replies...
    I am having a concrete wsdl...i ahve used wsdl2java skeleton to create java files....i have got wsdd file as well....
    1) how can i deploy the application in a webserver ?
    2) should i create any specific java files to be exposed...apart from java files created by the wsdl2java utility
    3) can i use the same wsdl to create my client files...
    4) since i dont have any logic in my webservice...how can i access the fiels using my client?
    Thanks
    Vivek

  • Java2 rendering problem

    i have what i call a unusual problem, all the IDE and JAVA2 applets and applications will not render, they start but does not render any components.
    i have found this switch: -Dsun.java2d.noddraw=true.. but i do not get it to work, at the command prompt i only get java.lang.NoClassDefFoundError.. and i wonder if someone else have hade the same problem? and how to work around the problem.. since i cant get any work done i hope some kind soul would like to help out =( i have also updated my video driver to the latest driver and also tried to reinstall directX
    i run a MS Windows XP SP2 on a P4 3.0Ghz on a ASUS P5GD2 Deluxe motherboard with socket 775 on the i915 Intel chipset with a ATI RADEON X700Pro graphics card.

    If you want to start proper, not using NB, download the jsdk bundle without the NB on page:
    http://java.sun.com/j2se/1.4.2/download.html
    Just the sdk, not NetBeans + SDK
    I am assuming you are using windows(due to the desktop comment, *nix users usually dont care about desktop), after installing it you shoul have the following folder on your machine:
    C:\j2sdk1.4.2_06
    This is the java home directory.
    Then you should check to see if your path is alright, you mus have the environment variable:
    JAVA_HOME
    set to the above dir, if you have not, create one.
    your path mus have the following entry:
    %JAVA_HOME%\bin
    if it is not there add it.
    Then on the command line you should be able to run the command
    java -version
    Wich will print out your java version.
    Sometimes, you will need to logout/ login after setting user env variables or boot your box if you did it on tthe system env vars.
    May the code be with you.

  • Java 1 apps in a Java 2 environment

    Ok,
    Bare with me here. I am working in a Java2 environment. I can not get apps written for a Java1 environment to run. I know I can not run a dual JRE environment for both Java1 and Java2. But is there anyway to set up a Java2 environment to run applets that were created in a Java1 environment? Please help.... i need it!!
    Thanks,
    Larry

    A Java 2 environment will run classes compiled in Java 1. But you say yours doesn't. What problems are you having?

  • Can someone Plz help me Y everyone won't help me

    Hi
    PLz Plz Plz can you help me with this
    Exception in thread "main" java.lang.NoClassDefFoundError: ClassFileName
    Here what happen i use to run JDk1.3 now after I started to learn Swing (Two days ago) they ask me to get the latest version of JDk so i did version 1.3.1
    After the installation of JDK1.3.1
    I started writing java code AWT, then Swing
    I have no problem trying to complie but when I try to run the Class file it give me the error.
    I tryed all my old java program that work be4 the installation and now they all said the same thing.
    So Plz Tell me what to do Plz and tell me about duke $ as I think that what make all of u answers ppl question now aday on this site :( .

    i just find out i have 2 ver of java install on the same Os will that crash the Java when i try to run java nameofFile.class
    i got Java2 SDK Standard Edition 1.3
    and
    java2 SDK Runtime Environment Standard Edition v1.3
    can anyone tell me which is the best one cos the JAVA SDK standard Edition v1.3 is the one i use for my study at UNI
    and should i remove one of them. I have the BrezzyGUI from the Standard Edition and i don't think the folder is in the java Runtime Environment Standard Edition v1.3
    Ps: do i need to reboot every time i change the path and the class path.
    Thank again for the suggestion. PPl have given me many version of Path and ClassPath and they all different.
    :( so i don't know which one i should use and yeah i know i have to set the path the the bin dir in the java folder but what i mean is the .\ and "." and *.*
    %ClassPath% ????? what do they all do
    "." i seen in the Doc for install the java path on this site
    and .\ as the MSG above, *.* some other guy i can't remeber which is correct and which is not.
    This path and ClassPath thing is confusing me and it make me mad !@#$ !!!
    Sorry about that hehe but I'm very tired of this Exception error I try everything PPl have told me but none seems to fix my error
    .lang.NoClassdefFile Error: :( stupid java or it my Com hehe blame on everythings first be4 looking at the problem. :)

  • Problem creating in some attribute options for class through java API

    Hello everyone,
    I am successfully creating class and its attributes but i am not able to create attributes with its option like IS REQUIRED, IS INDEXED, IS SETTABLE and READ ONLY.....
    public void create_class(String cname,String cdesc,String scname)
    try
    ClassObjectDefinition cod = new ClassObjectDefinition(csession);
    cod.setSuperclassName(scname);
    cod.setName(cname);
    ClassObject co = (ClassObject)csession.createSchemaObject(cod);
    AttributeDefinition ad2 = new AttributeDefinition(csession);
    ad2.setAttributeByUpperCaseName("NAME",AttributeValue.newAttributeValue("Divya"));
    ad2.setAttributeByUpperCaseName("DATATYPE",AttributeValue.newAttributeValue(Attribute.ATTRIBUTEDATATYPE_STRING));
    ad2.setAttributeByUpperCaseName("DATALENGTH",AttributeValue.newAttributeValue(151));
    ad2.setAttributeByUpperCaseName("DESCRIPTION",AttributeValue.newAttributeValue("This the attribute number 2"));
    //here is some problem,,, Is Required is not been able to set
    //ad2.setAttributeByUpperCaseName("REQUIRED",AttributeValue.newAttributeValue(true));
    co.addAttribute(ad2);
    catch(IfsException e)
    e.printStackTrace();
    }

    Hi Kabilesh,
    Could you please let me know the exast soution u had for this?
    I even set the SHLIB_PATH in the environment, but still this problem persists.
    I am compiling the program and making into a shared library as
    cc -c -g -n +z -I$JAVA_HOME/include -I$JAVA_HOME/include/hp-ux -L/opt/java1.4/jre/lib/PA_RISC2.0/server -ljvm Test.c -o Test.o
    ld -b Test.o -L/opt/java1.4/jre/lib/PA_RISC2.0/server -ljvm -o Test.slMy java code is looks like this :
    void create_Jvm()
        JNIEnv * env;
        JavaVM * jvm;
        //JDK1_1InitArgs vm_args;
        /* Note : In JNI1.2 and Java2 SDK 1.4, the new structure JavaVMInitArgs has been introduced.*/
        JavaVMInitArgs vm_args;
        //JavaVMOption options[1];
        jint res;
        vm_args.nOptions = 0;
        vm_args.ignoreUnrecognized = JNI_TRUE;
        /* IMPORTANT: specify vm_args version # if you use JDK1.1.2 and beyond */
        vm_args.version = JNI_VERSION_1_4;
        //vm_args.version = JNI_VERSION_1_2;
        /*In JNI1.2 and Java2 SDK 1.4 the JNI_GetDefaultJavaVMInitArgs method call is not required.*/
        //JNI_GetDefaultJavaVMInitArgs( & vm_args);
        res = JNI_CreateJavaVM( &jvm, (void**)&env, &vm_args);
        if (res < 0) {
            fprintf(stderr, "Can't create Java VM\n Error is :%ld\n ", res);
            exit(1);
        iJvmInitialized = 1;
    } hi
    Check the lib path
    May be u have not included : at the end of the lib
    path that u have added
    THis was the mistake that i did
    kabilesh

  • Using JNI_CreateJavaVM

    What do I have to link into my cpp program to use the JNI_CreateJavaVM function? I can't seem to find it...

    Hi Kabilesh,
    Could you please let me know the exast soution u had for this?
    I even set the SHLIB_PATH in the environment, but still this problem persists.
    I am compiling the program and making into a shared library as
    cc -c -g -n +z -I$JAVA_HOME/include -I$JAVA_HOME/include/hp-ux -L/opt/java1.4/jre/lib/PA_RISC2.0/server -ljvm Test.c -o Test.o
    ld -b Test.o -L/opt/java1.4/jre/lib/PA_RISC2.0/server -ljvm -o Test.slMy java code is looks like this :
    void create_Jvm()
        JNIEnv * env;
        JavaVM * jvm;
        //JDK1_1InitArgs vm_args;
        /* Note : In JNI1.2 and Java2 SDK 1.4, the new structure JavaVMInitArgs has been introduced.*/
        JavaVMInitArgs vm_args;
        //JavaVMOption options[1];
        jint res;
        vm_args.nOptions = 0;
        vm_args.ignoreUnrecognized = JNI_TRUE;
        /* IMPORTANT: specify vm_args version # if you use JDK1.1.2 and beyond */
        vm_args.version = JNI_VERSION_1_4;
        //vm_args.version = JNI_VERSION_1_2;
        /*In JNI1.2 and Java2 SDK 1.4 the JNI_GetDefaultJavaVMInitArgs method call is not required.*/
        //JNI_GetDefaultJavaVMInitArgs( & vm_args);
        res = JNI_CreateJavaVM( &jvm, (void**)&env, &vm_args);
        if (res < 0) {
            fprintf(stderr, "Can't create Java VM\n Error is :%ld\n ", res);
            exit(1);
        iJvmInitialized = 1;
    } hi
    Check the lib path
    May be u have not included : at the end of the lib
    path that u have added
    THis was the mistake that i did
    kabilesh

  • Java learning book

    Can anyone recommend a good java programming book?
    Thanks.

    i recommend
    osborne press - java2 Complete reference
    wrox - Beginning jdk 1.5
    prentice hall - Introduction to java programming comprehensive version (if you alredy know little but about java)
    and - Java2 How to program
    theses are the extreemly good books pick any one and read cover to cover. after reading and understanding one of these books you should be able to have a strong knowledge about java.

  • Which java compiler ?

    hello all ;
    i am going to learn java programming from now on . I dont know which java GUI compiler should i use ?
    or should i use command line interpreter ?
    ANd tell me also what is the difference between Java and Java2 ?
    which one should i go for ?
    any help will be appreciated .
    Sincerely,
    zeen1

    There are tons of options for a GUI. I prefer to use Jext (www.jext.org) for writing the code and compiling using a command line, but there are many more options, some of which are sure to follow my post.
    Java 2 is equivalent to Java 1.3. Sun decided the jump from 1.2 to 1.3 was significant enough to warrant a new name (hence the 2). As with most software, the higher version just gives more features; many more classes are included. But Java 2 is basically the same language as Java.

  • Writing plug-ins for IE and Netscape on Java2

    Please, help me with some information about how to write plug-ins for IE and Netscape on Java2.

    Please always continue on a single thread and don't litter the forum with questions of the same topic
    http://forum.java.sun.com/thread.jsp?thread=511660&forum=54&message=2432223

  • Convert Image between Java2 and Microsoft Visual J++6.0

    Hello experts,
    Where describe that transforma image
    in Java2 to image in Microsoft Visual J++ 6.0.
    Please help me,thank you.
    bch Oct 20,2004

    It's hard to help you when you're being so cryptic. Isn't a jpeg file a jpeg file all the world 'round?

  • IE6 WinXP Java2 and Basic Auth

    This only happens on WinXP (Pro is what I'm using), not WinME, Win2K or Win98/Win98SE.
    When I request a page with an embedded Java applet (with applet tags) that is "protected" with Basic Auth over SSL I first enter the Basic Auth credentials (username/password) in the IE6 dialog and then a second dialog appears, a Java one, to enter the same Basic Auth credentials again.
    On Win2k/WinME/Win9x only once am I required to enter the BA credentials with the IE6 dialog.
    What's up?

    I solved the problem of the double Basic Auth sign-ins accessing a HTTPS/SSL page containing <APPLET> tags by disabling JRE 1.4 and reverting to JRE 1.3.1.
    IMHO, JRE 1.4 is seriously broken WRT SSL/<APPLET>/Basic Auth.

  • HELP: Who's using LINUX with Java2 and WLS 5.1?

    Have you experienced any problems? If so please tell me your experience.
    I am using RedHat 6.1 w/ JDK 1.2.2 (006) and WebLogic 5.1 and I am having a
    terrible time with exceptions like:
    Exception in thread "main" java.lang.VerifyError: (class: weblogic/Server,
    method: stopStatically signature: ()V) Inconsistent stack height 2 !=
    268435455
    - and -
    Exception in thread "main" java.lang.NoClassDefFoundError:
    weblogic/kernel/AuditableThread
    at java.lang.ClassLoader.defineClass0(Native Method)

    If there is no libmuxer.so in $WL_HOME/lib/linux, then the Performance
    Pack is not used.
    visor-palm John wrote:
    >
    I'm downloading Blackdown's JDK now, what is libmuxer.so?
    If Performance Pack not supported how do you prevent its use?
    Here is my command-line, can you show me yours as a comparison?
    /usr/java/bin/java -ms64m -mx64m -classpath
    ./lib/weblogic510sp5boot.jar:./classes/boot:./eval/cloudscape/lib/cloudscape
    .jar -Dweblogic.class.path=./lib/weblogic510sp5.jar:./license:./classes:./li
    b/weblogicaux.jar:./myserver/serverclasses -Dweblogic.home=. -Djava.security
    .manager -Djava.security.policy==/local1/opt/weblogic/weblogic.policy
    weblogic.Server
    ...but I get: java.lang.NoClassDefFoundError:
    weblogic/kernel/AuditableThread
    Thanks,
    John
    "Jesus M. Salvo Jr." <[email protected]> wrote in message
    news:[email protected]..
    I do for development. I suggest you give blackdown's JDK 1.2.2 FCS a
    try.
    Here's more info on my config:
    RH 6.0 --- updated to 2.2.16 kernel and glibc 2.1.3
    WLS 5.1 + SP5 + libmuxer.so (WLS linux performance pack -- unsupported)
    Blackdown JDK 1.2.2-FCS
    Apache 1.3.12 + modssl + WLS proxy
    Regards,
    John Salvo
    visor-palm John wrote:
    Have you experienced any problems? If so please tell me your
    experience.
    I am using RedHat 6.1 w/ JDK 1.2.2 (006) and WebLogic 5.1 and I amhaving a
    terrible time with exceptions like:
    Exception in thread "main" java.lang.VerifyError: (class:weblogic/Server,
    method: stopStatically signature: ()V) Inconsistent stack height 2 !=
    268435455
    - and -
    Exception in thread "main" java.lang.NoClassDefFoundError:
    weblogic/kernel/AuditableThread
    at java.lang.ClassLoader.defineClass0(Native Method)

  • Problems with clearing frame and repainting

    Hi, I'm trying to get to grips with Java 2D and as a little exercise I've set myself, i want to display a string and move it across the frame when the mouse is clicked.
    Now, it will paint the string in its new position, but the string in the old position is still there. However if I maximize/de-maximise the frame the old string displayed now disappears.
    Any ideas what might be happening here? Might it just be because of my operating system (XP), or have i missed something from my code? I would be thankful for any help.

    http://www.java2s.com/ExampleCode/CatalogExampleCode.htm

  • Retrieve data from SQL database and put into a table

    Hi all, i encountered this error while trying to create a table in 1 of my panels:
    C:\Documents and Settings\L311c01\Desktop\FYPJ Java2\RFIDLogistics.java:25:{color:#ff0000} cannot find symbol
    symbol : class ResultSetTable
    {color}location: class jdbc_bible.part2.RFIDLogistics
    private static ResultSetTable model = new ResultSetTable();
    ^
    C:\Documents and Settings\L311c01\Desktop\FYPJ Java2\RFIDLogistics.java:25: {color:#ff0000}cannot find symbol
    symbol : class ResultSetTable
    {color}location: class jdbc_bible.part2.RFIDLogistics
    private static ResultSetTable model = new ResultSetTable();
    I understand that " cannot find symbol class ResultSetTable means that i need to import something which has this ResultSetTable. I suppose my imports are sufficient and i think the error is with the package that i included.
    This package was taken from an example in a book named java database programming bible, so i assumed it is reliable and i use it for my insert statement, which had a DataInserter.
    Could someone plz help me with this? Thanks alot in advance.
    Here are the codes:
    {color:#ff0000}package jdbc_bible.part2;{color}
    import java.sql.*;
    import javax.swing.*;
    import java.util.Vector;
    import javax.swing.table.AbstractTableModel;
    import java.awt.*;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    import java.io.*;
    import java.util.*;
    import javax.swing.event.*;
    import java.awt.event.*;
    import javax.swing.border.*;
    import sun.jdbc.odbc.JdbcOdbcDriver;
    public class RFIDLogistics extends JFrame{
    //Components
    // public SimpleClock clock;
    private static JTable jt;
    private static ResultSetTable model = new ResultSetTable();
    some codes
    {color:#ff0000}try
    {{color}
    {color:#ff0000} DataInserter inserter = new DataInserter();
    String SQLCommand = "INSERT INTO " + flstr + " (Item_ID,Location_ID) VALUES ('"+Item_ID1+"','"+Location_ID1+"')";
    String SQLCommand2 = "UPDATE Location SET Item_ID = '"+Item_ID1+"' WHERE Location_ID = '"+Location_ID1+"'";
    inserter.execute(SQLCommand);
    inserter.execute(SQLCommand2);
    {color} JOptionPane.showMessageDialog(null, "Successful!");
    catch(ClassNotFoundException f)
    f.printStackTrace();
    catch(SQLException f)
    f.printStackTrace();
    some codes
    public JPanel rightPanel() {
    JPanel rightPanel = new JPanel();
    rightPanel.setLayout(new BoxLayout(rightPanel, BoxLayout.Y_AXIS));
    //Forklift title Panel
    JPanel panel6 = new JPanel();
    panel6.setBorder(new TitledBorder(""));
    panel6.setPreferredSize(new Dimension(192,33));
    panel6.add(forkliftDetails);
    //Forklift 1 Panel
    {color:#ff0000} JPanel panel7 = new JPanel();
    panel7.setBorder(new TitledBorder("Forklift 1"));
    panel7.setPreferredSize(new Dimension(192,120));{color}
    {color:#ff0000} String query = "SELECT * FROM Forklift1";
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con = DriverManager.getConnection("jdbc:odbc:RFID Logistics");
    PreparedStatement pstmt = con.prepareStatement(query);
    ResultSet rs= pstmt.executeQuery();
    // display the data in jtable
    jt = new JTable();
    model.setResultSet(rs);
    jt.setModel(model);
    catch(ClassNotFoundException sqle){
    System.out.println(sqle);
    }catch(SQLException sqle){
    System.out.println(sqle);
    panel7.add(itemDetail1);
    itemDetail1TextField.setEditable(false);
    panel7.add(itemDetail1TextField);
    panel7.add(locationDetail1);
    locationDetail1TextField.setEditable(false);
    panel7.add(locationDetail1TextField);
    panel7.add(jt);
    {color}..
    //Main Method
    public static void main(String args[]) {
    RFIDLogistics app = new RFIDLogistics();
    app.setFrame();
    app.setResizable(false);
    app.setDefaultCloseOperation(EXIT_ON_CLOSE);
    app.setSize(1024,676);
    app.setLocation(0,60);
    app.setVisible(true);
    If you would like to try if my table can extract, here are the sample codes, just change ur database name which is highlighted in green, and the table name in blue.
    Codes:
    import java.sql.*;
    import javax.swing.*;
    import java.util.Vector;
    import javax.swing.table.AbstractTableModel;
    import java.awt.*;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    import java.io.*;
    import java.util.*;
    import javax.swing.event.*;
    import java.awt.event.*;
    import javax.swing.border.*;
    import sun.jdbc.odbc.JdbcOdbcDriver;
    public class sample1{
    private static JFrame frm;
    private static JTable jt;
    private static ResultSetTable model = new ResultSetTable();
    public static void main(String args[]){
    String query = "SELECT * FROM {color:#00ccff}Forklift1{color}";
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con = DriverManager.getConnection("jdbc:odbc:{color:#00ff00}RFID Logistics{color}");
    PreparedStatement pstmt = con.prepareStatement(query);
    ResultSet rs= pstmt.executeQuery();
    // display the data in jtable
    jt = new JTable();
    model.setResultSet(rs);
    jt.setModel(model);
    frm = new JFrame("Sample");
    frm.setSize(400,400);
    frm.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frm.add(jt);
    frm.setVisible(true);
    }catch(ClassNotFoundException sqle){
    System.out.println(sqle);
    }catch(SQLException sqle){
    System.out.println(sqle);
    Could someone plz help me with this? Thanks alot in advance.

    public JTable populateTable()
      String[] colNames = new String[] {"ID","NAME","SURNAME"};
      return new JTable(getSQLData(), colNames);
    public Object[][] getSQLData()
      stmt = conn.createStatement();
      ResultSet rs = stmt.executeQuery("SELECT [ID], [NAME], [SURNAME] FROM [USERS]");
      Object[][[] out = new Object[rs.getFetchSize()][3];//Not sure on getFetchSize but it should work
      int i = 0;
      while(rs.next())
        out[0] = rs.getInt(1);
    out[i][1] = rs.getString(2);
    out[i++][2] = rs.getString(3);
    return out;
    The above code will create a JTable with the data retrieved from the DB                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • MSI KT3 Ultra-ARU error

    Hi everyone, my motherbord is giving me the 8 or 9 beep code (8 = Display memory Read/Write test failure, 9 = ROM BIOS checksum failure) guess I need a new motherbord? I have a MSI KT3 Ultra-ARU and it has Promise 20276 (raid 0 and 1) The beeping sta

  • Error while running Depreciation Run in FIXED ASSETS

    Hi All, When i am running Depreciation program for any book in FIXED ASSETS (R12.1.3), I am getting following error... FADEPR module: Depreciation Run Current system time is 19-OCT-2011 17:59:42 Depreciation Program Exception Report APP-FND-01564: OR

  • What is the maximum display resolution that the 2012 mac mini supports?

    Looking at buying the new Mac Mini, the specifications say that it has the Intel HD Graphics 4000 graphics card but no further details on the specs supported. I am interested in what the maximum display resolution supported is. Anyone know?

  • PGI reversal issue for STO Delivery

    Friends, While I am trying to reverse the PGI using VL09 for a STO delivery, I get an error " E M7 022: PU withdrawn quantity exceeded by xx Ton : Material, plant and storage location". Looked at the OSS notes but could not arrive at the correct one.

  • Computer won't start with battery in it...

    have an Aluminum 15" Powerbook G4. I have had this since 2001, when I bought it. I recently updated to OSX. I hadn't used the computer in months and when I went to try and take care of the computer and update to OS 10.4.5 I encountered a problem. Whe