Mike Johns

Greenhorn
+ Follow
since Mar 01, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mike Johns

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?
22 years ago
Thanks Cindy, that was it! I really appreciate your help

Thanks for the tip Frank
22 years ago
I typed the for statement 3 times, just assume I am filling the inString_array
22 years ago
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; }}
22 years ago
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).]
22 years ago
The processRecord method returns a String array
// Record.java

[This message has been edited by Cindy Glass (edited May 11, 2001).]
22 years ago
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?
22 years ago
Glen,
It may be a hack, but it works!
Thanks,
Mike
23 years ago
The problem is CheckboxGroup will not let me add a JRadioButton. Do you know of anything that will work will JRadioButton?
Thanks for trying
23 years ago
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?
23 years ago