kambagiri's Profile User Rating: -----

Reputation: 0 Apprentice
Active Posts:
21 (0.01 per day)
23-September 10
Profile Views:
Last Active:
User is offline May 09 2014 09:29 PM

Previous Fields

Dream Kudos:
Icon   kambagiri student

Posts I've Made

  1. In Topic: programming with java RXTX library.. Accessing the data through usb

    Posted 11 Feb 2013

    View Postfarrell2k, on 11 February 2013 - 03:17 AM, said:

    So what is the error. Please post a stack trace.

    the exception is java.lang.arrayindexoutofboundsexception:0 :: Actually it occurs as the array is declared with 0 size; as per my knowledge it should be declared as 0 since, we couldn't predict the portname so it should assign portname by default. What do you say? is there any flaw with that particular kind of declaration???
  2. In Topic: java swing code execution

    Posted 29 Jan 2013

    View PostGregBrannon, on 26 January 2013 - 11:44 AM, said:

    There could be many things going wrong in the actionPerformed() method, and we can't test them all. Write your own code, print statements, logs entries, etc., to test entry into and progress through the actionPerformed() method and the branches within.

    If this is your first jdbc program, the problem(s) will probably be in connecting to the data base, getting info from it, etc., but you should be seeing error messages if that's the case, except . . .

    Empty catch() blocks are worthless. Put something in there to indicate when errors have occurred.

    can we set position for the labels in the above program??

    I have tried with setLocation(); setBounds(new Rectangle(new Point(200, 200), lab1.getPreferedSize())); and setBounds command but couldn't get positioned according to it..
    Is there any problem without it??

    or Do i need any corrections????

My Information

Member Title:
New D.I.C Head
Age Unknown
Birthday Unknown

Contact Information

Click here to e-mail me


kambagiri has no profile comments yet. Why not say hello?