Tutorial search

Tutorials
Stuff
Affiliates

Cool Stuff




The fastest way to master the basics of Adobe Photoshop

Click here to find out how

Photoshop Templates


Featured Photoshop templates - professional ready to use designs for your next project.

View all templates

Center a Dialog Box, Frame or Window in Java - Java tutorial


This tutorial looks at how to center a dialog box, frame, or window in Java. You will also learn how to extend the JDialog class to create a self-centering dialog box.
Category: Java tutorials > Swing - Difficulty:


More cool Java tutorials:



Introduction to Swing
Introduction to Swing
This introduction to using Swing in Java will walk you through the basics of Swing. This covers topics of how to create a window, add controls, position the controls, and handle events from the controls.
Category: Java tutorials > Swing - Difficulty:
File upload to BLOB field and display attachment dialog box
File upload to BLOB field and display attachment dialog box
This article discusses the BLOB feature in the database and the author shows on how any file can be stored in the BLOB field of Oracle and can be displayed as an save as attachment dialog box. Very good article for the beginners and intermediate developers who wants to add the file upload and "save As" attachment feature in their struts powered web application.
Category: Java tutorials > Database - Difficulty:
Balls Applet
Balls Applet
The code demonstrates how to use threads in applets. This example creates 9 Canvases (threads) each having a ball moving inside the canvas boundaries. The speed, size and color of balls can be customized in the code
Category: Java tutorials > Applets - Difficulty:
Protecting JavaBeans in JSF applications
Protecting JavaBeans in JSF applications
Get a demonstration on how to use Acegi to secure access to JavaBeans in JavaServer Faces (JSF) applications. You can configure secure beans in a variety of ways, including using Acegi-secured inversion-of-control (IOC) beans directly in your JSF tags.
Category: Java tutorials > Javabeans - Difficulty:
Long-term persistence: Serialize JavaBean component state to XML
Long-term persistence: Serialize JavaBean component state to XML
The ability to save the JavaBean component state for long-term persistence within an XML document has been a topic of much discussion with Java developers in the past few years. This feature has finally been adopted in the 1.4 version of J2SE. This article shows you how to use the new XMLEncoder and XMLDecoder classes, bypassing serialization and allowing you to generate fully initialized bean instances.
Category: Java tutorials > XML - Difficulty: