amadanart.blogspot.com
Art for Art's Sake: November 2009
http://amadanart.blogspot.com/2009_11_01_archive.html
Art for Art's Sake. Wednesday, 4 November 2009. Chunk 85 - Advanced Buttons 2 (Part 5). In the final section of Advanced Buttons 2 we will add tooltip functionality to our button class. First we need to add an instance variable to our button class in which we can hold the text of the tooltip, and we will also add a couple of instance variables to help us with the timing of the tooltip display. The constructor method will have to be changed to set the initial values for these instance. Check if the mouse ...
amadanart.blogspot.com
Art for Art's Sake: A book buyer's tale ...
http://amadanart.blogspot.com/2008/11/book-buyers-tale.html
Art for Art's Sake. Tuesday, 4 November 2008. A book buyer's tale . I have just received an email from Waterstones and they too are out of stock and will have to place another order with the publishers …. This book must be in demand for some reason! Subscribe to: Post Comments (Atom). View my complete profile. A book buyers tale . Im back at work. Darrel Ince Mass Writing Blog.
amadanart.blogspot.com
Art for Art's Sake: Rotating Blocks
http://amadanart.blogspot.com/2008/11/rotating-blocks.html
Art for Art's Sake. Thursday, 13 November 2008. Still waiting for my book to arrive, but in the mean time I have been busy reading the information on the Processing Web Site. I was recently discussing this project with a friend, and he suggested I may be interested in some computer generated art he had seen recently on the Krazydad blog. And one particular piece. Inspired me to write my first Processing code showing some Rotating Blocks. Each column of blocks rotates at a different rate with the centre.
amadanart.blogspot.com
Art for Art's Sake: Chunk 85 - Advanced Buttons 2 (Part 1)
http://amadanart.blogspot.com/2009/05/chunk-85-advanced-buttons-2-part-1.html
Art for Art's Sake. Thursday, 7 May 2009. Chunk 85 - Advanced Buttons 2 (Part 1). Before we start the development, however, a quick recap on the purpose of a class would be useful. This class can then be copied and reused in every processing application where we need buttons without having to develop the same functionality again, which gives us more time on the exciting bits! Definition of a Button class that will allow us to. Create and use buttons within our processing code. Int btnWidth; / Button Width.
amadanart.blogspot.com
Art for Art's Sake: Chunk 85 - Advanced Buttons 2 (Part 4)
http://amadanart.blogspot.com/2009/11/chunk-85-advanced-buttons-2-part-4.html
Art for Art's Sake. Wednesday, 4 November 2009. Chunk 85 - Advanced Buttons 2 (Part 4). For a button to be useful in an application it must perform some action when chosen by a user, and therefore we need some method of determining if the mouse pointer is currently over a button. Add the following method to the button class, to determine, for a button instance, if the mouse is currently over the area if occupies. Check if the mouse is currently positioned over the button. Private boolean isMouseOver() {.
amadanart.blogspot.com
Art for Art's Sake: Chunk 85 - Advanced Buttons 2 (Part 2)
http://amadanart.blogspot.com/2009/05/chunk-85-advanced-buttons-2-part-2.html
Art for Art's Sake. Friday, 8 May 2009. Chunk 85 - Advanced Buttons 2 (Part 2). Let’s start by adding the ability to change the colour of a button, and to give the button a label so that anyone using our application knows the purpose of the button. We will need to add two more instance properties, under the ones for position and size, in order to store details of the colour and button text. Button Position and Size Properties. Int btnTopX; / Button Top X Coordinate. Int btnTopY; / Button Top Y Coordinate.
amadanart.blogspot.com
Art for Art's Sake: Chunk 85 - Advanced Buttons 2 (Part 3)
http://amadanart.blogspot.com/2009/11/chunk-85-advanced-buttons-2-part-3.html
Art for Art's Sake. Wednesday, 4 November 2009. Chunk 85 - Advanced Buttons 2 (Part 3). Now we have the ability to create buttons of any size, set the colour and the text of the button, but in many applications buttons do not have text, they use images or icons to convey their purpose. So now we will add the ability to define buttons that use images. We need to add new instance variables to hold the name of the image to be shown on the standard button. PImage btnImage; / Button Image. Set the Button Image.
amadanart.blogspot.com
Art for Art's Sake: November 2008
http://amadanart.blogspot.com/2008_11_01_archive.html
Art for Art's Sake. Thursday, 13 November 2008. Still waiting for my book to arrive, but in the mean time I have been busy reading the information on the Processing Web Site. I was recently discussing this project with a friend, and he suggested I may be interested in some computer generated art he had seen recently on the Krazydad blog. And one particular piece. Inspired me to write my first Processing code showing some Rotating Blocks. Each column of blocks rotates at a different rate with the centre.
jssmasswriting.blogspot.com
Jannetta's Mass Writing Blog: October 2008
http://jssmasswriting.blogspot.com/2008_10_01_archive.html
Jannetta's Mass Writing Blog. Thursday, October 30, 2008. Displaying Java code fragments. I noticed that a few people have tried various things to display code fragments in a nice way within the blog. This does seem to be a bit of a problem. I have found the following solution which could perhaps be refined somewhat, but in the meantime would at least provide an acceptable solution. This is what I managed to get using the program:. Step by step, here is what I have done:. Java2Html allows you to either c...
amadanart.blogspot.com
Art for Art's Sake: May 2009
http://amadanart.blogspot.com/2009_05_01_archive.html
Art for Art's Sake. Friday, 8 May 2009. Chunk 85 - Advanced Buttons 2 (Part 2). Let’s start by adding the ability to change the colour of a button, and to give the button a label so that anyone using our application knows the purpose of the button. We will need to add two more instance properties, under the ones for position and size, in order to store details of the colour and button text. Button Position and Size Properties. Int btnTopX; / Button Top X Coordinate. Int btnTopY; / Button Top Y Coordinate.