Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

2 Visitor Messages

  1. View Conversation
    hi raven thnx a lot...ur suggestion solved my problem. thanks a ton.

    nd plz can u tell me the complexity of this code??


    try{
    ReadExcel test = new ReadExcel();
    test.setInputFile("C:/Users/PRIYA/Documents/NetBeansProjects/JavaApplication2/src/dbscan/Input.xls");

    corrdinatMap= (HashMap)test.read();
    System.out.println(">>>1");

    if(corrdinatMap.containsKey("xCordinat"))
    xAxis=(ArrayList)corrdinatMap.get("xCordinat");
    if(corrdinatMap.containsKey("yCordinat"))
    yAxis=(ArrayList)corrdinatMap.get("yCordinat");

    System.out.println(">>>2");

    xX = (Object[]) xAxis.toArray();
    yY = (Object[]) yAxis.toArray();

    System.out.println(">>>3");

    if(xX.length > yY.length)
    loopCount=xX.length;
    else
    loopCount=yY.length;


    Class.forName("oracle.jdbc.driver.OracleDriver");
    user="system";
    password="priya";
    URL="jdbc:oracle:thin:@localhost:1521:XE";
    }
    catch(Exception e){System.out.println("Exception>>1>>>"+e);}

    for(int loop=0;loop< loopCount;loop++)
    {
    try{
    tfx.setText(xX[loop].toString());
    tfy.setText(yY[loop].toString());

    x1 = Integer.parseInt(tfx.getText());
    y1 = Integer.parseInt(tfy.getText());
    System.out.println("aadPoints1>>>>"+x1+", "+y1);
  2. View Conversation
    raven plz have a look at my post if u can. I want to store my cordinates in database and thn i need my eclipse to pick up points froms datbase.
Showing Visitor Messages 1 to 2 of 2
About Raven123

Basic Information

About Raven123
Java Skill Level:
Intermediate

Statistics


Total Posts
Total Posts
8
Posts Per Day
0.00
Visitor Messages
Total Messages
2
Most Recent Message
April 18th, 2013 12:47 PM
Total Thanks
Total Thanks
0
  • Thanked 1 Time in 1 Post
General Information
Last Activity
January 14th, 2013 11:09 PM
Join Date
December 6th, 2012