60 Java Tips

60 Java Tips

Java SE Tips / java.awt.font

How to gather the font families that are available for use
How to draw text on a Component
How to draw a text with mixed styles on a component

Java SE Tips / java.awt.geom

How to create basic shapes in Java
How to draw a Shape using lines and curves
How to combine shapes to draw new shapes
How to apply various transformations such as translation, rotation on a shape
How to generate a Buffered Image
How to draw on a BufferedImage
How to set and get the values of pixels in a BufferedImage
How to perform various transformations on a BufferedImage

Java SE Tips / javax.swing

How to to load a document from a URL on a click of a button
How to use a JEditorPane to display the contents of a file on a web server
A game of Tic-Tac-Toe that can be played between two client applets
How to load an image and display it in an applet
How to load an audio clip and play it in an applet
Make your own Java Media Player to play media files
How to capture a screenshot
How to manipulate the Look and Feel of the applications
How to set a tool tip
How to make a tool tips appear immediately

Java SE Tips / org.xml.sax

A sample XML file
Usage of XML attributes
A sample of inline DTD definition
A sample of linked DTD definition
Creating new SAX parser to parse XML document
Accessing features of the SAX parser implementation
Parsing XML with a simple SAX document handler
Extracting attribute values from XML elements
Handling SAX errors during parsing
Resolving entities found in source XML during parsing
Using XML locator to indicate current parser position
Handling namespaces during parsing
Accessing character data (CDATA) of XML element
Configuring SAX parser factory to produce alternate parser
Enable/disable validation of input XML document via SAX parser

Java SE Tips / java.net

How to detect Proxy Settings for Internet Connection
How to retrieve the IP address of a hostname
How to retrieve the hostname of an IP Address
How to determine the IP address and hostname of the local machine
How to send a Datagram
How to receive a Datagram

Java ME Tips / MIDP

How to use mobile as a network server
Second method of using a tiled layer in mobile programming
How to implement a ticker in a mobile
An example of use of RMS for storing persistent data
How to read a resource from a JAR file
A Midlet application for GIF Animation
How to implement BitMapFont in your mobile application
A method of using differnet fonts in Java ME
How to use RGB profile on your mobile
How to work with Canvas in mobile application
How to handle keys from the keypad of your mobile device
Sending data to Servlet and getting the response
How to get memory status of mobile handset
How to implement Gauge UI component
How to retrieve system properties in a Midlet
How to print values of Midlet application properties
How to add a command to a Displayable component
How to send binary SMS message on mobile device
How to implement Zoom in and Zoom out
How to control volume of the mobile device

New Categories in Java Applications Section

Obfuscator
Profiler

New Categories in Java Libraries Section

HTML Parser

Return to Main Page

Comments

Add Comment




On This Site

  • About this site
  • Main Page
  • Most Recent Comments
  • Complete Article List
  • Sponsors

Search This Site


Syndicate this blog site

Powered by BlogEasy


Free Blog Hosting