Colored Box - Online Code


This is a simple Box which shows a different pattern of colours in a Box.

Source Code

import java.awt.Color;

import java.awt.Container;

import java.awt.Graphics;

import java.awt.GridLayout;

import java.awt.Insets;

import java.awt.Polygon;

import javax.swing.BorderFactory;

import javax.swing.JCo
... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.


No comment yet. Be the first to post a comment.