The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages
> Java Help
|
Need Help with class assignment(s).(horrible teacher)(need guidance)
Discuss Need Help with class assignment(s).(horrible teacher)(need guidance) in the Java Help forum on Dev Shed. Need Help with class assignment(s).(horrible teacher)(need guidance) Java Help forum discussing all Java platforms - J2ME, J2SE and J2EE - as well as relevant standards, APIs and frameworks such as Swing, Servlets, JSPs, Applets, Struts, Spring, Hibernate, ANT, EJB, and other Java-related topics.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

December 9th, 2012, 06:22 PM
|
|
Registered User
|
|
Join Date: Dec 2012
Posts: 6
Time spent in forums: 1 h 12 m 44 sec
Reputation Power: 0
|
|
|
Need Help with class assignment(s).(horrible teacher)(need guidance)
I'm currently taking a programming class and i want to go into programming as a major. But my teacher is horrible and i cant learn anything from her. for the most part i do ok. but shes going way to fast now that we started java. her method of teaching is "look it up and learn yourself, now heres some assignments"
please help me with this assignment. just point me in the right direction? or contact me privately if your really feeling nice!
the assignment:
Select a favorite book that you have read recently. Program an applet to write the title, author, and copyright date on different lines using decreasing text sizes. Title will be in the largest font, copyright in the smallest. Use color changes from one line to the next. Code must include a block header and line comments, and be highly documented. Include a picture of the cover of the book, appropriately placed and resized. Attach Word document with source code, print screen of successfully running program, and a 1 paragraph written summary (using vocabulary words) of concepts learned in this assignment.
the problem is she doesn't tell how to do this? And i don't know ware to start?
|

December 9th, 2012, 06:38 PM
|
 |
Contributing User
|
|
Join Date: Aug 2010
Location: SW Missouri
|
|
What parts of the assignment are you having problems with?
Make a list of what the code needs to do and then work on them one by one.
What is the first step?
Is this program to use Swing components? Do you know how to add components to a container. Do you know how to override methods in components?
See this tutorial for how to do drawing:
http://docs.oracle.com/javase/tutor...ting/index.html
|

December 9th, 2012, 06:43 PM
|
|
Registered User
|
|
Join Date: Dec 2012
Posts: 6
Time spent in forums: 1 h 12 m 44 sec
Reputation Power: 0
|
|
|
see that's the thing, that's what i mean when I say shes a horrible teacher. I don't know if i need to use swing or not. (as well as i barley understand swing.) and no i don't know how to add components to a container. Nor do i know how to override methods?
drawing?
I would love someone to just explain these things to me! She doesn't do that. I have heard these words tossed around before but she never told us what they meant or what they are?
|

December 9th, 2012, 06:49 PM
|
 |
Contributing User
|
|
Join Date: Aug 2010
Location: SW Missouri
|
|
|

December 9th, 2012, 06:54 PM
|
|
Registered User
|
|
Join Date: Dec 2012
Posts: 6
Time spent in forums: 1 h 12 m 44 sec
Reputation Power: 0
|
|
|
so im not just stupid? and being expected to know how to do that our first week is insane? please tell me I'm not insane? She thinks the whole class is a java expert just because 2 or 3 people already know java. I feel so intimidated and I feel like i should quit because I'm not smart enough.
|

December 9th, 2012, 06:57 PM
|
 |
Contributing User
|
|
Join Date: Aug 2010
Location: SW Missouri
|
|
|
That's a lot to understand for the first week.
|

December 9th, 2012, 07:14 PM
|
|
Registered User
|
|
Join Date: Dec 2012
Posts: 6
Time spent in forums: 1 h 12 m 44 sec
Reputation Power: 0
|
|
|
yea and we are starting week 3 and i dont even understand this. i feel like im stooping so low as to ask for help. but i have been trying to figure this one out for a few days now.
im sure i know those things, but just know the right way or exactly how to explain them, because i tought myself everything.
but how would you change the text size and font and color?(on each line)
|

December 9th, 2012, 07:18 PM
|
 |
Contributing User
|
|
Join Date: Aug 2010
Location: SW Missouri
|
|
|
You're skipping over the hardest part and asking about something really trivial.
The Graphics class has methods to control how something is drawn.
|

December 9th, 2012, 07:42 PM
|
|
Registered User
|
|
Join Date: Dec 2012
Posts: 6
Time spent in forums: 1 h 12 m 44 sec
Reputation Power: 0
|
|
|
Well I know that now. but it's my teachers fault. im just going to try and spend every waking moment of my life learning through another source (like the ones you gave me) I'm obviously not going to learn anything from her.
so im starting fresh and im using the tutorial you linked me to. im at this part:
class BicycleDemo {
public static void main(String[] args) {
// Create two different
// Bicycle objects
Bicycle bike1 = new Bicycle();
Bicycle bike2 = new Bicycle();
// Invoke methods on
// those objects
bike1.changeCadence(50);
bike1.speedUp(10);
bike1.changeGear(2);
bike1.printStates();
bike2.changeCadence(50);
bike2.speedUp(10);
bike2.changeGear(2);
bike2.changeCadence(40);
bike2.speedUp(10);
bike2.changeGear(3);
bike2.printStates();
}
}
}
but the code doesn't work? isn't Bicycle undefined or something?
|

December 9th, 2012, 07:47 PM
|
|
Registered User
|
|
Join Date: Dec 2012
Posts: 6
Time spent in forums: 1 h 12 m 44 sec
Reputation Power: 0
|
|
|
never mind i got it. i needed to make the bicycle class in the main. see i didn't know you could do that. :/
|

December 10th, 2012, 01:26 AM
|
|
Registered User
|
|
Join Date: May 2011
Location: Madgaon, Goa, India
Posts: 6
Time spent in forums: 37 m 50 sec
Reputation Power: 0
|
|
|
Cross posted (and locked) at java-forums.org
db
|

December 10th, 2012, 06:34 AM
|
 |
Daniel Schildsky
|
|
Join Date: Mar 2004
Location: KL, Malaysia.
|
|
|
be pro-active to learning programming
Instead of wasting time whining and blaming the lecturer, perhaps it would be much easier and more appropriate to convey your difficulties learning programming languages in her class by making an appointment with her, then tell her your problems.
Sometimes you may encounter lecturers who tend to make assumptions like the students in the class may have some basic programming skills in advance. So they would just expect all students to coop up the language syntax by themselves. So, if you really cannot coop with the approach she is using to teach Java programming, you must act fast, ask questions until her explanations make things clear to you.
But on the other hand, rather than relying on the lectures delivered by your lecturers or instructors, you should also have some initiative to look up and go through basic tutorials from various sources such as books from library, online tutorials, notes from senior students and so on.
If you constantly and rapidly reading up articles, tutorials and books on Java programming, you may potentially master the language itself even much faster and more advanced than your class progress.
I remembered the time when I was still a student in my 2nd year computer science course, I had read the java programming complete reference series page by page, cross checking doubted parts with other references, and finally found myself way ahead of the class progress, and was able to code with APIs that were not even covered by the course syllabus. The funny thing is, when I asked my lecturer questions on some I/O API to understand how things work, the lecturer could not even answer my questions and I had to google online to find out the answers myself.
So, from this you can see that it is all about you yourself as the learner/apprentice. The lecturers/instructors/tutors are merely facilitators to help you progress and master the knowledge covered in the class.
__________________
When the programming world turns decent, the real world will turn upside down.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|