Event driven programming is a way of writing a program that works by responding to things happening (rather than executing a preplanned series of tasks). It is most often used to manage more advanced user interactions, such as GUI programs. In this session we look at how event driven programming works in Java GUIs, as both an introduction to events (using MouseListeners), and also to the way that GUI programs are constructed.
In the example code you can see that when the remove(Object o) method is called the Integer is not cast to an int and the matching is done using the object's .equals() method rather than using ==
In this lecture we look at key concepts in Java: how to write, compile and run Java programs, define a simple class, create a main method, and use if/else structures to define behaviour.
In this lecture we describe the structure of the Programming Principles course at Southampton, look at the definitions and paradigms of programming, and take a look ahead to the key things that we will be covering in the weeks ahead.
An introduction to Vim and why I use it. This resource is the precursor to a technical walk through and code along using vim.
During the talk I handed round a cheat sheet for vim which can be found at http://www.tuxfiles.org/linuxhelp/vimcheat.html
You can find full documentation and a lot more indepth examples in the vim documentation: http://vimdoc.sourceforge.net/htmldoc/help.html
This list was generated on Wed Jan 15 19:01:05 2025 UTC.