Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

  Tutorial: Make Your Swing App Go Native, Part 1

Make Your Swing App Go Native, Part 1 Java applications, in particular those written with the Swing toolkit, have a reputation for feeling clunky and out of place, as if they don\'t belong on your computer. Often your users can\'t put their finger on wha

Tutorial Details:

What is a Native-Feeling Application?
Now first let\'s talk about what it means to feel native. A simple explanation would be that the user can\'t tell the difference between your Swing application and a native one. But that doesn\'t tell us the whole story. Like good photography, feeling native isn\'t really about doing anything. It\'s about not doing a whole bunch of things. Not being slow, not having widgets that look different, not requiring special installation procedures. In general, it\'s about not feeling any different than any other application. This includes key combos, menu placement, icons, packaging, and the correct terminology (Quit vs. Exit, Preferences vs. Options, etc.). It means all of the little details that have nothing to do with what the program actually does, but affects how the program feels. And this makes a huge difference to the users.
Most users have a favorite platform and pre-existing expectations about what buttons go where, which actions are associated with various keyboard accelerators, and hundred of other UI niceties that they take for granted. Although you can create a cross-platform application that is as simple to use and as reliable as a native application, your application is more likely to be adopted by end users if its UI meets their expectations. You will need to consider the expectations of users on each of your target platforms.


 

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
Make Your Swing App Go Native, Part 1

View Tutorial:
Make Your Swing App Go Native, Part 1

Related Tutorials:

How to drag and drop with Java 2 - JavaWorld - March 1999
How to drag and drop with Java 2 - JavaWorld - March 1999
 
Programming Java threads in the real world, Part 6 - JavaWorld - March 1999
Programming Java threads in the real world, Part 6 - JavaWorld - March 1999
 
Start customizing Swing's editor pane -- patch the Swing HTMLEditorKit - JavaWorld - January 1999
Start customizing Swing's editor pane -- patch the Swing HTMLEditorKit - JavaWorld - January 1999
 
Java Tip 72: Press Escape to close your Swing dialog windows
Java Tip 72: Press Escape to close your Swing dialog windows
 
What's new in Java Servlet API 2.2? - JavaWorld October 1999
What's new in Java Servlet API 2.2? - JavaWorld October 1999
 
Enhance your Java application with Java Native Interface (JNI)
Enhance your Java application with Java Native Interface (JNI)
 
Performance books put to the test - JavaWorld March 2001
Performance books put to the test - JavaWorld March 2001
 
Embed Java code into your native apps - JavaWorld May 2001
Embed Java code into your native apps - JavaWorld May 2001
 
Superior app management with JMX - JavaWorld June
Integrate JMX, a reusable configuration framework, with your JSPs
 
Will Big Blue eclipse the Java tools market?
Will Big Blue eclipse the Java tools market?
 
Java scripting languages: Which is right for you?
Java scripting languages: Which is right for you?
 
Eclipse casts shadows
Eclipse casts shadows
 
Remote-control Java
Remote-control Java
 
Bridge the gap between Java and Twain
Bridge the gap between Java and Twain
 
Profiling CPU usage from within a Java application
Profiling CPU usage from within a Java application
 
Create client-side user interfaces in HTML, Part 2
Create client-side user interfaces in HTML, Part 2
 
To my mind, of few interest
To my mind, of few interest
 
Using Java Classes in Windows Batch Files
Using Java Classes in Windows Batch Files - a simple approach for system admin Although Java is an ideal language for implementing rich GUI applications, it is equally well-suited for the development of small console-based programs that, in turn, are p
 
Developing Swing Components Using Simulators
Developing Swing Components Using Simulators In this article, you'll learn about a technique for developing encapsulated components. You'll also learn about how to test graphical parts of your application that JUnit can't, such as layouts and other visua
 
Welcome to the Tonic Look & Feel.
Welcome to the Tonic Look & Feel. This pluggable look and feel is a free substitute for the default native look and feel of Swing, 'Metal', distributed under the GNU Lesser General Public License.
 
Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.