|
Java Tutorial |
SwingThese pages make up the course notes for my Java programming course (run at Dallam, Milnthorpe, Cumbria). Hopefully they also make a useful self-learning tutorial. Swing is the name given to the Graphical User Interface elements of Java (I have no idea why, the web may offer some clues). Until this point we have mainly been running our programs in the IDE or from the command line however we used a little bit of Swing in the InputPopup? class. A Graphical User Interface (normally abreviated to GUI - pronounced "goo-ey") is what we are all used to using with most modern computer operating systems, where we have windows and a mouse and we can have several windows open at once to do different things. It is worth mentioning here that a lot of Java applications now don't use Swing at all, they use a Web Browser as the user interface (this is true of other programming platforms as well as Java). The reason that I mention this is that if you are learning Java for Career reasons your efforts may be best directed elsewhere in the vast landscape that Java has become. That said there are still a lot of applicatins written with the Java GUI classes (the Eclipse browser is one, OpenOffice? is another). So let's dive straight in and create a GUI for our Bookmark editor. This work is Copyright Chris Hunter 2007, you may use it for non-commercial purposes |