JavaFX SDK for NetBeans Samples
Screen prints from each of the JavaFX SDK for NetBeans Samples are printed below.
Download: http://java.sun.com/javafx/downloads/
Screen prints and descriptions of the Java FX Sample Programs were done by: Riley Thurston, August 1, 2008
Arctangent-Circles follow cursor
Background Image-Has Moving red line
Bounce-Game
Bouncy Bubbles-Bubbles fall to floor bouncing with eachother
Clock-Tell time with clock
Color Wheel-Displays colors
Constratin-Move cursor with circle
Displaying-Shows Image
Distance 1D-Move cursor with lines
Distance 2D-Move cursor with circles
Easing-Move cursor and circle will follow
Flocks-Tiny triangles move across the background
Linear-Moving white line
Linear Gradient-Displays Image
Milliseconds-Flashes to seconds
Mouse 1D-Squares grow larger and smaller to the cursor
Mouse 2D-Move the squares with the cursor
Mouse Press-A digital mouse, if you click your own mouse, it will show on screen
Points and Lines-Displays an image
Rotate-Moving square
Scale-Square grows and shrinks
Shape Primitives-Displays an image
Simple Particle System-Lots of falling circles
Sine-Shape expands and contracts
SineWave-Wave of circles
Smoke Particle System-Control the flow of smoke with cursor
Storing Input-Create circles with cursor that fade away
Translate-Two moving squares
Transparency-Java FX sign will follow cursor
Posted at 10:03PM Aug 04, 2008 by Stacy Thurston in Computers | Comments[0]
Teenagers Getting Started with Java
My son turned 16 a few days ago, he has done some Java programing, and JavaScript programming. JavaScript is the computer language used to make web sites highly interactive; Facebook and Google Maps use it.
For Java programming,
An excellent beginner book: Java in Easy Steps by Mike McGrath.
* I had my son do a number of programs from this book to learn the basics of programming: variable types, if and while loops, etc.
To write Java programs, my son started by using Bluejay (http://www.bluej.org/). There is a book with a description on the web site; I have not seen the book. When I looked at the description, I would stay with Java in Easy Steps.
Since I can sit with my son and help him because I am a Java programmer, I have taught him to use NetBeans(http://www.NetBeans.org). He is fine with it.NetBeans also works for JavaScript.
Recommendation,
- Use the Java in Easy Steps book to get started. After learning the basics, can move to the Bluejay book.
- If you have an experience developer use NetBeans, else use Bluejay.
- Once started with the basics of Java, have a look at the Greenfoot site, http://www.greenfoot.org/. This was recommended to me by James Gosling. It is a bit of game or scenario type learning environment for Java.
Posted at 01:11PM Jun 11, 2008 by Stacy Thurston in Computers | Comments[0]
Training Trainers in Shanghai
Shanghai, Dec.22, 3 days before Christmas, I'm training some Sun Microsystems Java trainers, and Partner trainers from Beijing and Shanghai. The class of 5 people is half good at English so I use lots of diagrams and write point form on a white board to help clarify my points. My hope is they can now work through the labs and be able to teach the one day seminar about Java EE web site Frameworks.
One of the students, 周羽 (2 from the right in class photo below), modified my struts examples to use spring. I am now analyzing his NetBeans projects for use in future teachings. His notes are below, I have added his samples to the Framework download zip file.
During lunch, a few of us went for Japanese food which was good. After the class, Lily (right most in class photo below) and I went for excellent wong tong at a tourist area. It was fun eating, shopping, and walking around. The difficult part was finding taxis because it was lightly raining and we were in busy areas which meant competition for taxis.
Click here to view all my China Trip photos.
Class photo
The First Way.
The addGameAction must be extended ActionSupport(ActionSupport is a class from Spring).
And use ApplicationContext.getBean() to get LeagueService.
I don't like this way because it's too close-coupled.
The Second Way.
The addGameAction still extend Action(Class of Struts).But add 1 attribute in addGameAction.The attribute is LeagueService.
Change the default RequestProcessor to org.springframework.web.struts.DelegatingRequestProcessor.
Then can Dependency Injection via Spring.
This way is better than first way.But it isn't the best way because it's changed default RequestProcessor in Struts.
The Third Way.
Still Inject the LeagueService via Spring.But it's no need to change the default RequestProcessor.
It's AOP.Use the Spring interceptor to intercept Action class.
In struts-config.xml,change the "
Posted at 04:06PM Jan 02, 2008 by Stacy Thurston in Computers | Comments[0]
China Sun Learning Event Dec.17-20
In Beijing, Dec.17-18, and Shanghai, Dec.19-20, Sun Microsystems is hosting a Learning Technology Event covering the following:
Java Topics: Java Architect and Design, Web 2.0, Spring Framework, GlassFish, Certification preparations
Solaris Topics: Security, ZFS, DTrace, Containers, Certification preparations
Operation Technology: Risk management, Disaster Recovery, DRP, Business Continuity
Other: Partner and employee seminars, and in Beijing, there is an exam centre
I will be teaching:
* Web 2.0 which is Ajax, CSS, JavaScript, and demo the DojoToolkit and jMaki.
*** Click here to preview course materials and demo programs.
* Developing MVC web applications using the Spring Framework.
*** Click here to preview course materials and demo programs: Modules 1,2,3,7
For details of the daily events, click on the images below.
Posted at 09:59AM Nov 28, 2007 by Stacy Thurston in Computers | Comments[0]
Download YouTube Videos and Replay the Videos From Disk
To many times I have seen my favorite graphic or media files disappear from the Internet. Following is instructions to save your favorite YouTube videos to your hard drive.
Steps:
1. Download a special player, an FLV player from http://applian.com/flvplayer/. Install it. Note, I first checked it for viruses, and there were none.
2. Download your videos. I used the site http://www.youtubecatcher.com/.
2.1 First, I went to YouTube.com to get the URL for for the video I wanted to download.
Example: http://youtube.com/watch?v=uswYdQqHC6s
2.2 Second, copy the URL into YouTubeCatcher, and click Download. Save the file to disk, and give it a file name with the extension .flv, example, jeepney.flv.
3. Play the video file you saved to disk using the FLV Player.
Posted at 12:14PM Nov 11, 2007 by Stacy Thurston in Computers | Comments[1]
Solaris Associate Seminar Course
This course is for developers and administrators new to the Solaris operating system, or those investigating it's more advanced features. The first day is an introduction to the desktop and applications that come bundled with Solaris Developer Express distribution. Day 2 is an introduction to the Solaris environment and resources. Day 2 includes UNIX commands which some are different from other flavors of UNIX such as Linux. Day 3 is advanced topics of interest to people experienced with UNIX.
Full Course Description:
Day1: Introduction the Solaris Desktop and Applications * ready for students
Day2: Introduction to the Solaris Environment * in development
Day3: Advanced Solaris Features * ready for students
Online catalog: None at this time
Solaris Certification:
Sun Certified System Administrator (SCSA),
Sun Certified Network Administrator (SCNA), and
Sun Certified Security Administrator (SCSECA)
Download the slides and demo source code from the open source project on Java.Net: Tigerfarm.
Modules for Day 1: Introduction the Solaris Desktop and Applications * ready for students
![]() |
0. Course Introduction
Slides OpenOffice document * About this course |
![]() |
Download Slides:
PDF
or OpenOffice document
Module 1 - Getting Started with the Solaris Desktop and the Firefox Internet Browser Module 2 - Configuring Desktop Preferences Module 3 - Applications Module 4 - Administration Module 5 - System Tools Module 6 - StarOffice Module 7 - Multimedia Module 8 - Play Games on Solaris |
| Filename | Day | Description |
|---|---|---|
| SolarisDay1usr-StudentFiles.zip 2megs | Day 1: User | Student Workbook to do the labs. |
| SolarisDay1usr-StudentFiles.zip 15megs | Day 1: User | Sample user files for the labs |
Modules for Day 2: Introduction to the Solaris Environment * in development
![]() |
0. Course Introduction
Slides OpenOffice document * About this course |
![]() |
1. Solaris Environment Introduction
Slides OpenOffice document * An Introduction to Computer and the Operating Environment * Solaris UNIX Commands * Basic UNIX to able to use the computer * Working with the Solaris package system: Install, configure, use, and monitoring a VNC server |
![]() |
2. OpenSolaris
Slides OpenOffice document * Introduction: Gain an insight into OpenSolaris Technology. * See how you can participate in the OpenSolaris community. * Get ideas for OpenSolaris projects |
![]() |
3. Working with Environment Resources
Slides OpenOffice document * An Introduction to performance * CPU, Memory, I/O |
| Filename | Day | Description |
|---|---|---|
| SolarisDay2env-StudentWorkbook.pdf 0.2megs | Day 2: Environment | Student Workbook to do labs. |
Modules for Day 3: Advanced Solaris Features * ready for students
![]() |
0. Course Introduction
Slides OpenOffice document * About this course |
![]() |
1. DTrace
Slides OpenOffice document * Introduction to DTrace Concepts * Overview of D-Language * Aggregation * Variables * DTrace providers * DTrace Visualization |
![]() |
2. Using ZFS on Solaris
Slides OpenOffice document * Introduction to ZFS Concepts * Data integrity model * ZFS pooled storage * Self healing data * Configuring, Saving, restoring, and Cloning |
![]() |
3. Zones and Containers
Slides OpenOffice document * Introduction to Zone Concepts * Concepts and architectures * Sun's Virtualization Spectrum |
![]() |
DTrace Reference slide - extra material
Slides OpenOffice document * DTrace for programmers: Java, C, C++, PHP, JavaScript * DTrace for database developers * Providers, other advanced topics |
Posted at 04:41PM Oct 26, 2007 by Stacy Thurston in Computers | Comments[0]

















