Home ] [ Next ]

Scratchbook for Java Development Kit

To submit comments or suggestions about the scratchbook, please send mail to the editor.
The packages covered in these pages:
JDK: freemarker.template.TemplateModel
JDK: java.applet.*
JDK: java.awt.*
JDK: java.awt.event.*
JDK: java.beans.*
JDK: java.io.*
JDK: java.lang.*
JDK: java.lang.reflect.*
JDK: java.net.*
JDK: java.rmi.*
JDK: java.security.*
JDK: java.sql.*
JDK: java.text.*
JDK: java.util.*
JDK: javax.mail.*
JDK: javax.naming.*
JDK: javax.servlet.*
JDK: javax.swing.*
JDK: javax.swing.table.*
JDK: javax.swing.text.*
JDK: javax.swing.tree.*
JDK: netscape.javascript.*
JDK: netscape.security.*
JDK: sun.misc.*
JDK: TOPLink.Public.Expressions.*
 freemarker.template.TemplateModel
How to auto-translate an object to a TemplateModel,
 java.applet.*
How lauch an application from the browser in a frame?,
How to load a document from an applet?,
The best way to avoid Applet trapping?,
 java.awt.*
Converting a String to a Color.,
How implement Cursors + Swing Cursors?,
Using the FileDialog component.,
Changing Font of Component,
Centering a graphics String,
How to add a Frame Icon to a frame?,
How to center a frame?,
Using innerclasses - excellent for GUI purposes,
Double Buffer Panel against flickering.,
How to read size and resize image without graphics?,
How to use LayoutManager as innerclass as template?,
Using the MenuShortcut in menus.,
How to create a ScrollPane?,
 java.awt.event.*
Using an Actionadapter to control the events on a component.,
KeyCode of the KeyEvent numbers,
Using a Keyadapter to control the keyevents on a component,
Event numbers,
Using a Windowsadapter to control the events on a window,
 java.beans.*
How to create a bean editor?,
 java.io.*
How get a filename without extensions,
How to recursivly do a directory list?,
How to use FilenameFilter?,
Using of a FileWriter, spefically to append to files,
How to read/write JPG files using stream?,
Using ObjectOutputStream and ObjectInputStream.,
How to send binary data over a stream with OutputStream?,
How to create Inputstreams with PipedStreams?,
Using PipedOutputStream and PipedInputStream.,
Using the PrinterWriter,
How to use StreamTokenizer class?,
 java.lang.*
Converting a String to int/double/float,
How to add a innerclass to a static method, windowadapter?,
How to reference to outer class from innerclass?,
How to replace part of a string based on a ref. tag?,
How to synchronize a piece of code?,
Implementing interfaces, how?,
Implementing own exceptions.,
Option parsing for the main() method?,
Using Proxy setting in a java application?,
How to execute a script with Runtime and catch the output of Process?,
How to read from an System.in Stream?,
 java.lang.reflect.*
How to invoke bean properties from Method?,
How to translate ResultSets to Objects with reflection?,
How to use java.lang.reflect.Field for Applet params?,
How to invoke a java.lang.reflect.Method?,
How to use invoke() of Method with parameters?,
 java.net.*
How to access a URL with https://?,
Using (Http)URLConnection.setRequestProperty,
How to create URLDecoder (opposit of java.net.URLEncoder),
 java.rmi.*
Skeloton for an RMI application,
How to start RMIRegistry programmatically,
 java.security.*
How to add a policy at Runtime?,
How to encrypt passwords?,
 java.sql.*
A JdbcAdapter Bean,
Signing applets for JDBC-ODBC use locally with java.sql.*,
Using ODBC-JDBC with java.sql.*,
What does a JDBC URL look like when I want to connect to a remote database?,
How to make Oracle Stored Procedure calls (syntax)?,
How to retrieve and handle a cursor from Oracle database?,
 java.text.*
Creating your own DataFormate for formatting and parsing Date Strings?,
Time Format Syntax.,
How to create leading zeros with DecimalFormat?,
How to apply patterns with NumberFormats?,
Parsing a string containing a date in format 'dd-mm-yy' to a Date,
Parsing a string containing a date in format 'dd-mm-yy' to a Date,
Using Date formatting with java.text.SimpleDateFormat,
 java.util.*
How to calculate the difference of an attribute between two dates?,
How to clone/copy a Gregorian Calendar?,
How to round of a Calendar to a Calendar unit?,
How to use the Calander to add and subtract dates?,
Creating and implementing own events,
Lookup table with Hashtable and Enumeration.,
How to use Locale(s) with dateformatting,
Adding own properties to system properties routine,
How to use a PropertyRescourceBundle?,
How to use property resource bundles in applets?,
What TimeZones are there and how to use them?,
 javax.mail.*
Sending mail with attachment with javamail,
 javax.naming.*
How do I connect to a Directory Server with the JNDI package?,
How to avoid NoInitalContextExceptoins?,
 javax.servlet.*
How change name of file when downloading with a servlet?,
How to load properties in a servlet on a Netscape machine?,
How to redirect servlet calls?,
How to send binary data to the client with HttpServlet?,
What am I sending to my servlet?,
 javax.swing.*
How create resource driven ComboBox?,
How make a Quick setup for ComboBoxModel?,
How to implement AbstractComboBoxModel?,
How to setup a custom ComboBox cellrenderer?,
How to keep a frame/dialog always on top?,
How to select multiple files with JFileChooser?,
How to setup a debug frame?,
How to create a Joption pane with beans?,
How to use a progress bar?,
How to align the scrollpane viewport to the left when resizing viewport f.e. expanding Jtree?,
How to scroll a panel (as a viewport)?,
How let Jtable scroll on the column rather than pixels?,
How to create a Jtable scrollpane that scolls with columns as units?,
How to find a selected object in a swing Tree?,
How to create a splash screen in Swing,
How select a row in a table from keyboard by enter?,
Watermark/transparency in swing?,
How to change System colors of swing?,
 javax.swing.table.*
Creating a quick setup for AbstractTableModel,
How to use tables and tablecolumns?,
How to user TableCellRenderer?,
How to adjust the size of a column?,
How to resize a Table to the maximun width of a value in the Table?,
 javax.swing.text.*
How to filter href's from a html file?,
How to append text into JEditorPane with insertString and AttributeSet?,
How to use JEditorPane as a browser?,
How to use a PlainDocument for Date entry?,
How to use PlainDocument for inputmasking?,
 javax.swing.tree.*
How to create a object treemodel and treenodes?,
How to expand a whole tree programmatically?,
How to programmatically select nodes?,
 netscape.javascript.*
How to read preferences from the Netscape browser?,
 netscape.security.*
How to set Netscape security features to connect to other than localhost?,
 sun.misc.*
How to convert from Base64 encoding to ASCII,
 TOPLink.Public.Expressions.*
How create a TO_CHAR function in TOPLINK expressions?,
How to create a custom expression toTime?,
How to create an Event every time the session queries the database?,
How to extract Descriptor/Tabledefinition from a Project/Table file?,
How to user a ReadQuery?,


Last changed: 
1