Lecture 20 | Programming Methodology (Stanford)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
33,113
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 introduces a new topic "GUI" or Graphical User Interface.

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, 4 dislikes

Link to this comment:

Share to:

Top Comments

  • for those who have difficulties in adding acm libraries should do:

    -Right click on your project folder in the package explorer

    -Choose "properties" at the bottom

    -Choose "Java Build Path" and the "Libraries" tab there

    -Click "Add External JARs..."

    -Find where you saved the jar file and choose it

  • this is a special acm library and not the regular acm. proceed with caution. i learned this the hard way. this is a classroom novice version of java, specially formatted thanks to the help of their 'special' acm library. e.g he says the components will show up in the order in which they are added. this is not true in all layouts. this is only true in layouts like Boxlayout. in flowlayout you could end up putting all your components on top of eachother which is not good.

see all

All Comments (23)

Sign In or Sign Up now to post a comment!
  • Great lecture for simply having a full program explained from beginning to end. Tip: copy and paste the code into Eclipse first and play around with it before the lecture. (don't forget the GFace class.) The code is available as a handout under lecture 21 on the Stanford website. interactors-examples.pdf Print out the PDF to follow it as he goes through it and then watch the lecture twice. Great way to get to grips with the coding. Thank you Stanford!

  • @chattychar

    same problem here with eclipse in both windows/linux

  • Hard to understand because of the poor sound quality.

  • this is not working for me. all i get is the applet window with the button and the console window in the center like it is supposed to ...but when i press the button nothing happens. i imported all the packages including the acm.program jar file and I am using the 1.7 JDK. it is typed out exactly like his. I am using the stanford eclipse version helios.

  • @meesternadim You just want to have add(GObject) :P Hopefully that helped your 2 month old project..

  • @zfjquery half?

  • i geet these 2 errors:

    The method add(Component, int) in the type Container is not applicable for the arguments (GObject, int, int)

    and:

    The method add(Component, int) in the type Container is not applicable for the arguments (GObject, int, int)

    How do i solve it?

  • When i run the program, the appearing window is very small, when i enlarge it, the buttons disapear, how can i solve it and is there a way to start the application in the center of the screen and bigger?

Loading...

Alert icon
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