centerline's Profile
Reputation: 4
Apprentice
- Group:
- Active Members
- Active Posts:
- 51 (0.05 per day)
- Joined:
- 17-October 10
- Profile Views:
- 1,616
- Last Active:
Sep 12 2012 06:00 PM- Currently:
- Offline
Previous Fields
- Country:
- Who Cares
- OS Preference:
- Windows
- Favorite Browser:
- FireFox
- Favorite Processor:
- Who Cares
- Favorite Gaming Platform:
- XBox
- Your Car:
- Volkswagen
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: finding a cirlce contained in a rectangle
Posted 12 Sep 2012
-
In Topic: Excel cells
Posted 12 Sep 2012
pbl, again, new to using Excel and Java. when trying to use "cell, rows, column..ect" I have researched (and tried going around these libraries with little luck):
import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFRow; import org.apache.poi.hssf.usermodel.HSSFSheet; import org.apache.poi.hssf.usermodel.HSSFWorkbook;
3rd party libraries for trying to do things as in:
Iterator rows = sheet.rowIterator(); while (rows.hasNext()) { HSSFRow row = (HSSFRow) rows.next(); Iterator cells = row.cellIterator(); List<HSSFCell> data = new ArrayList<HSSFCell>(); while (cells.hasNext()) { HSSFCell cell = (HSSFCell) cells.next(); data.add(cell); } sheetData.add(data);
But not sure how to pass single values into single cells. (3rd party libraries or not) -
In Topic: arrayList to a datasource issue
Posted 19 Nov 2011
smohd, on 19 November 2011 - 07:03 PM, said:Parallel arrays is not a good OO programming practice and is not advised. If you need to have different strings for fname and lname, then you better have a person class that has fname and lname as its instance variables. Then you can get a person and have its full name by getting the first and last name, this is a good approach to go for good Object Oriented Practices
Thanks..makes since. Just make a person class and make class var.s and getFunction to call?, Would imagine. Been out of school a bit and WAY rusty on VB. - So I can load the arrayList after calling for the first name, last name...and concant the all together then load a arrayList with the concatenation of them all? -
In Topic: arrayList to a datasource issue
Posted 19 Nov 2011
Well it opens up as
Jon
Jane
Marko
Polo
in my browser. And that's fine. But to add another arrayList for lastName so it's
Jon Doe
Jane Doe
Marko (something)
Polo (whatever)
is what I'm after. Not
Jon
Doe
Jane
Doe...and so on. So how to "add", "append", "contaminate" these so I can populate the dataList correct is my goal. Hope I have cleared it up a bit. And ty for your response. -
In Topic: Hotter job market: Java or C++
Posted 20 Jul 2011
Thanks coders for all your advice and general interest. I have decided that this Associate degree without a intern or any prof. experience is not getting me anywhere..just to jump straight into earning my BS. So I have decided to take the software engineering (seeing that I enjoy C++ the most). I could not land anything with AS degree, and everyone around my area wanted ASP.NET/PHP and such. Not that that is a bad language..just not for my liking. -> So as it turns out, I have eventually answered my own question. But again, thank you all for all your input and advice.
My Information
- Member Title:
- D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
-
- Location:
- x
- Interests:
- programming, gaming,
- Programming Languages:
- C++, Java, VB.net
Contact Information
- E-mail:
- Private
|
|


Find Topics
Find Posts
View Reputation Given

|
Comments
centerline has no profile comments yet. Why not say hello?