Solutions for Java developers
04/07/09
By Jeff Friesen
JavaFX'sCustomNodeclass lets you create reusable node-based
components for your user interfaces. Because these components
aren'tskinnable, you can't change a component's appearance
and/or behavior without rewriting the component. Fortunately,
Sun has addressed this limitation by providing
thejavafx.scene.controlpackage with its two core classes:
1. TheControlclass, which subclassesCustomNode, provides the
component's model.
2. TheSkinclass provides the component's look and feel.
Because JavaFX 1.1's documentation onControlandSkinis somewhat
obtuse, I created this blog post to share some insight into
using these classes to create components
beyondjavafx.scene.control'sTextBoxclass. I'll specifically
reveal a button component in terms of itsButtonmodel
andButtonSkinlook and feel classes, and demonstrate using this
component with the textbox ...
Read more: Designing a skinnable button component
http://www.javaworld.com/community/node/2720
1. Jump into JavaFX, Part 4: The advanced APIs
http://www.networkworld.com/nljavaworldsente190628
2. Client-side Java's evolutionary leap
http://www.networkworld.com/nljavaworldsente180036
3. Client-Side Java Explorer
http://www.javaworld.com/community/blog/14572
More in JW Blogs: 5 movie quotes for software developers
http://www.javaworld.com/community/node/2752
By Dustin Marx
1. I've just sucked one year of your life away
2. The code is more what you'd call 'guidelines' than actual
rules
3. Takes a big man to admit when he's wrong. I am not a big man
4. It's not the years, honey, it's the mileage
5. I don't know, I'm making this up as I go
Find out where these quotes originated and get five more
http://www.javaworld.com/community/node/2752 1. Deadlock anti-patterns #2: Worker Aggregation
http://www.javaworld.com/community/node/2747
2. Deadlock anti-patterns #1: No Arbitration
http://www.javaworld.com/community/node/2701
3. 28 interview questions you wish you'd asked
http://www.javaworld.com/community/node/2745
4. Agile tactics: Refactoring on @Ignore
http://www.javaworld.com/community/node/2741
You've hit the tip of the iceberg: Read more in JW Blogs
http://www.javaworld.com/community/
_______________________________________________________________
This newsletter is sponsored by APC
Learn how to Sure Up your Virtual World
Download this Executive Guide - Taking Virtualization Up a Notch
- to get caught up-to-speed on virtualization issues you need to
know about. Learn how to address management, application and
security concerns as virtualization expands throughout the data
center. Read this Guide today.
http://adserver.fattail.com/redir/redirect.asp?CID=294154
_______________________________________________________________
Complimentary DNS newsletter. Sign-up today and receive the latest
DNS news and analysis. This newsletter provides deep insight into
this murky area and offers ways to understand and mitigate risk
with better management and control of your domain, email and DNS.
Sign up now at http://www.nww.com/rpgx.jsp?c=XU1PTAZ4267
_______________________________________________________________
This Newsletter Subscription Compliments of: Linuxworld.com http://www.linuxworld.com
ALSO FEATURED ON JAVAWORLD
REST for Java developers, Part 4: The future is RESTful
http://www.networkworld.com/nljavaworldsente190066
Find out why REST interfaces are foundational for emerging
architectures such as the Semantic Web. Brian Sletten takes a
big-picture view of REST, now and in the future, in this final
article in his series.
Lamport's one-time password algorithm
http://www.networkworld.com/nljavaworldsente189566
The Lamport algorithm provides an elegant scheme for generating
and applying one-time passwords, or OTP. Find out how Lamport
works, then see it in action with an OTP reference
implementation for an extensible, Java-based library.
Understanding actor concurrency, Part 2: Actors on the JVM
http://www.networkworld.com/nljavaworldsente188943
Erlang isn't the only language for implementing actor
concurrency. Find out how actors work and see them implemented
in Scala's standard library, Groovy's GParallelizer, and the
Java libraries Kilim, ActorFoundry, Actors Guild, and Jetlang
Open source Java projects: Jakarta Cactus
http://www.networkworld.com/nljavaworldsente188428
Unit-testing server-side code is famously challenging, but
Jakarta Cactus does make it easier. Learn how Cactus extends
JUnit with an in-container strategy that lets you execute test
cases for servlets, EJBs, and other server-side code. You'll
also learn how to automate your Cactus-based tests.
_______________________________________________________________
This newsletter is sponsored by APC
Learn how to Sure Up your Virtual World
Download this Executive Guide - Taking Virtualization Up a Notch
- to get caught up-to-speed on virtualization issues you need to
know about. Learn how to address management, application and
security concerns as virtualization expands throughout the data
center. Read this Guide today.
http://adserver.fattail.com/redir/redirect.asp?CID=294154
_______________________________________________________________
UPCOMING ON JAVAWORLD
-Writing good unit tests, Part 2
-Cloud-ready, multicore-friendly code, Part 2
-Introduction to Spring MVC, Part 1
Podcasts:
-Alex Miller: Talkin' about Terracotta
-Make way for Jetty: Coming of age at 12
JavaWorld's Daily Brew - Starting conversations in the Java
developer community
http://www.javaworld.com/community
_______________________________________________________________
BONUS FEATURE
Everybody says "Do more with less!" But no one tells you how. We
will and it costs nothing to find out at IT Roadmap Conference and
Expo. Coming to 10 cities in 09 including New York in February,
Denver in March, Chicago in April.
http://www.nww.com/rpgx.jsp?c=XU1PTAZ3907 Register now, attend
free.
_______________________________________________________________
May we send you a free print subscription to Network World?
You've got the technology snapshot of your choice delivered at
your fingertips each day. Now, extend your knowledge by
receiving 50 FREE issues to our print publication. Apply today
at http://www.subscribenw.com/nl2
International subscribers click here:
http://nww1.com/go/circ_promo.html
_______________________________________________________________
SUBSCRIPTION SERVICES
To make newsletter subscription changes or cancellation, please
go to:
http://www.subscribenw.com/nl/login.jsp
To change your e-mail address, go to:
http://www.subscribenw.com/nl/eclogin.jsp
Subscription questions? Contact Customer Service by replying to
this message.
This message was sent to: athenssuthakar.javaupdates@blogger.com
Please use this address when modifying your subscription.
_______________________________________________________________
For advertising information, write Susan Cardoza, Associate
Publisher Online, at: mailto:sponsorships@nwfusion.com
_______________________________________________________________
JavaWorld is a trademark or registered trademark of Sun
Microsystems, Inc. in the United States and other countries, and
is used under license by International Data Group, Inc. All
other product names and trademarks used are the trademarks of
their respective owners.
Copyright 2009 JavaWorld.
http://www.javaworld.com