Does anyone have an idea how I can simulate the ENTER key with the TAB key so that my Action Listener will be triggered when I tab from one JTF to another?
It still did not post, last of method -------------------------------------------------------- for(int i=0;i<inString_array.length;i++)> inString_array[i] = st.nextToken(); } return inString_array; }}
I am giving the processRecord method again as it did not all post ---------------------------------------------------------------- public String[] processRecord(String in) { if(in.indexOf('#') >= 0) { if(in.indexOf("FUNCTION_TYPE") >= 0) VelFmt.comments_array[0] = in; if(in.indexOf("LINEAR_UNITS") >= 0) VelFmt.comments_array[1] = in; VelFmt.comment = true; } else { StringTokenizer st = new StringTokenizer(in); inString_array = new String[st.countTokens()]; VelFmt.tokenArraySize = st.countTokens(); for(int i=0;i< inString_array.length;i++) inString_array[i] = st.nextToken(); } return inString_array; }
[This message has been edited by Marilyn deQueiroz (edited May 11, 2001).]
I have a method which takes a string and Tokenizes it and returns a string array. My problem is I can't seem to assign it to a string array when I return it. Any ideas?
I have 5 radio buttons I have added to a button group, initially they are all false. I want to reset them all to false after one run through system. The method setSelected(false) is not resetting my radio buttons to false and therefore not clearing them. Any ideas?