Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Lecture 21 | Programming Methodology (Stanford)

Loading...

Sign in or sign up now!
23,421
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 2, 2008

Lecture by Professor Mehran Sahami for the Stanford Computer Science Department (CS106A). Professor Sahami continues lecturing on interactions and pushes it further.

CS106A is an Introduction to the engineering of computer applications emphasizing modern software engineering principles: object-oriented design, decomposition, encapsulation, abstraction, and testing. Uses the Java programming language. Emphasis is on good programming style and the built-in facilities of the Java language.

Complete Playlist for the Course:
http://www.youtube.com/view_play_list?p=84A56BC7F4A1F852

CS106A at Stanford Unversity:
http://www.stanford.edu/class/cs106a/

Stanford Center for Professional Development:
http://scpd.stanford.edu/

Stanford University:
http://www.stanford.edu

Stanford University Channel on YouTube:
http://www.youtube.com/stanford

Category:

Education

Tags:

Download this video

LICENSE: Creative Commons (Attribution-Noncommercial-No Derivative Works).

For more information about this license, please read: http://creativecommons.org/licenses/by-nc-nd/3.0/.

High-quality MP4 Learn more

  • likes, 1 dislikes

Link to this comment:

Share to:

Top Comments

  • Very good lecture

    I learn a lot of it..

  • excellent

see all

All Comments (26)

Sign In or Sign Up now to post a comment!
  • @grunder20

    Sure is

  • This is Java language right??

  • where could we find this book of yours?

    name and author at least

  • @ishengoma5 thanx a lot bro....it was very helpful thanx

    can u plz refer some material for learning the graphical user interface part.......

  • @anshul20081 /*

    import java.awt.*;

    import java.awt.event.*;

    import acm.program.*;

    import javax.swing.*;

    public class TextFieldExample extends ConsoleProgram { Container Panel; public void init() {

    setFont("Courier-24"); tf = new JTextField(10); Panel = getContentPane(); Panel.add(new JLabel("Name")); add(new JLabel("Name"), SOUTH); Panel.add(tf); add(tf, SOUTH);

    tf.addActionListener(this); } same actionPerformed method here }

  • @ishengoma5 still not wprking bro can you paste the code plz

    dont know where i am stuck think there is something wrong with the java packages.....

  • First include "import java.awt.Container;" with the other imports. After the class (before the init method) put this statement "Container Panel;". Inside the init method add the statements "Panel = getContentPane(); Panel.add(tf);". That's it!

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more