User Profile

Collapse

Profile Sidebar

Collapse
bashanmu
bashanmu
Last Activity: Nov 14 '06, 04:32 AM
Joined: Sep 26 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • bashanmu
    started a topic Reg..FocusLost event
    in Java

    Reg..FocusLost event

    Hi,
    i have text field with min.value = 1 & max.value = 100. whenever i give out of range value and click on anywhere in the form, its throing the error "Out of range". It's perfectly ok. but if i click on cancel button, it throws the same error. for me it should not popup. b'cz the purpose of clicking the cancel is to exit from the form. but it is not allowing me to exit.
    the code is

    focusLost( FocusEvent...
    See more | Go to post

  • bashanmu
    replied to How to Compile java files in windows
    in Java
    java files in different folder..thats y i need a solution...
    See more | Go to post

    Leave a comment:


  • bashanmu
    started a topic How to Compile java files in windows
    in Java

    How to Compile java files in windows

    hai,
    i have lot of java files, but i need to compile in windows. there is file "build.bat" , which will start executing all files. but i need a way to compile these java files using bat file.

    Thanks..
    Babu Shanmugham
    See more | Go to post

  • bashanmu
    started a topic Sorting of Date and Time
    in Java

    Sorting of Date and Time

    Hi,
    Can anyone tell how to sort the following

    11:06:58 PDT Mon Sep 18 2006
    11:07:40 PDT Tue Sep 19 2006
    11:08:06 PDT Mon Sep 18 2006
    11:13:25 PDT Tue Sep 19 2006
    11:16:10 PDT Thu Sep 21 2006
    12:03:08 PDT Thu Sep 21 2006

    Thanks..
    Babu Shanmugham
    See more | Go to post

  • bashanmu
    replied to How to Sort the following
    in Java
    Hi here is the code...give me the alternative...h ave a look at compare method, the r comparing the strings.
    sort( int col, boolean asc )
    {
    curntcol = col;
    curntcolsort = asc;
    heapsort( col, asc );
    }
    heapSort( int col, boolean asc, int count ) {
    build( col, asc, count );
    for ( int node = count - 1; node > 0; node-- )
    {
    ...
    See more | Go to post

    Leave a comment:


  • bashanmu
    started a topic How to Sort the following
    in Java

    How to Sort the following

    Hi,
    Can anyone give me a solution for the following..

    abc0/1/0/1
    abc0/1/0/3
    abc0/1/0/2
    abc0/1/0/4
    ..
    .
    .
    .abc0/1/0/9
    abc0/1/0/10

    don't think that its already sorted..assume these are values to be sorted.
    i gone for sorting where objects are compared, while doing so it is sorted as follows

    abc0/1/0/1
    abc0/1/0/10
    abc0/1/0/2...
    See more | Go to post

  • How to check whether the thread had been stopped or not

    Hi,
    I am trying to connect a device through a port. while making an attempt, i am going for the following commands

    synchronized(th is)
    {
    this.wait(10000 )
    }
    .
    .
    .
    if (!xyz.isConnect ed())
    {
    String error = "Connection error: Unable to connect host";
    xyz.displayErro rOnTerminal(err or);
    }

    the problem is the connection is not made within...
    See more | Go to post

  • bashanmu
    started a topic Class Cast Exception
    in Java

    Class Cast Exception

    i am experiencing the class cast exception for the following code
    Long index = new Long(-1);
    .
    .
    .
    .
    index=(Long)rec ord.getAttribut e(some constant name);

    Explanation:
    i have a text field whare i can enter values from 0 to 4294967295. the datatype given is UnsignedInt. i have also tested what object it is returning by using
    String stest = record.getAttri bute(some constant name);...
    See more | Go to post
No activity results to display
Show More
Working...