55 Posted Topics
Hey guys, got another question for you. I have a program that displays a new bean on my jPanel for each piece of data that it picks up from a file. I was wondering if there is an easy way to always have it display my bean to the northwest … | |
Just had a quick question about my code. Seems like a very simple solution, perhaps I'm just too sleepy to think straight. What I am wanting to do is if a certain index is selected in my combobox i want certain textfields to display which is apparent by the code: … | |
I have been having a little trouble getting my program to output the results I am wanting. At first I was having trouble with a cast exception at this line: [code]out = (ParseResult[]) ipHostsFound.toArray();[/code] The cast exception was: [code][Ljava.lang.Object; cannot be cast to [Lfilelocation.struct.ParseResult;[/code] So I ended up changing it … | |
I am reading a .Csv file and am having problems trying to get the information I want, set up the way I want. Here is where my problem comes in: [code] String[] info = beanInfo.split("," , 3); for (String str : info) { ip = info[0]; hostname = info[1]; ping … | |
Before going into the explanation I will list what I am wanting to do in order: [B][LIST] [*]Have main() read [U]results.csv[/U] and create beans according to the lines of data in the file [*]Have my beans set up correctly (getters, setters, and propertychanges) [/LIST][/B] To give you guys a quick … |
The End.