70 Java Tips

70 Java Tips

Java SE Tips / java.lang

How to use getenv() in Java SE 5.0
Introduction to Autoboxing
Using the VarArgs Language Feature
The Enhanced For Loop
Introduction to Autoboxing
Covariant Parameter Types

Java SE Tips / java.applet

How to play a sound file in an Applet
How to load and draw an Image in an Applet

Java SE Tips / java.awt

How to exit an application when a Frame is closed
How to hide a Frame when its close button has been clicked
How to get all created Frames in your application
How to remove the title bar of a Frame
How to change the boundaries for a maximized Frame
How to change the type of Cursor for a Component
How to retrieve the size of the Screen in Java

Java SE Tips / org.w3c.dom

Creating new DOM-builder to read XML documents
Reading a DOM tree from XML document
Creating a new DOM tree
Accessing attributes of an element
Accessing different types of DOM tree nodes
Saving a DOM tree to XML file javax.xml.parsers (JAXP)
Configuring DOM-builder factory to produce alternate implementation
Enable/disable validation of input XML document via DOM-builder
Enable/disable ignoring of element-content whitespaces in source XML document
Enable/disable ignoring comments
How to get reference to DocumentTraversal
How to traverse the DOM tree as a list
How to traverse the DOM tree using TreeWalker
Custom complex filters for selecting nodes
How to get reference to DocumentRange
Using ranges in DOM tree
How you access elements from document with namespaces
How to create new DOM tree with fully qualified element names

Java SE Tips / java.util

From Runtime.exec() to ProcessBuilder

Java SE Tips / java.nio

How to create a file lock on a file
How to copy one file to another through channel
How to write to a channel with a ByteBuffer
How to read from a channel with a ByteBuffer
How to create a memory-mapped file
How to convert interchangeably between a ByteBuffer and a byte array
How to put bytes into a ByteBuffer
How to get bytes from a ByteBuffer
How to create a ByteBuffer

Java ME Tips / MIDP

Connecting to databases like Mysql, SQL Server or Oracle on J2ME devices
How to implement a sprite class in J2ME
Detecting collision with sprites in J2ME
How to use a tiled layer in J2ME
Sending e-mail from a mobile device
How to display Calendar in mobile device
How to read MIDLET attributes at runtime
How to write a Basic MIDLET
Simple demo of using timers

Other API Tips / JDBC

Impact of increase in FetchSize on JDBC

Other API Tips / JExcel

How do I output an Excel file from a Servlet
How do I read an Excel file uploaded through a Web
How can I copy a worksheet in one workbook to a new worksheet in another workbook
How do I get rid of OutOfMemory exceptions
Converting Excel documents to CSV files
Reading data from Excel documents at runtime
How to create an Excel file

New Categories in Java Applications Section

Image Viewer
Version Control System
Forum
Photo Album Software
Blogger
Web Crawler

New Categories in Java Libraries Section

Web Framework
J2EE Framework
Build Systems
Web Browser

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