Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
 
For 2023 (and 2024 ...) - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))
Computer Graphics is fun - even if Java Applets are Old Hat

Applets - small applications which include a Graphic User Interface in them - are where Java started ... but they didn't grow as much as other uses of Java and these days they're something of a specialist interest - great for some Intranet applications, but not so common / practical on applications that will reach a wider Internet audience. The reasons are (a) that people don't like risking the download of a JVM to run in their browser (though it is just as safe as ActiveX and / or Flash) and (b) because of those other two technologies that I just mentioned; Flash is rather good, and ActiveX has achieved a prominent position with help in various ways like being shipped as standard with common operating systems / browsers.

So a course that "majors" on Applets is either very old ... or very specialised.

But graphics is such fun! And if encourages on a Java course, I'll overview how to use Java within an applet, and pull up some code sample. I've a handful of recent ones, and a whole library of history.

This example shows the basics - a couple of buttons, and something happens (lines drawn, numbers added) when the mouse button is clicked. See the HTML frame that you'll need [here] and the java applet source [here]


And this is quite a sophisticated (but simple) demonstration of double buffering in Java - you can drag the corners of the box around and the shapes around the outside willall change to reflect this. In order to avoid a flickering display, the new graphic is always generated in the background, and the copied en masse to the frame buffer that's being displayed.


My background is computer graphics - I love playing with this sort of thing, so please ask me if you want to learn about Graphics in Java, or Python, or PHP, or Lua ... you'll find examples of all sorts of things on the site!
(written 2010-11-13)

 
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
Q913 - Object Orientation and General technical topics - Computer Graphics Principles
  [2245] Client side (Applet) and Server side (Servlet) Graphics in Java - (2009-06-17)
  [2633] Why do I teach niche skills rather than mainstream? - (2010-02-13)
  [2758] But what will you DO with all those pictures? - (2010-05-09)
  [2992] Matplotlib - graphing in Python - teaching examples - (2010-10-10)
  [3148] OpenGL / C / C++ - an example to get you started - (2011-01-26)
  [3211] Computer Graphics in PHP - World (incoming data) to Pixel (screen) conversion - (2011-03-24)
  [3261] Scalable Vector Graphics - easy, low bandwidth, high resolution, dynamic. - (2011-04-23)
  [3262] Some SVG Elements, pixel and percent positioning - (2011-04-24)

J802 - Java - Abstract Windowing Toolkit
  [1325] Java - Client side applet applications as well as server side - (2007-08-29)
  [2649] Length, size or capacity in Java? - (2010-02-24)
  [2654] Java - from applets to servlets. JSPs and more - (2010-02-27)

J711 - Java in the Web Page
  [2036] Java Tag Libraries / how they work / Tomcat Deployment - (2009-02-11)


Back to
String handling - from first steps to practical examples
Previous and next
or
Horse's mouth home
Forward to
Views of Melksham - November 2010
Some other Articles
Make - automating the commands for building and installing
Getting your C++ program to run
Positively reforming the system - could it be done?
Views of Melksham - November 2010
Computer Graphics is fun - even if Java Applets are Old Hat
String handling - from first steps to practical examples
What is a universal superclass? Java / Perl / Python / Other OO languages
Java Beans, tag libraries and JSPs - what and why.
After Course Resources - do we publish sample answers. Example from Java Exceptions module.
Changing a Servlet - more that just editing and compiling
4759 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2024: 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/mouth/3049_Com ... d-Hat.html • PAGE BUILT: Sun Oct 11 16:07:41 2020 • BUILD SYSTEM: JelliaJamb