# Lab-5539: Touch your application! - Building slick, touch-enabled UIs for Java ME

Expected Duration: 100 minutes
Contacts: Karol Harezlak Lukas Hasik Brad Schmidt

Introduction | Exercise 0 | Exercise 1 | Exercise 2 | Exercise 3 | Exercise 4 | Summary
Prerequisites System Software Notations Exercises Resources Questions Last Updated: April 10, 2009 During this hands-on lab participants learn about rich UI development for Java ME based touch screen devices. This hands-on lab also explains the architecture of Rich SVG UI widgets and shows how they help speed up the process of designing slick UIs for touch screen devices. During this hands-on lab we discuss the most common scenarios for this type of UI development illustrated by source code examples as well as UI screen shots and schemas. The target audience for this session is the rapidly growing number of developers for large, Java ME based touch screen devices like the Samsung Omnia and Instinct, Nokia 5800 Xpress Music or Blackbery Storm. Attendees can take the application home in their phones at the end of the hands-on lab. The application will work on most devices that support the SVG API for J2ME (JSR226) since Rich SVG UI widgets are also supported by devices without touch screens. Copyright
    Copyright 2009 Sun Microsystems, Inc. All rights reserved. Sun, Sun Microsystems,
    the Sun logo, Solaris, Java, the Java Coffee Cup logo, JavaOne, the JavaOne logo,
    and all Solaris-based and Java-based marks and logos are trademarks or registered
    trademarks of Sun Microsystems, Inc. in the United States and other countries.
### Prerequisites This hands-on lab assumes you have some basic knowledge of, or programming experience in, the following technologies: Java™ language programming MIDP/CLDC development XML (Extensible Markup Language) SVG (Scalable Vector Graphics) ### System Requirements Supported Operating Systems: Windows XP or Vista Memory requirement: 1 GB Disk space requirement: 750 MB (1 GB recommended) ### Software Needed For This Lab The following software should be installed to participate in this lab excercise. If you have any questions about installation, please feel free to send questions to the lab forum mentioned below, or see the NetBeans Installation Instructions for more detailed information. NetBeans IDE 6.7 with Java ME (Beta or more recent) JDK 5.0 Update 16 or JDK 6.0 Update 11 or more recent >The Sun Java Wireless Toolkit for CLDC/MIDP 2.52 (included in the NetBeans 6.7 installer) ### Notations Used in This Documentation The lab machines are running Windows XP or Vista The following source code editors are provided on the lab machines NetBeans IDE with Java ME (either click NetBeans IDE icon or type netbeans in a terminal window) ### Lab Exercises Exercise 0: Install and configure the lab environment Exercise 1: Get in touch the SVG Composer in NetBeans Mobility Exercise 2: Create an application with SVG Rich Components Exercise 3: Application logic: Dynamic behavior of SVG widgets Exercise 4: Running the application using a touch enabled device emulator ### Additional Resources SVG Rich Components - References Netbeans Mobile Application Tutorials Rich SVG UI Application Using SVG Rich UI Components ### Where To Go For Help You can send technical questions via email to the authors of this Hands-on lab or you can send your questions to the public users alias: users@mobilty.netbeans.org For general questions and feedback on JavaOne Hands-On Labs, please mail: j1labs2009@sun.com Back to top To exercises | ### Related Resources Java SE for Business Compatibility Performance Security Mobility Timezone Updates ##### Related Downloads XML and Web Services Java Media Framework ##### Popular Topics JDK 6 Adoption Guide Java Platform Migration Guide Garbage Collection Tuning Troubleshooting Java SE ##### Sun Resources BigAdmin (sysadmin resources) Sun Web Learning Center Java Training ##### Related Sites java.com java.net NetBeans Java EE SDK OpenJDK Project Open-Source Java Project ### Getting Started? New to Java Center Java Tutorial: Getting Started Tutorials Java SE Training