Home Java Java-tips GUI-appearance Tutorials in this section

Ask Questions?

View Latest Questions


Tutorials in the section

FontDemo example  
This program displays the available fonts and how they look in different sizes and styles..

Look and Feel  
How to use the default Java cross-platform Look & Feel..

Fonts - Centering Text  
To find the size of a font or of a particular String..

The java.awt.FontMetrics class is used to determine the measurements of characters and strings..

The java.awt.Font class is used to create Font objects to set the font for drawing text, labels, text fields, buttons, etc..

Border Example  
Create a panel with 10 pixels of space around it..

How to create Bordets?.