The way they are teaching you Java is very, very stupid. The way your TutorUI class works is a reasonably advanced application of object-oriented programming, and you'd be better-served by learning the principles of OOP first and then why TutorUI is designed the way it is.
Announcement
Collapse
No announcement yet.
Programming question
Collapse
X
-
Yep, you're absolutely right kuci. What you're suggesting is what every single other person has suggested and has said about this assignment. I MUST use the multidimensional array, and I thought from the beginning that this was overcomplicated for a fricken introductory programming course. Not only that, but there is nothing in my study materials that even remotely comes close to what they are doing here. To top it all off, the course "mentor" who is basically the person that oversees the course won't answer questions. She only responds in 2 line responses and refers you to the book which btw totally sucks. I've had to search all over the internet for my answers and I couldn't find them, which is why I ended up posting here. Here, I'm just going to post the entire task so you can see what it is that I have to do. Is there any way then to set up this multidimensional array to only create rows as it needs them?Last edited by DriXnaK; October 27, 2010, 11:03.
Comment
-
I quite like Java, from a language standpoint. It's great for writing console apps, web apps, etc.
C# is still far better."The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
Ben Kenobi: "That means I'm doing something right. "
Comment
-
Just out of curiosity, how many semesters are allocated to this :
As a competent programmer, your understanding of control structures, your ability to design and develop algorithms, and your proficient use of data structures will help you to design and develop applications to meet customer requirements.With or without religion, you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion.
Steven Weinberg
Comment
-
C++, C#, and Python are actually the 3 languages I want to learn. I ****ing hate Java. It wouldn't be so bad either if they at least provided me with some examples that are at least remotely related to what I'm doing here. This multidimensional array is just uncalled for though. I feel like they went out of their way to try and make this thing overly complicated.
BlackCat: I've had about 5 days of learning. This is an introductory course. I actually feel pretty good since I can do most the stuff on that list, but this multidimensional array and some of the button action issues in terms of how they relate to each other and interact is hard for me. If I had some examples and some tutorials I could do this just fine. I built the GUI in 5min using a tutorial on the netbeans IDE website and immediately jumped into writing button functionality.
Comment
-
Err, don't even bother to take up C++, C#, Python or for that sake VB before you can handle multidimensional arrays.With or without religion, you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion.
Steven Weinberg
Comment
-
I know how to create a multidimensional array. I know what they are and how they work. What I don't know how to do is taking it from a textfield as an object and then putting it into a multidimensional array. Basically what I've learned so far is each piece. They say "this is a multidimensional array" and then give a really simple example of it. Then they move on to the next piece. It's like taking some bricks, some cement, and some wood and then telling me to build a house out of it. I know what each piece is, but getting them all to work together in the way they want is much harder.
Comment
-
Knowing how to build the house is what's called experience
It sounds like your books sucks immensely if you can't find the answers there. Maybe this can help a bit :
With or without religion, you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion.
Steven Weinberg
Comment
-
The book I'm using is called Big Java third edition. You can download it if you want to take a look at it, that's how I got mine. It's from 2007 I think. Also, that link is much clearer and much more to the point. From what I have read so far am I correct in understanding that there is no way to have an undefined first parameter in the array? Which would explain why everyone first asks if I must use a multidimensional array. I went ahead and set it to 5 and just said **** it so I can move on to writing the calculations and other stuff they want. If they don't like it they can tell me later.
Comment
-
I could use pages on what has become obsolete in those 25 years I have been in the business - consider this as a lesson of your future
With or without religion, you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion.
Steven Weinberg
Comment
-
Yes, but you would think for a college course they'd use stuff that's more applicable. Not only that, but you'd think they'd just use a better system period for what they're doing. Where are the examples and tutorials for the task they want? This is only task 1 of 2 by the way. I have to do another task beyond this yet. The course is very introductory and does just the basics really, and then they make a task that obviously goes beyond the basics. That would be fine if they provided me with information, or maybe the instructor got off her fat ass and actually answered some questions. Otherwise though, I pretty much was flying blind.
Comment
-
Originally posted by BlackCat View PostI could use pages on what has become obsolete in those 25 years I have been in the business - consider this as a lesson of your future
If there is no sound in space, how come you can hear the lasers?
){ :|:& };:
Comment
-
@DriXnaK Well, the real problem is what I asked about in post #19With or without religion, you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion.
Steven Weinberg
Comment
Comment